Commit Graph

500 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
cc121171b3 chore(leo): bump version for new release 2024-11-19 16:06:21 -08:00
Michael Benfield
b66db0329e Parse error on identifiers that are too long.
SnarkVM requires that identifiers fit in a field
element.
2024-11-06 08:32:26 -08:00
Michael Benfield
4afc757216 Update MSRV in all the other crates to match. 2024-11-04 13:24:00 -08:00
Pranav Gaddamadugu
94dab70da8 Update deps 2024-10-23 13:30:50 -07:00
Pranav Gaddamadugu
fa0b3ffff7 Clean up docs workflow 2024-10-22 18:12:22 -07:00
Michael Benfield
6694e058c4 Switch to TOML for tests instead of YAML. 2024-10-21 16:08:46 -07:00
Michael Benfield
a55dfe29e8 Clean up dependencies.
Remove unused deps. Use workspace deps where appropriate.
2024-10-10 12:56:17 -07:00
Michael Benfield
5a0f39cd9f hex, octal, and binary literals for integers.
Note that they can't be used on the command line since SnarkVM
does the parsing there.
2024-10-10 08:26:58 -07:00
Michael Benfield
9ea9aeb9c8 Require comma separators (and nothing else) between struct members.
Fixes #28377, #28379
2024-10-09 14:47:40 -07:00
Pranav Gaddamadugu
174dae47db Update rustfmt.toml to latest nightly and apply changes 2024-10-01 18:19:39 -07:00
Pranav Gaddamadugu
d746c427cc chore(leo): bump version for new release 2024-09-19 08:00:35 +08:00
Pranav Gaddamadugu
82eba55f8d chore(leo): bump version for new release 2024-09-04 15:18:01 -07:00
Pranav Gaddamadugu
7dfecd41b1 Update LicenseHeader and Cargo metadata 2024-09-04 11:48:02 -07:00
Alessandro Coglio
5e1d3476ba Clippy fix. 2024-08-13 15:28:11 -07:00
Alessandro Coglio
93691bdb22 Update and improve some parser documentation.
Also make a couple of minor code layout changes to order tokens in a clearer
way.
2024-08-13 15:09:28 -07:00
Pranav Gaddamadugu
acb7b61feb chore(leo): bump version for new release 2024-08-07 01:10:09 -04:00
Alessandro Coglio
f72e4c10b5 Flag a TODO as discussed on Slack. 2024-07-11 10:00:10 -07:00
Alessandro Coglio
a0ab1524e6 Fix some doc. 2024-07-11 09:31:11 -07:00
Alessandro Coglio
9ce7dab0ed Clarify ABNF vs. lexer/parser annotations.
THis is only a documentation change.
2024-07-10 08:59:27 -07:00
Pranav Gaddamadugu
140a04072d chore(leo): bump version for new release 2024-07-08 13:53:16 -07:00
evan-schott
edb3c8ea16
Merge pull request #28198 from ProvableHQ/fix/parser-error-data
Fix expected list in parser error.
2024-07-08 11:41:36 -07:00
Pranav Gaddamadugu
f22177e2c5 Set defaults 2024-07-08 09:30:10 -07:00
Alessandro Coglio
2b9ba0becf Fix expected list in parser error.
This was missing a few alternatives.
2024-07-05 08:36:57 -07:00
Alessandro Coglio
5c2ba3e107 Fix and improve some doc. 2024-07-03 09:02:14 -07:00
dependabot[bot]
e6c6541d70
Bump lazy_static from 1.4.0 to 1.5.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: lazy_static
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 10:36:38 +00:00
Alessandro Coglio
93eb5bdf4d Improve some doc and layout.
This changes no functionality.

Clarify relation between tokens in the implementation and tokens in the ABNF
grammar.

Group and characterize certain tokens more appropriately.
2024-06-20 08:27:24 -07:00
Pranav Gaddamadugu
2cc2177158 WIP 2024-05-28 06:41:53 -07:00
Pranav Gaddamadugu
e4e228c419 Merge branch 'mainnet' into update/from-testnet3 2024-05-14 14:47:33 -07:00
Pranav Gaddamadugu
11b5502eac Merge branch 'testnet3' into update/from-testnet3 2024-05-14 13:39:40 -07:00
Pranav Gaddamadugu
100aca0938 Cleanup 2024-05-14 10:00:23 -07:00
Pranav Gaddamadugu
f29bd71185 Make compiler generic over Network 2024-05-14 09:49:03 -07:00
Pranav Gaddamadugu
65afb54a5b chore(leo): bump version for new release 2024-05-13 13:36:45 -07:00
Pranav Gaddamadugu
c378e090d7 Merge branch 'mainnet' into update/from-testnet3 2024-05-13 10:10:31 -07:00
Pranav Gaddamadugu
d27ba5fa31 Merge branch 'testnet3' into update/from-testnet3 2024-04-30 13:50:06 -04:00
evan-schott
b85ace8b27 port snarkVM test 2024-04-29 14:36:46 -07:00
evan-schott
07a6c84100 fixes 2024-04-29 14:11:42 -07:00
evan-schott
760fc3cdba regen 2024-04-23 14:24:08 -07:00
evan-schott
7f03816918 fmt 2024-04-23 14:19:28 -07:00
evan-schott
5a060a4254 support for network.id 2024-04-22 18:34:31 -07:00
evan-schott
3b3d4b4c26 add tests 2024-04-22 18:33:28 -07:00
evan-schott
dda608f484 Add support for program address literals (ex: hello.aleo) & self.address 2024-04-22 18:18:48 -07:00
evan-schott
30cbed0e98 fixes 2024-04-17 17:25:45 -07:00
evan-schott
e9c996f774 Refactor: all structs parsed as having None program 2024-04-15 18:32:12 -07:00
evan-schott
17c35d11af Refactor all tests to get rid of finalize syntax 2024-04-10 15:56:30 -07:00
evan-schott
915ced57bd Switch explicit future typing syntax to match rust 2024-04-10 11:48:41 -07:00
evan-schott
e47ddb458e clippy 2024-04-09 11:52:19 -07:00
evan-schott
1ac7f7f67c fmt 2024-04-09 11:43:03 -07:00
evan-schott
bf95c4966a parsing ambiguous explicit future types. Ex: Future<u32, Future<u32>> 2024-04-09 11:38:41 -07:00
evan-schott
a2fce7a968 misc revisions 2024-04-09 11:34:16 -07:00
evan-schott
228a0ae9b7 Transform method calls into associated functions 2024-04-08 11:17:11 -07:00