Commit Graph

254 Commits

Author SHA1 Message Date
damirka
ec1ac99f6f cleanup in parser example 2022-02-22 12:31:57 +03:00
damirka
239f06b3af removes leo_input mentions, cleanup dep 2022-02-22 03:10:50 +03:00
damirka
aa61840eb6 Merge branch 'testnet3' into leo-parser-inputs 2022-02-22 02:59:54 +03:00
damirka
f02a972fb9 removes state parsing 2022-02-22 02:54:02 +03:00
damirka
0c22d631e8 adds tests, removes legacy code 2022-02-22 02:18:33 +03:00
damirka
5586c42266 added inputerror 2022-02-21 23:01:32 +03:00
Collin Chin
7fb6216a13
Merge pull request #1625 from AleoHQ/bug/1620-malformed-block-comments
[Fix] malformed block comments
2022-02-21 11:01:21 -08: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
Collin Chin
b3ae194ef7
Merge pull request #1624 from AleoHQ/bug/1405-reject-one-element-tuples
[Fix] Disallow 1 element tuple types and variables
2022-02-18 18:16:42 -08:00
gluax
3515fa051d fix not needing to close block comments at end of file 2022-02-18 15:18:25 -08:00
gluax
8fd55656ee fix other parens cases 2022-02-18 15:04:38 -08:00
gluax
63f57649de Merge branch 'testnet3' of github.com:AleoHQ/leo into bug/1604-package-name-parsing-and-aliases-fix 2022-02-18 13:08:05 -08:00
gluax
d769cc634d working on adding a parse import namespace 2022-02-18 13:07:49 -08:00
gluax
a576709124 package names are now idents but only certain characters 2022-02-18 12:30:11 -08:00
Mazdak Farrokhzad
1257f0d55f parser binary: fail on syntax error 2022-02-16 18:14:53 +01: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
Collin Chin
554e972503
Merge pull request #1593 from AleoHQ/parser-benches
Improved Parser Benchmarks
2022-02-14 14:27:44 -05: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
0rphon
4130516ff0 cleaned up benchmark code, added massive.leo benchmark 2022-02-08 18:26:24 -07:00
0rphon
ee639782e2 Merge branch 'testnet2' into parser-benches 2022-02-08 17:51:59 -07:00
0rphon
37b96acc24 Update mod.rs 2022-02-08 17:40:03 -07: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
gluax
918cc845c5 add 5 benchmarks of small, medium and large sizes 2022-02-02 10:44:54 -08: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