Commit Graph

3945 Commits

Author SHA1 Message Date
Collin Chin
5e466b7bf5
Merge pull request #1614 from AleoHQ/migrate-ast-pass-canonicalization
Migrate ast pass canonicalization
2022-02-17 14:18:09 -08:00
Collin Chin
2abb736b43
Update ast/src/reducer/mod.rs 2022-02-17 13:31:10 -08:00
gluax
89569e658e updated and better file descirptions 2022-02-17 12:54:19 -08:00
Alessandro Coglio
23ddd85088 [ABNF] Replace package names with identifiers.
This is as discussed at today's sync.

The rule for package names is gone (but it will be re-introduced later to define
formally the format of certain TOML strings, not as part of the grammar of Leo
code, but as a separate grammar component).

Uses of package names in import declarations have been replaced with uses of
identifiers.

The changes to the grammar are fairly contained, as should be the changes to the
parser. Import resolution will have to translate between dashes and underscores.
2022-02-16 22:41:35 -08:00
0rphon
d46a041895 save progress before denver 2022-02-16 11:33:52 -08:00
gluax
ec11c2adaf fix leo clippy 2022-02-16 10:22:15 -08:00
gluax
305ef16883 clippy fix 2022-02-16 10:17:10 -08:00
collin
8241d670a5 set dependabot target branch to testnet2 2022-02-16 10:12:43 -08:00
gluax
1377d60f07 test canonicalization 2022-02-16 10:10:26 -08:00
gluax
2ea3709441 fix compiler panicing 2022-02-16 10:00:41 -08:00
gluax
213f426c04 ast-passes migrated + builds 2022-02-16 09:49:45 -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
0rphon
136a441fc6 removed redundant code from group parsing 2022-02-14 18:39:22 -08:00
0rphon
0d6c258068 save progress 2022-02-14 17:25:57 -08: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
0rphon
0e82808c7d
Merge pull request #1600 from AleoHQ/fix-1588
fix character selection during `unexpected_token` error handling
2022-02-09 10:24:46 -08: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 Chin
b0804d0e49
Merge pull request #1597 from AleoHQ/feature/stabilize-compiler
Feature/stabilize compiler
2022-02-08 13:58:46 -05:00
collin
d343f487ad temporarily remove parser import tests 2022-02-08 13:18:48 -05:00
collin
341af23af0 all tests pass except parser 2022-02-07 17:30:41 -05:00
collin
9cd774d38f comment out unused wasm ci 2022-02-07 17:16:52 -05:00
collin
3892bd379f comment out unused ci's 2022-02-07 12:00:42 -05:00
collin
815bddce94 cargo clippy 2022-02-07 11:58:41 -05:00
collin
b31071777b stabilize leo-package 2022-02-07 11:37:57 -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
collin
316c2d2592 compiler module builds 2022-02-03 11:59:42 -08:00
collin
fa2becfb1d update snarkvm rev + cargo update 2022-02-02 14:58:01 -08:00
Collin Chin
b78d321bc0
Merge pull request #1592 from AleoHQ/migrate-grammar
Migrate grammar
2022-02-02 14:52:03 -08:00
Collin Chin
9febc01c19
Merge pull request #1591 from AleoHQ/import-tree
[WIP] Refactor / Simplify imports in the AST
2022-02-02 14:51:23 -08:00
gluax
bc01380fee merge upstream chagnes from staging 2022-02-02 11:23:05 -08:00
gluax
918cc845c5 add 5 benchmarks of small, medium and large sizes 2022-02-02 10:44:54 -08:00
gluax
6cd6082100 mirate grammar from staging 2022-02-02 10:07:27 -08:00
Mazdak Farrokhzad
effc637023 imports: adjust parser 2022-02-02 14:44:24 +01:00
Mazdak Farrokhzad
5a0570cf4a imports: adjust reducers 2022-02-02 13:33:32 +01:00
Mazdak Farrokhzad
567def9e2f imports: refactor AST repr 2022-02-02 00:20:29 +01:00
Collin Chin
5d3d93efbc
Merge pull request #1580 from AleoHQ/migrate-leo-parser
Migrate leo parser
2022-02-01 14:10:52 -08:00
gluax
57bc95879d pull upstream testnet2 resolve conflicts 2022-02-01 13:30:03 -08:00
Collin Chin
ea191ba734
Merge pull request #1587 from AleoHQ/docs/ast
Docs/ast
2022-02-01 12:59:59 -08:00
collin
056905c5d0 apply suggestions from @acoglio 2022-02-01 11:23:36 -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