Commit Graph

5802 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
defb657e5a Implement tyc for mapping operations 2023-04-18 16:21:40 -07:00
Pranav Gaddamadugu
10875c7edb Add core mapping functions to AST 2023-04-18 16:21:40 -07:00
Pranav Gaddamadugu
34fb0d1815 Add tyc for core functions 2023-04-18 16:21:40 -07:00
Pranav Gaddamadugu
d4230705e0 Remove CoreInstruction; leaving leo_core as a placeholder 2023-04-18 16:21:40 -07:00
Pranav Gaddamadugu
0bc04791b6 Add CoreFunction to AST 2023-04-18 16:21:40 -07:00
d0cd
1c05df3529
Merge pull request #2354 from AleoHQ/dependabot/cargo/testnet3/assert_cmd-2.0.11
Bump assert_cmd from 2.0.10 to 2.0.11
2023-04-15 11:57:26 -07:00
dependabot[bot]
4eccc6ce75
Bump assert_cmd from 2.0.10 to 2.0.11
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.10...v2.0.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 10:58:29 +00:00
d0cd
5028895182
Merge pull request #2351 from AleoHQ/fix/issue-2050
[Fix] Fixes code generation for `ExpressionStatement`s
2023-04-13 12:36:50 -07:00
d0cd
779a79e6b4
Merge pull request #2352 from AleoHQ/dependabot/cargo/h2-0.3.17
Bump h2 from 0.3.16 to 0.3.17
2023-04-13 12:36:19 -07:00
dependabot[bot]
2e3d107dbb
Bump h2 from 0.3.16 to 0.3.17
Bumps [h2](https://github.com/hyperium/h2) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.16...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 17:09:22 +00:00
Pranav Gaddamadugu
cbd0663fa7 Add comment 2023-04-12 17:41:54 -07:00
Collin Chin
68eabc38ae simplify logic 2023-04-12 15:52:10 -07:00
Collin Chin
09aa6ce63a fix dependency nits 2023-04-12 15:41:57 -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
59f418f5d0 Fix issue in codegen 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
98bbcacebb Update compiler test framework 2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
acc358bbb4 Update build config 2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
77ee8910a0 Refactor CompilerOptions 2023-04-12 12:38:43 -07:00
Pranav Gaddamadugu
d26a5f693d DCE eliminates expr statements that are not function calls 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
d0cd
d039543c47
Merge pull request #2344 from AleoHQ/fix/issue-2343
[Fix] Fix parsing for negative `scalar`, `field`, and `group` literals.
2023-04-12 08:47:49 -07:00
d0cd
1825d7f1eb
Merge pull request #2345 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.160
Bump serde from 1.0.159 to 1.0.160
2023-04-11 11:02:47 -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
0f8838c870 Fix bug 2023-04-11 10:11:08 -07:00
Pranav Gaddamadugu
793e47a1a6 Add failing test 2023-04-11 10:09:33 -07:00
dependabot[bot]
5ea92392e5
Bump serde from 1.0.159 to 1.0.160
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.159 to 1.0.160.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.159...v1.0.160)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 10:59:01 +00:00
Pranav Gaddamadugu
b193d511ca Update test and regen expectations 2023-04-09 19:58:08 -07:00
Pranav Gaddamadugu
9181b23347 Fix parser 2023-04-09 19:53:29 -07:00
Pranav Gaddamadugu
aa8598c77f Add failing test 2023-04-07 12:18:53 -07:00
d0cd
298c2036af
Merge pull request #2340 from AleoHQ/fix/issue-2239
[Fix] Check type of struct init expression.
2023-04-05 17:28:59 -07:00
Pranav Gaddamadugu
6f57c6e2ce Cleanup and regen expectations 2023-04-05 09:14:17 -07:00
Pranav Gaddamadugu
fd22fb9ec4 Fix bug 2023-04-05 09:13:37 -07:00
Pranav Gaddamadugu
d2b84e501f Add test 2023-04-05 08:46:35 -07:00
d0cd
6bb50c284a
Merge pull request #2333 from AleoHQ/upgrade/snarkvm-0.9.15
Update snarkVM to 0.9.15, aleo to 0.3.6
2023-04-03 15:35:42 -07:00
Pranav Gaddamadugu
2b010b6992 Update snarkVM to 0.9.15, aleo to 0.3.6 2023-03-31 19:50:35 -07:00
d0cd
4bdfcf950b
Merge pull request #2312 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.40
Bump thiserror from 1.0.39 to 1.0.40
2023-03-31 19:45:12 -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
dependabot[bot]
73d363874e
Bump thiserror from 1.0.39 to 1.0.40
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.39...1.0.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 17:07:33 +00:00
d0cd
f83c767f18
Merge pull request #2331 from AleoHQ/dependabot/cargo/testnet3/reqwest-0.11.16
Bump reqwest from 0.11.15 to 0.11.16
2023-03-31 10:04:24 -07:00
d0cd
3aba61a1c8
Merge pull request #2332 from AleoHQ/dependabot/cargo/testnet3/tempfile-3.5.0
Bump tempfile from 3.4.0 to 3.5.0
2023-03-31 10:03:58 -07:00
d0cd
9934d329f9
Merge pull request #2330 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.159
Bump serde from 1.0.158 to 1.0.159
2023-03-31 10:03:33 -07:00
Pranav Gaddamadugu
61cf227f58 Fmt 2023-03-31 10:02:33 -07:00