Alessandro Coglio
5c223460c1
[parser] Extend and update some documentation.
2023-01-13 20:12:47 -08:00
collin
d7b1b9ca56
chore(leo): bump version for new release
2022-12-12 19:31:56 -05:00
d0cd
48a1f0590b
Rename console.assert*
to assert*
. ( #2205 )
...
* Add assert statements to AST
* Add support in passes
* Add parser support
* Add tyc support
* Add support for assert statements in the remaining passes
* Fix examples, tests, and regen expectations
* Fmt
* Regen expectations
2022-12-06 21:56:48 -08:00
collin
1e01a3a686
chore(leo): bump version for new release
2022-11-30 13:40:52 -08:00
Collin Chin
3f2df5389c
use cargo workspace for dependencies ( #2195 )
2022-11-30 13:31:33 -08:00
Collin Chin
23f5828804
bump aleo v0.3.1 snarkvm v0.9.8 ( #2193 )
2022-11-30 00:49:50 -08:00
collin
f6f286ac8a
pull testnet3, regen tests
2022-11-23 02:37:57 -05:00
collin
9e28591589
pull testnet3, regen tests
2022-11-23 01:56:37 -05:00
Collin Chin
40e56f8613
Merge pull request #2100 from AleoHQ/feat/tuple
...
Supports tuples.
2022-11-22 20:49:25 -05:00
d0cd
ae329c521b
Deprecate (async) finalize statements
2022-11-15 13:18:39 -08:00
collin
44bca58821
chore(leo): bump version for new release
2022-11-14 18:56:09 -08:00
collin
49786b3d79
bump snarkvm-v0.9.7 aleo-v0.3.0
2022-11-14 18:53:32 -08:00
d0cd
d82fa641a2
Fix parser
2022-11-12 16:35:37 -08:00
d0cd
682b67e184
Fix flattening logic
2022-11-12 16:23:16 -08:00
d0cd
81d7c5c9a4
Update parser; remove async token
2022-11-12 10:17:41 -08:00
d0cd
b16926449c
Support private mode in parser and passes
2022-11-12 09:53:20 -08:00
d0cd
ca89010e59
Fix failing case
2022-11-08 15:49:47 -08:00
d0cd
f606a8b74a
Restrict tuples in parser; cleanup
2022-11-08 15:49:47 -08:00
d0cd
910d373afd
WIP support tuples on lhs of definitions
2022-11-08 15:49:47 -08:00
d0cd
a7795b72db
Add parser support for expression statements
2022-11-08 15:49:47 -08:00
d0cd
af08c4f2e5
Some cleanup
2022-11-08 15:49:47 -08:00
d0cd
678f8b02a1
Fix unit expression
2022-11-08 15:49:47 -08:00
d0cd
34fa2cb2c6
Parse empty return statement as a unit expression
2022-11-08 15:49:47 -08:00
d0cd
6789bc8aae
Add unit expressions to the AST
2022-11-08 15:49:47 -08:00
d0cd
c651da0581
wip tuples
2022-11-08 15:49:47 -08:00
Pranav Gaddamadugu
9994a0451f
wip: basic tyc for empty and singleton tuples
2022-11-08 15:49:46 -08:00
collin
dee937c040
update snarkvm v0.9.3
2022-11-07 19:01:06 -08:00
collin
6f311e7602
bump snarkvm to 0.9.1 bump aleo rev
2022-11-04 18:31:59 -07:00
Collin Chin
1c7fefac53
Merge pull request #2150 from AleoHQ/fix/tyc-for-member-access
...
Fix type checking for member access.
2022-11-04 12:33:37 -07:00
Pranav Gaddamadugu
7e70da2326
Implement check for nested import
2022-10-31 18:05:46 -07:00
d0cd
76d302dbad
Implement fix; fix span produced by parser
2022-10-31 13:14:15 -07:00
d0cd
8ae7c0da99
Fmt
2022-10-24 22:59:18 -07:00
d0cd
df01360010
Clippy
2022-10-24 22:41:10 -07:00
Collin Chin
8b9ad3811d
Merge pull request #2114 from AleoHQ/update/aleo-snarkvm
...
Update revs.
2022-10-06 14:21:02 -07:00
Collin Chin
4256167bfe
Merge pull request #2112 from AleoHQ/feat/program-scope
...
Introduces `program` scope.
2022-10-06 14:19:35 -07:00
Pranav Gaddamadugu
97b299ac8a
Update revs
2022-10-06 11:31:58 -07:00
Pranav Gaddamadugu
d7813923d2
More examples
2022-10-06 00:17:51 -07:00
Pranav Gaddamadugu
028a01efde
More fixes
2022-10-05 23:51:56 -07:00
Pranav Gaddamadugu
e15e8f05d6
Additional validation for program scope and imported files
2022-10-05 14:59:06 -07:00
Pranav Gaddamadugu
8f2a6fdb27
Support AST changes in compile passes
2022-10-05 10:38:35 -07:00
Pranav Gaddamadugu
9da6d7735f
Enable parser support for program scope
2022-10-05 09:57:16 -07:00
Pranav Gaddamadugu
80d8880292
Parser support for transition keyword
2022-10-03 08:53:44 -07:00
Pranav Gaddamadugu
62b16cfa51
Tokenize transition keyword
2022-10-03 08:16:55 -07:00
dependabot[bot]
28ed3dc320
Bump smallvec from 1.9.0 to 1.10.0
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: smallvec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 10:15:01 +00:00
Pranav Gaddamadugu
eb8366badc
Some cleanup
2022-09-30 12:19:40 -07:00
Pranav Gaddamadugu
c551179b42
Fmt
2022-09-30 11:55:42 -07:00
Pranav Gaddamadugu
f51a36aeaf
Rename in compiler
2022-09-30 11:52:06 -07:00
Pranav Gaddamadugu
0a481e543e
Parse async, require it to precede finalize
2022-09-21 13:18:36 -07:00
Pranav Gaddamadugu
0782c03bf9
Lex async token
2022-09-21 12:20:05 -07:00
Pranav Gaddamadugu
2abfe06c9d
Add async token
2022-09-21 12:19:44 -07:00