Commit Graph

236 Commits

Author SHA1 Message Date
damirka
5586c42266 added inputerror 2022-02-21 23:01:32 +03:00
damirka
e439a2fdff added additional argument to examples 2022-02-21 21:52:12 +03:00
damirka
7a29c8ba6d cleanup, serializers 2022-02-21 21:36:46 +03:00
damirka
c90b8de590 pre-review fixes 2022-02-21 20:42:00 +03:00
damirka
b666a24aa3 cleanup, split into files 2022-02-16 16:56:46 +03:00
damirka
0878e4f85f single parser, multi purpose 2022-02-15 20:54:00 +03:00
damirka
3f6fc9ec76 added a Context trait 2022-02-14 17:33:08 +03:00
damirka
8b2a7bd8bd finalized input parsing, got a working copy 2022-02-14 16:24:15 +03:00
damirka
5b4ac6b509 stashing another set of dev changes 2022-02-11 18:53:03 +03:00
damirka
466c41809c Merge branch 'testnet2' into leo-parser-inputs 2022-02-09 17:13:11 +03:00
collin
d343f487ad temporarily remove parser import tests 2022-02-08 13:18:48 -05:00
damirka
aa5af63c28 got input parser working, stashing changes 2022-02-07 18:10:05 +03:00
damirka
5f40bb3647 stashing dev changes 2022-02-07 15:35:28 +03:00
Mazdak Farrokhzad
effc637023 imports: adjust parser 2022-02-02 14:44:24 +01:00
gluax
57bc95879d pull upstream testnet2 resolve conflicts 2022-02-01 13:30:03 -08:00
Mazdak Farrokhzad
d6d23f938b cherry pick ast-docs commit 2022-02-01 10:59:05 -08:00
gluax
437e06d0d3 make some changes to semantics of function names 2022-01-31 14:13:15 -08:00
gluax
e8ffe7ff9d merge upstream changes from ast and staging 2022-01-28 15:06:00 -08:00
collin
eca7a4ea53 reorder dependencies 2022-01-27 12:57:52 -08:00
gluax
daafe940c9 unimplemented to unreachable 2022-01-26 11:49:51 -08:00
gluax
06a6fd9598 unimplemented to unreachable 2022-01-26 11:45:47 -08:00
gluax
0a525fc04f clean up commented out code 2022-01-21 12:44:41 -08:00
gluax
3593529c4d migrate parser 2022-01-21 12:32:09 -08:00
gluax
ea419a7891 migrate spans crate, which involves rust 2021 ed, and dep updates 2022-01-21 12:04:37 -08:00
Pranav Gaddamadugu
ffae3b39ff Fixed JSON order bug in AST on removal of values 2021-09-29 07:56:28 -07:00
Pranav Gaddamadugu
2c5f7f83a4 Updated parser tests 2021-09-28 17:42:31 -07:00
Pranav Gaddamadugu
696de12e71 Updated serialization expectations for parser 2021-09-28 17:22:00 -07:00
Pranav Gaddamadugu
94498179db Added feature to serde_json, new expected ASTs 2021-09-24 16:34:57 -07:00
Pranav Gaddamadugu
4514dbb390 Change output path to be compatible with CI output 2021-09-22 15:55:38 -07:00
Pranav Gaddamadugu
2edb794c8b Passing no-span serialization tests in parser 2021-09-22 11:54:58 -07:00
Pranav Gaddamadugu
28d6aeb47d Reorganized parser/tests and included new test for generating ASTs without spans 2021-09-22 10:41:47 -07:00
Pranav Gaddamadugu
73ff1d85e0 Added custom serialization for spans in tuple-like enum variants; changed expected output in serialization test 2021-09-21 18:28:50 -07:00
Alessandro Coglio
a5f74195cf
Merge pull request #1333 from AleoHQ/array-len-function
[Feature] Adds .len() postfix to arrays
2021-09-15 10:10:32 -07:00
damirka
4f41f09ef2 Merge branch 'master' into array-len-function 2021-09-13 14:26:38 +03:00
damirka
158576f8f5 changed length() to len() 2021-09-10 16:55:32 +03:00
damirka
093517109b renaming, now .length() 2021-09-10 16:11:55 +03:00
gluaxspeed
64e88404d2 prelude stuff auto included 2021-09-10 05:55:07 -07:00
damirka
2942bf85fe staging commit for the sizeof operator 2021-09-07 19:33:02 +03:00
gluaxspeed
8a8b5ab757 resolve merge conflicts 2021-09-07 02:59:35 -07:00
gluax
81271c918f
Merge pull request #1327 from AleoHQ/abnf-ast-changes
[ABNF] CircuitOrAlias changed to Identifier
2021-09-06 22:23:52 -07:00
damirka
857ab9a2b6 change CircuitOrAlias to Identifier 2021-09-06 14:10:06 +03:00
gluaxspeed
a1f3108512 Merge branch 'master' of github.com:AleoHQ/leo into bug/shadowing-fixes 2021-09-06 00:07:44 -07:00
damirka
9951627c8c pulling parser changes from prev branch 2021-08-31 19:18:31 +03:00
gluaxspeed
3b26e61050 refactor global consts should no longer allow shadowing 2021-08-27 11:42:20 -07:00
gluaxspeed
1628e19658 alias resolution done during type inference 2021-08-24 22:58:59 -07:00
gluaxspeed
1576f776f3 resolve master conflicts 2021-08-24 03:00:08 -07:00
gluaxspeed
4d89d122d5 turn back to identifiers, looked into inlining imports in asg 2021-08-24 02:39:09 -07:00
gluaxspeed
93509bf5c1 alias node type 2021-08-19 09:16:50 -07:00
gluaxspeed
e90228b295 type aliases 2021-08-19 06:04:44 -07:00
gluaxspeed
4fc6c5f586 core function imports 2021-08-18 18:52:56 -07:00