Commit Graph

4025 Commits

Author SHA1 Message Date
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
4c18eb91b7 indexmap key is now a symbol 2022-02-22 01:11:58 +03:00
damirka
5586c42266 added inputerror 2022-02-21 23:01:32 +03:00
Collin Chin
266a14db13
Merge pull request #1628 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.54
Bump anyhow from 1.0.53 to 1.0.54
2022-02-21 11:01:31 -08: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
dependabot[bot]
5960e87aaf
Bump anyhow from 1.0.53 to 1.0.54
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.53 to 1.0.54.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.53...1.0.54)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 10:30:01 +00: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
Collin Chin
4ac6cbc662
Merge pull request #1621 from AleoHQ/doc-fixes
[doc] Fix some typos and move a misplaced doc comment.
2022-02-18 18:16:33 -08:00
Collin Chin
a8c4c2b36d
Merge pull request #1623 from AleoHQ/bug/1604-package-name-parsing-and-aliases-fix
[Fix] Package Name Parsing
2022-02-18 18:16:24 -08:00
Collin Chin
5f32e81008
Merge pull request #1609 from AleoHQ/abnf-pkgname-to-ident
[ABNF] Replace package names with identifiers.
2022-02-18 18:16:13 -08:00
gluax
122315db3d fix test 2022-02-18 15:37:49 -08:00
0rphon
c767907b25 removed more dead lexer code 2022-02-18 16:29:24 -07:00
gluax
be9a181ef2 rengen tests 2022-02-18 15:21:18 -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
0rphon
938f1fdbc1 removed dead code from lexer 2022-02-18 15:49:39 -07:00
gluax
5a72a8e6bf disallow 1 element tuple types 2022-02-18 14:42:01 -08:00
gluax
44a3d63b2f fix one test, pull latest changes 2022-02-18 13:10:17 -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
Alessandro Coglio
fd4dc15011 [doc] Fix some typos and move a misplaced doc comment. 2022-02-17 21:49:11 -08:00
Collin Chin
5c0d3f1e61
Merge pull request #1616 from AleoHQ/update-dependabot
Update dependabot
2022-02-17 14:42:03 -08:00
Collin Chin
c09bd9904a
Merge pull request #1607 from AleoHQ/fix-examples-parser
Fix "parse error doesn't prevent AST output"
2022-02-17 14:30:49 -08:00
collin
cff31eeece update dependabot branch target and dependencies 2022-02-17 14:21:39 -08:00
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