evan-schott
52bb785ff4
fixes
2023-10-04 13:00:58 -07:00
evan-schott
0a2ea03701
rebase
2023-10-04 13:00:52 -07:00
evan-schott
5afbb44d8c
create test
2023-10-04 12:58:45 -07:00
evan-schott
c8b60e85ae
add more code coverage
2023-10-04 12:57:54 -07:00
evan-schott
b8321a7cb4
create test
2023-10-04 12:54:36 -07:00
evan-schott
24c88795fe
fixes
2023-10-04 12:54:36 -07:00
evan-schott
c5464db066
formatting & test expectation
2023-10-04 12:54:36 -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
evan-schott
02422ca411
folder of compiler tests for constants definitions and usages
2023-10-04 12:47:09 -07:00
evan-schott
3d573f046e
add constants to execution test
2023-10-04 12:47:09 -07:00
Pranav Gaddamadugu
67cdc56a41
Add support to specify private key in tests; regen expectations
2023-09-28 23:37:17 -04:00
Pranav Gaddamadugu
bfb1e67ebe
Regen expectations
2023-09-28 23:37:17 -04:00
Pranav Gaddamadugu
f5e15d57e4
Regen expecttions
2023-09-28 23:37:17 -04:00
Collin Chin
9c20f42d1d
Feat/sha3 ( #2604 )
...
* implement Keccak256 Keccak384 Keccak512 with tests
* implement SHA3_256 SHA3_384 SHA3_512 with tests
2023-09-22 09:54:14 -07:00
Collin Chin
82b39a81e9
implement Keccak256 Keccak384 Keccak512 with tests ( #2603 )
2023-09-22 08:31:30 -07:00
Collin Chin
4590a36ba8
Add test to verify support of the ternary operator on signatures ( #2594 )
...
* Add test to verify support of the ternary operator on signatures
* regen expectations
2023-09-19 10:26:44 -07:00
d0cd
edcf90580e
Fix inlining issue ( #2581 )
2023-09-18 09:52:52 -07:00
evan-schott
054966f00c
update expectation files
2023-09-11 14:56:45 -07:00
collin
0f2f16877b
chore(leo): bump version for new release
2023-09-08 10:18:21 -07:00
dependabot[bot]
347c9682cf
Bump clap from 4.4.1 to 4.4.2 ( #2561 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 10:09:25 -07:00
evan-schott
a3c8bb4947
add in merged changes from testnet3
2023-09-07 11:22:20 -07:00
evan-schott
aceb20b8d5
Merge remote-tracking branch 'origin/testnet3' into feat/hash-symbol-table
2023-09-07 11:09:02 -07:00
evan-schott
444a4214eb
run all tests, add optionality for writing symbol tables to json
2023-09-06 16:02:21 -07:00
dependabot[bot]
d5389f4b5e
Bump walkdir from 2.3.3 to 2.4.0
...
Bumps [walkdir](https://github.com/BurntSushi/walkdir ) from 2.3.3 to 2.4.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.3...2.4.0 )
---
updated-dependencies:
- dependency-name: walkdir
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 10:11:11 +00:00
evan-schott
a3e25ebc69
successfully add hashes to expectation file
2023-09-05 15:05:43 -07: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
Pranav Gaddamadugu
c80c782248
Add tests
2023-08-30 14:05:46 -04:00
evan-schott
47e881f55e
removed inaccurate invalid-literal error
2023-08-25 14:11:22 -07: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
4308d598e2
running all tests and updating expectation files
2023-08-24 15:29:23 -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
a983ebd83d
Regen expectations
2023-08-17 21:04:36 -04:00
Pranav Gaddamadugu
440cced9d8
Cleanup
2023-08-17 17:49:29 -04:00
Pranav Gaddamadugu
58774cd299
Regen expectations
2023-08-17 17:35:58 -04:00
Pranav Gaddamadugu
661a7cd508
Update compiler pipelines
2023-08-17 17:22:57 -04:00
Pranav Gaddamadugu
500584701a
Update expectations files
2023-08-17 09:00:45 -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
collin
11b87229f1
chore(leo): bump version for new release
2023-08-15 14:02:00 -07:00
d0cd
85d9a28ebb
[Test] Add examples
to test framework. ( #2527 )
...
* Add tests
* Remove debug print
* Regen expectations
* Remove battleship example
2023-08-15 11:11:17 -07:00
Pranav Gaddamadugu
036776be1b
Fix parser
2023-08-09 20:26:48 -04:00
Pranav Gaddamadugu
7cc3330d98
Add failing test
2023-08-09 20:12:02 -04:00
Pranav Gaddamadugu
65ba316c4f
Regen expectations
2023-08-09 17:38:33 -04:00
collin
7714f55999
chore(leo): bump version for new release
2023-08-08 10:14:56 -07:00
collin
d336be0b7b
chore(leo): bump version for new release
2023-07-24 10:51:44 -07:00
collin
009944c483
remove version from test-framework
2023-07-21 14:27:16 -07:00
collin
6a7748e5fe
chore(leo): bump version for new release
2023-07-19 18:17:31 -07:00
Collin Chin
d44457fc32
[Feature] Implement leo execute ( #2491 )
...
* bump snarkvm rev
* update default gitignore
* impl leo execute
* bump snarkvm 0.14.5
* modify examples wip
* update run.sh examples
* impl env file
* clippy warning
* fix auction example
* fix auction example env
* generate new private key for new env - tests failing due to env not found err
* commit error changes
* Fix tests; clippy
* Get examples working
* leo build checks that build dir is well formed; clippy
* Clean up
* Update examples/README.md
Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* do not commit .avm files
* use snarkvm commands
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Pranav Gaddamadugu <pranav@aleo.org>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-07-19 18:04:09 -07:00
dependabot[bot]
6e29afb400
Bump regex from 1.8.4 to 1.9.1 ( #2481 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.4 to 1.9.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.8.4...1.9.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:05:56 -07:00
collin
a18899f253
chore(leo): bump version for new release
2023-07-05 21:25:34 -07:00
dependabot[bot]
208176bc5d
Bump backtrace from 0.3.67 to 0.3.68 ( #2438 )
...
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs ) from 0.3.67 to 0.3.68.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases )
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.67...0.3.68 )
---
updated-dependencies:
- dependency-name: backtrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 18:06:21 -07:00
d0cd
d92d48e4a5
[Fix] Fix issues related to flattening. ( #2439 )
...
* Implement fix
* Regen expectations
* Update AST printing for functions
* Fix code generation when there are no output operands
* Fix flattener
* Add additional tests
* Regen expectations
* Fmt
* Regen expectations
2023-07-05 15:45:15 -07: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
collin
9fccf015d7
chore(leo): bump version for new release
2023-06-28 21:09:44 -07:00
d0cd
b236918df4
[Feature] Support ChaCha::rand_*
( #2433 )
...
* Add tests for ChaCha::rand*
* Add Chacha::rand* to AST, tyc, and codegen
* Add lottery example
* Regen expectations
* Add check asserting that command is only used in finalize block
* Update example and related CI
2023-06-28 21:02:50 -07:00
d0cd
c373b898c4
Merge pull request #2427 from AleoHQ/feat/group-to-coordinate
...
[Feature] Support `to_x_coordinate` for `group`s.
2023-06-28 11:32:57 -04: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
Pranav Gaddamadugu
8b4552efd5
Fix implementation
2023-06-23 20:35:42 -04:00
collin
80b0976276
chore(leo): bump version for new release
2023-06-23 17:19:25 -07: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
4a0ee1d9d8
[Feature] implement block.height command ( #2420 )
...
* implement initial block.height
* commit.height parsing and code generation
* patch self.caller tests
* add error for self.caller in a finalize context
* fix test
2023-06-20 16:36:11 -07:00
collin
7741f5b0c4
chore(leo): bump version for new release
2023-06-15 22:38:02 -07:00
collin
f5867a4fe4
chore(leo): bump version for new release
2023-06-15 22:26:19 -07:00
Collin Chin
e5ae160d1a
Implement new hash and commit functions ( #2415 )
...
* refactor hash -> hash_to_field
* refactor commit -> commit_to_field
* implement commit_to_address
* implement hash_to_address
* update hash and commit examples
* implement hash_to_scalar
* update tests
* implement bhp hash to integer variants
* implement bhp pedersen and poseidon integer variants
* Update compiler/passes/src/type_checking/checker.rs
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* 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>
* fix pedersen hash type checks
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Alessandro Coglio <coglio@kestrel.edu>
2023-06-15 19:55:03 -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
Collin Chin
4e71f60cb4
Implement additional features to the "group" element type ( #2394 )
...
* add new hash and commit symbols
* pedersen commitment methods return fields
* use snarkvm rev a451d91, impl commit_to_group.bhp256
* implement bhp commit to group variants
* implement bhp hash_to_group variants
* implement pedersen commit_to_group and hash_to_scalar variants
* implement poseidon hash_to_group and hash_to_scalar variants
* remove hash_many symbol
* fix tests
* regen test expectations
2023-06-07 13:09:08 -07:00
collin
52dfc097c5
chore(leo): bump version for new release
2023-05-31 20:37:17 -07:00
Collin Chin
42d97d3d89
implement group::GEN Leo syntax ( #2401 )
...
* implement group::GEN Leo syntax
* revert unrelated test changes
* move new errors to bottom of file to keep previous error codes consistent
2023-05-31 16:05:56 -07:00
Collin Chin
ed734e878e
Bump/snarkvm v0.11.4 ( #2399 )
2023-05-30 19:50:01 -07:00
dependabot[bot]
c639735f47
Bump criterion from 0.4.0 to 0.5.0
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0 )
---
updated-dependencies:
- dependency-name: criterion
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 10:59:58 +00:00
Collin Chin
2e1a9fc979
chore(leo): bump version for new release
2023-05-23 15:02:30 -07:00
collin
1c5de6fb80
bump snarkvm v0.11.2
2023-05-12 14:42:15 -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
dependabot[bot]
1a6b6a2eeb
Bump regex from 1.7.3 to 1.8.0
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.3 to 1.8.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/commits )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 10:57:59 +00:00
collin
85821b524e
chore(leo): bump version for new release
2023-04-19 18:02:15 -07:00
Pranav Gaddamadugu
4b64fbe03a
Fix error message
2023-04-18 17:22:59 -07:00
Pranav Gaddamadugu
6a660c4ceb
Remove gates check
2023-04-18 17:14:01 -07:00
Pranav Gaddamadugu
581a671e31
Update maximum number of transitions
2023-04-18 17:14:01 -07:00
Pranav Gaddamadugu
2390d10677
Regen expectations
2023-04-18 17:14:01 -07:00
Pranav Gaddamadugu
93dbeb77b2
Update tests
2023-04-18 17:09:22 -07:00
Pranav Gaddamadugu
0b99135962
Update Mapping::get_or to Mapping::get_or_init
2023-04-18 17:09:22 -07:00
Pranav Gaddamadugu
209d9cb5e7
Regen expectations
2023-04-18 17:08:09 -07:00
Pranav Gaddamadugu
74c888b037
Add/update tests
2023-04-18 17:08:09 -07:00
Pranav Gaddamadugu
cff63e9918
Address feedback; remove leo-core
2023-04-18 17:08:09 -07:00
Pranav Gaddamadugu
7bef7c401f
Regen expectations
2023-04-18 17:08:09 -07:00
Pranav Gaddamadugu
d337cba6ac
Add test in Finalize namespace
2023-04-18 16:59:32 -07:00
Pranav Gaddamadugu
8b1861fff1
Regen expectations
2023-04-18 16:59:07 -07:00
Pranav Gaddamadugu
62f8506a28
Fix test
2023-04-18 16:53:27 -07:00
Pranav Gaddamadugu
0d64247b1e
Add tests that should pass
2023-04-18 16:51:42 -07:00
Pranav Gaddamadugu
ff5ce80be3
Update mapping tests to usenew operations
2023-04-18 16:51:42 -07:00
Pranav Gaddamadugu
00a7943746
Regen expectations
2023-04-18 16:51:42 -07:00
Pranav Gaddamadugu
d4eb6441d7
Enable warnings in compiler output
2023-04-18 16:37:45 -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
fe1d9f9523
Disable DCE for test; regen expectations
2023-04-12 12:38:44 -07:00
Pranav Gaddamadugu
64548699a9
Fmt
2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
69f4a20aca
Regen expectations
2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
1adc4d232a
Update benches
2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
95a3deac94
Modify test
2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
444d32a52c
Add failing test
2023-04-12 12:38:43 -07:00
d0cd
c55ec9894e
Merge pull request #2347 from AleoHQ/fix/issue-2346
...
[Fix] Fixes variable renaming for inlined functions.
2023-04-12 12:27:54 -07:00
Pranav Gaddamadugu
e460ce1c8e
Support negative group literals
2023-04-11 10:44:26 -07:00
Pranav Gaddamadugu
ee0930b834
Regen expectations
2023-04-11 10:13:15 -07:00
Pranav Gaddamadugu
793e47a1a6
Add failing test
2023-04-11 10:09:33 -07:00
Pranav Gaddamadugu
b193d511ca
Update test and regen expectations
2023-04-09 19:58:08 -07:00
Pranav Gaddamadugu
aa8598c77f
Add failing test
2023-04-07 12:18:53 -07:00
Pranav Gaddamadugu
6f57c6e2ce
Cleanup and regen expectations
2023-04-05 09:14:17 -07:00
Pranav Gaddamadugu
d2b84e501f
Add test
2023-04-05 08:46:35 -07:00
d0cd
c74772cfac
Merge pull request #2328 from AleoHQ/fix/issue-2324
...
[Fix] Fixes unwrapping panic when unwrapping `lookup_struct` in `ProgramVisitor::visit_function`
2023-03-31 16:06:51 -07:00
d0cd
5cc6a06e2d
Merge pull request #2329 from AleoHQ/fix/issue-2325
...
[Fix] Panic: called Option::unwrap() on a Err value (Literal::Integer to Value)
2023-03-31 16:05:33 -07:00
Pranav Gaddamadugu
484eea5bd2
Regen expectations
2023-03-31 09:58:25 -07:00
Pranav Gaddamadugu
cc7aebf897
Add test
2023-03-31 09:57:10 -07:00
Pranav Gaddamadugu
b8df30075a
Regen expectations
2023-03-27 10:12:12 -07:00
Pranav Gaddamadugu
dcf2b6fa47
Add test
2023-03-27 10:08:21 -07:00
Pranav Gaddamadugu
8adc6c76b8
Fmts and clippies
2023-03-26 23:18:03 -07:00
d0cd
abd25b0896
Merge pull request #2295 from AleoHQ/feat/toggle-dce
...
Add an option to (dis/en)able DCE in the compiler.
2023-03-20 08:53:56 -07:00
d0cd
c5f7c01f02
Add an option to enable DCE in the compiler
2023-03-13 09:28:51 -07:00
d0cd
f7784ca779
Fix to get benchmarks working
2023-03-13 08:51:48 -07:00
d0cd
f7dc194d79
Add codegen to benchmarks
2023-03-13 08:51:48 -07:00
d0cd
2b5c24ada6
Regen expectations
2023-02-22 08:25:51 -08:00
d0cd
6c61296f78
Add targeted DCE test; cleanup
2023-02-21 17:13:54 -08:00
d0cd
0e6aa4729b
Clippy
2023-02-21 17:13:53 -08:00
d0cd
ce4d016742
Regen expectations
2023-02-21 17:13:53 -08:00
d0cd
dfc03db67e
Connect dead code elimination pass to compiler stages, CLI, and tests
2023-02-21 17:09:22 -08:00
d0cd
c8f6089be3
[Fix] Excludes inline
functions from produced bytecode. ( #2277 )
...
* Remove codegen for inline functions
* Regen expectations
2023-02-21 14:17:11 -08:00
Collin Chin
0a738d4994
chore(leo): bump version for new release
2023-02-17 22:30:17 -05: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
2158710d47
Update test
2023-02-10 23:07:22 -08:00
d0cd
a7f560e212
Regen expectations
2023-02-10 22:56:26 -08:00
d0cd
789bc52585
Add execution test
2023-02-10 22:56:14 -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
ea077c83d5
Add compile tests for records and structs with visibilities
2023-02-10 21:44:30 -08:00
d0cd
cd21c1b01e
Add parser tests for records and structs with visibilities
2023-02-10 21:38:38 -08:00
d0cd
55bae5a71b
Fmt
2023-02-10 17:44:01 -08:00
d0cd
1dd5887518
Clippy and cleanup
2023-02-10 16:50:59 -08:00
d0cd
bf49a0cc48
Generate expectations
2023-02-10 16:26:25 -08:00
d0cd
1612bcccba
Add equivalence integration test for inlined functions
2023-02-10 16:25:32 -08:00
d0cd
0be98e30b7
Add compiler tests
2023-02-10 15:15:03 -08:00
d0cd
532ad7ea14
Add parser tests
2023-02-10 15:12:55 -08:00
d0cd
98c7825833
Regen expectations
2023-02-10 09:48:54 -08:00
d0cd
79bf13ff8e
Integrate function inlining into test framework
2023-02-10 09:30:43 -08:00
d0cd
6a3039277e
Regen exepectations
2023-02-08 16:41:32 -08:00
d0cd
12de60e55d
Update expectations
2023-02-08 12:16:02 -08:00
d0cd
afac7b55bc
Add more test cases; fmt
2023-02-08 11:32:53 -08:00
d0cd
641cbf251d
Cleanup test files
2023-02-08 11:32:53 -08:00
d0cd
ef0e455e2b
Add support for expected errors
2023-02-08 11:32:53 -08:00
d0cd
f0c7314e17
Regen expectations
2023-02-08 11:32:53 -08:00
d0cd
04ba80f59a
Reorganize tests files
2023-02-08 11:27:28 -08:00
d0cd
59915ed315
Initial implementation of Execute namespace; fmt
2023-02-08 11:21:20 -08:00
d0cd
789c2e6443
Remove input files from compiler tests
2023-02-08 11:18:40 -08:00
d0cd
5565150f30
Regen expectations
2023-02-05 12:46:21 -08:00
d0cd
74e358dde6
Add test for out of order functions
2023-02-05 12:46:21 -08:00
d0cd
498d4b698d
Add tests for recursion
2023-02-05 12:46:21 -08:00
d0cd
e633c62b71
Implement post-ordering for functions during code-generation
2023-02-05 12:46:21 -08:00
d0cd
b17702e019
Fix graph init; regen expectations
2023-02-05 12:46:20 -08:00
d0cd
0e7922f5a7
Add test
2023-02-05 12:46:20 -08:00
d0cd
899c12d85a
Implement post-order codegen for structs and records
2023-02-05 12:46:20 -08:00
d0cd
9f5be95f59
Add test cases
2023-02-05 12:46:20 -08:00
d0cd
b077a1745b
Regen expectations
2023-02-05 12:46:20 -08:00
d0cd
d91233f06e
Implement cycle detection for structs and records
2023-02-05 12:46:20 -08:00
ljedrz
b20308f049
chore: update the license headers ( #2252 )
...
Signed-off-by: ljedrz <ljedrz@gmail.com>
2023-02-02 14:27:06 -08:00
d0cd
9975a2c200
Regen expectations
2023-01-18 12:49:19 -08:00
dependabot[bot]
6beb9db7cb
Bump regex from 1.7.0 to 1.7.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 10:10:51 +00:00
dependabot[bot]
65fc26704b
Bump backtrace from 0.3.66 to 0.3.67 ( #2212 )
2023-01-03 19:16:42 -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
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
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
801df56f9c
pull testnet3, regen tests
2022-11-22 20:55:12 -05:00
Collin Chin
40e56f8613
Merge pull request #2100 from AleoHQ/feat/tuple
...
Supports tuples.
2022-11-22 20:49:25 -05:00
d0cd
1ae833ba7c
Regen expectations
2022-11-16 10:24:29 -08:00
d0cd
de6ac4eb9b
Add test
2022-11-16 10:24:29 -08:00
d0cd
ae329c521b
Deprecate (async) finalize statements
2022-11-15 13:18:39 -08:00
collin
355d5a841f
fix test-framework cargo.toml
2022-11-14 19:05:41 -08:00
collin
44bca58821
chore(leo): bump version for new release
2022-11-14 18:56:09 -08:00
d0cd
f60dcca1a3
Regen expectations
2022-11-12 16:35:54 -08:00
d0cd
8048d2754b
Update tests
2022-11-12 11:28:58 -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
1b95340edc
Add tests
2022-11-12 09:52:52 -08:00
d0cd
036f8692eb
Add test case for singleton tuple
2022-11-11 21:07:58 -08:00
d0cd
8384c39e84
Regen tests
2022-11-11 21:03:23 -08:00
d0cd
cf9948e99c
Add tests for expr statements
2022-11-11 21:02:59 -08:00
d0cd
af8b63d12a
Add tuple test
2022-11-08 17:36:24 -08:00
d0cd
2f9bfd7ab9
Cleanup debug prints; fix bug, the flatten test builds
2022-11-08 17:10:39 -08:00
d0cd
62644d8851
Regen expectations
2022-11-08 16:02:16 -08:00
d0cd
ef4ae89b92
Add more test cases
2022-11-08 15:52:31 -08:00
d0cd
eb1534bb28
Regen expectations
2022-11-08 15:49:47 -08:00
d0cd
387db2e321
Add test case
2022-11-08 15:49:47 -08:00
d0cd
91db5c3b8a
Regen expectations
2022-11-08 15:49:47 -08:00
d0cd
d705fd1cce
Regen test expectations
2022-11-08 15:49:47 -08:00
d0cd
b911720ff0
Add test for tuple destructuring
2022-11-08 15:49:47 -08:00
d0cd
8a3ffbc141
Fix tests; regen expectations
2022-11-08 15:49:47 -08:00