evan-schott
0a2ea03701
rebase
2023-10-04 13:00:52 -07:00
evan-schott
eb606c90a0
all test expectations change since AST's are different now (added consts
to ProgramScope)
2023-10-04 12:54:31 -07:00
Pranav Gaddamadugu
f5e15d57e4
Regen expecttions
2023-09-28 23:37:17 -04:00
Pranav Gaddamadugu
964c9617f9
Fix and regen expectations
2023-08-30 14:23:46 -04:00
Pranav Gaddamadugu
57c3a15688
Regen expectations
2023-08-30 14:05:46 -04:00
evan-schott
550f43b039
Revisions (underscore to execute test, type checker error msg, spurious type error fix, revised tuple indexing test)
2023-08-25 09:49:53 -07:00
evan-schott
439d2b29de
loop unrolling compatible with underscores
2023-08-24 15:07:00 -07:00
evan-schott
c345dbb309
Add support for underscores in literals
2023-08-22 11:10:54 -07:00
Pranav Gaddamadugu
440cced9d8
Cleanup
2023-08-17 17:49:29 -04:00
d0cd
7cd6e757bf
Merge pull request #2522 from AleoHQ/design/node-id
...
[Design] Add `id` to AST nodes.
2023-08-17 00:26:52 -04:00
Pranav Gaddamadugu
036776be1b
Fix parser
2023-08-09 20:26:48 -04:00
Pranav Gaddamadugu
65ba316c4f
Regen expectations
2023-08-09 17:38:33 -04:00
Collin Chin
b690a62676
impl Mapping::contains, Mapping::remove ( #2436 )
...
* impl Mapping::contains, Mapping::remove
* regen expectations
* Update compiler/passes/src/type_checking/checker.rs
Co-authored-by: Alessandro Coglio <coglio@kestrel.edu>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Alessandro Coglio <coglio@kestrel.edu>
2023-06-29 17:04:55 -07:00
Pranav Gaddamadugu
5699352ce6
Add tests and regen expectations
2023-06-23 21:03:32 -04:00
Pranav Gaddamadugu
4bbdf63da9
Add tests and regen expectations
2023-06-23 20:36:16 -04:00
d0cd
07d26ea43f
[Feature] Casting via the as
operator. ( #2426 )
...
* Revert "Revert WIP"
This reverts commit 5cce8b4a0e
.
* Update tyc
* Add parse, compile, and execute tests
* Regen expectations
2023-06-23 17:09:15 -07:00
Collin Chin
d83c4be330
Implement Mapping::get_or_use ( #2413 )
...
* get_or_init -> get_or_use
* use mapping get_or_use in examples
* fix codegen for Mapping::get_or_use
* fix tests for Mapping::get_or_use
* fix warnings, update snarvm rev
* bump circle rust img v1.70
* fix codegen
* update snarkvm rev and regen tests
* Update compiler/parser/src/parser/expression.rs
Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Delete program.json
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Delete program.json
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-06-13 12:09:33 -07:00
d0cd
d0c29ce8e0
[Update] snarkvm 0.11.0 ( #2377 )
...
* Remove gates from tests
* Remove Finalize test namespace
* Remove gates from examples
* Remove gates from compiler
* Regen expectations
* Add test that gates is allowed as a standard field of a record
* Update Rust version in CI
* Add check for MAX_MAPPINGS
2023-05-10 21:32:37 -07:00
Pranav Gaddamadugu
4b64fbe03a
Fix error message
2023-04-18 17:22:59 -07:00
Pranav Gaddamadugu
9df7486053
Regen expectations
2023-04-18 16:21:40 -07:00
Pranav Gaddamadugu
a909a31dbf
Regen expectations
2023-04-18 16:21:40 -07:00
Pranav Gaddamadugu
871b35d6d1
Cleanup expectations
2023-04-12 12:38:44 -07:00
Pranav Gaddamadugu
e460ce1c8e
Support negative group literals
2023-04-11 10:44:26 -07:00
Pranav Gaddamadugu
b193d511ca
Update test and regen expectations
2023-04-09 19:58:08 -07:00
d0cd
0522c2a08f
Removes unused or deprecated keywords from the grammar. ( #2273 )
...
* Remove unused/deprecated symbols
* Remove tokens
* Update parser
* Update tests
* Regen expectations
2023-02-17 19:25:11 -08:00
d0cd
4b28d81882
Regen other expectations
2023-02-10 21:51:54 -08:00
d0cd
f4a4a98d20
Add expectations for new tests
2023-02-10 21:50:57 -08:00
d0cd
bf49a0cc48
Generate expectations
2023-02-10 16:26:25 -08:00
d0cd
6a3039277e
Regen exepectations
2023-02-08 16:41:32 -08:00
d0cd
b17702e019
Fix graph init; regen expectations
2023-02-05 12:46:20 -08:00
Collin Chin
5a7feb28f7
Improve testing infrastructure ( #2227 )
...
* wip
* re-enable get_process call for test programs
* remove local tests
* clean up
* remove rust version from cargo.toml
2023-01-03 17:51:13 -08: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
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
d0cd
ae329c521b
Deprecate (async) finalize statements
2022-11-15 13:18:39 -08:00
d0cd
f60dcca1a3
Regen expectations
2022-11-12 16:35:54 -08:00
d0cd
232cbfb6bb
More tests
2022-11-12 10:05:00 -08:00
d0cd
a69c1b4dae
Regen expectations
2022-11-12 09:53:29 -08:00
d0cd
91db5c3b8a
Regen expectations
2022-11-08 15:49:47 -08:00
d0cd
8a3ffbc141
Fix tests; regen expectations
2022-11-08 15:49:47 -08:00
Pranav Gaddamadugu
e1a148a93e
Regen expectations
2022-10-05 23:52:37 -07:00
Pranav Gaddamadugu
dbb72ddbf8
Add tests showing program annotation fails
2022-10-03 15:02:28 -07:00
Pranav Gaddamadugu
ce3fd38cd4
Regen expectations
2022-10-03 14:57:14 -07:00
Pranav Gaddamadugu
b92fefddc4
Add test for deprecated circuit; rename tests
2022-09-30 13:20:23 -07:00
Pranav Gaddamadugu
898d831249
Regen expectations
2022-09-30 12:58:39 -07:00
Pranav Gaddamadugu
8d12cd6651
Rename tests
2022-09-30 10:48:47 -07:00
Pranav Gaddamadugu
7a859e7b63
Regen test expectations
2022-09-21 13:18:50 -07:00
collin
bdaf486604
fix bug and regen tests
2022-09-20 22:05:49 -07:00
Pranav Gaddamadugu
c2bed2bb54
Add name to finalize block
2022-09-13 11:06:24 +02:00
Pranav Gaddamadugu
48ce885860
Add more tyc checks
2022-09-07 10:39:00 -07:00