-
-
Save atg/c86771384d40fabbe105e830d128fe5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { kind: 'expr.use', | |
val: | |
{ moduleName: { kind: 'ident', val: 'sqlite3' }, | |
todo_bindings: | |
[ [ { kind: 'ident', val: 'a' }, { kind: 'ident', val: 'b' } ], | |
[ { kind: 'ident', val: 'c' }, { kind: 'ident', val: 'd' } ], | |
[ { kind: 'ident', val: 'e' }, { kind: 'ident', val: 'f' } ] ] } }, | |
{ kind: 'line', | |
val: | |
[ { kind: 'ident', val: 'type' }, | |
{ kind: 'ident', val: 'Dog' }, | |
{ kind: 'punct', val: '=' }, | |
{ kind: 'block', | |
val: [ { kind: 'unlexed', val: '\n name: String\n' } ] } ] }, | |
{ kind: 'line', | |
val: | |
[ { kind: 'ident', val: 'fn' }, | |
{ kind: 'ident', val: 'range' }, | |
{ kind: 'group', val: [ { kind: 'unlexed', val: 'i, j' } ] }, | |
{ kind: 'punct', val: '-' }, | |
{ kind: 'punct', val: '>' }, | |
{ kind: 'ident', val: 'yields' }, | |
{ kind: 'ident', val: 'Int' }, | |
{ kind: 'block', | |
val: | |
[ { kind: 'unlexed', val: '\n i = 0\n while i < j ' }, | |
{ kind: 'block', | |
val: [ { kind: 'unlexed', val: '\n yield i\n i++\n ' } ] }, | |
{ kind: 'unlexed', val: '\n' } ] } ] }, | |
{ kind: 'line', | |
val: | |
[ { kind: 'ident', val: 'fn' }, | |
{ kind: 'ident', val: 'main' }, | |
{ kind: 'group', val: [] }, | |
{ kind: 'block', | |
val: | |
[ { kind: 'unlexed', val: '\n for x in range' }, | |
{ kind: 'group', val: [ { kind: 'unlexed', val: '0, 10' } ] }, | |
{ kind: 'unlexed', val: ' ' }, | |
{ kind: 'block', | |
val: | |
[ { kind: 'unlexed', val: '\n print' }, | |
{ kind: 'group', | |
val: [ { kind: 'unlexed', val: '"Hello world!"' } ] }, | |
{ kind: 'unlexed', val: '\n ' } ] }, | |
{ kind: 'unlexed', val: '\n' } ] } ] } ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment