Commit Graph

6067 Commits

Author SHA1 Message Date
evan-schott
18186314f8 constant propagation table to store values of constants (both local and global) 2023-10-04 12:54:36 -07:00
evan-schott
09df202905 updated AST pass templates to account for addition of const in programscope 2023-10-04 12:54:36 -07:00
evan-schott
40f7ce2649 parse constant definition statements 2023-10-04 12:54:36 -07:00
evan-schott
422ba16877 add "const" to AST programscope 2023-10-04 12:54:36 -07:00
evan-schott
38fdb43bd3 recognize "const" as token 2023-10-04 12:54:35 -07:00
evan-schott
4b01d41d05 more errors 2023-10-04 12:54:35 -07:00
evan-schott
98f25b8ece add loop unrolling errors 2023-10-04 12:54:35 -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
d0cd
5262e0c743
Merge pull request #2636 from AleoHQ/dependabot/cargo/testnet3/reqwest-0.11.22
Bump reqwest from 0.11.21 to 0.11.22
2023-10-04 10:04:21 -04:00
dependabot[bot]
9502c959b0
Bump reqwest from 0.11.21 to 0.11.22
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.21 to 0.11.22.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.21...v0.11.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-04 10:29:32 +00:00
d0cd
23acf1aa9b
Merge pull request #2634 from AleoHQ/dependabot/cargo/testnet3/reqwest-0.11.21
Bump reqwest from 0.11.20 to 0.11.21
2023-10-03 10:40:27 -04:00
d0cd
6bb16ffa77
Merge pull request #2635 from AleoHQ/dependabot/cargo/testnet3/toml-0.8.2
Bump toml from 0.8.1 to 0.8.2
2023-10-03 10:40:04 -04:00
dependabot[bot]
528850b626
Bump toml from 0.8.1 to 0.8.2
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.1 to 0.8.2.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.1...toml-v0.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-03 10:31:49 +00:00
dependabot[bot]
5aa9788c5c
Bump reqwest from 0.11.20 to 0.11.21
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.20 to 0.11.21.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.20...v0.11.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-03 10:31:34 +00:00
d0cd
b65fe5ce56
Merge pull request #2633 from AleoHQ/dependabot/cargo/testnet3/regex-1.9.6
Bump regex from 1.9.5 to 1.9.6
2023-10-02 10:56:03 -04:00
dependabot[bot]
95f035196c
Bump regex from 1.9.5 to 1.9.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.5 to 1.9.6.
- [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.9.5...1.9.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 10:25:10 +00:00
d0cd
1bfcfacbd4
Merge pull request #2626 from AleoHQ/feat/reset-updates
[Update] Supports new features for the upcoming network reset.
2023-09-29 16:28:34 -04:00
d0cd
1d71bc5396
Merge pull request #2629 from AleoHQ/dependabot/cargo/testnet3/clap-4.4.6
Bump clap from 4.4.5 to 4.4.6
2023-09-29 07:36:30 -04:00
dependabot[bot]
a526ce4556
Bump clap from 4.4.5 to 4.4.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.5 to 4.4.6.
- [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.5...v4.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-29 10:06:37 +00: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
Pranav Gaddamadugu
95b540c253 Fix 2023-09-28 23:37:16 -04:00
Pranav Gaddamadugu
9d3fcc70f1 Connect compiler 2023-09-28 23:34:19 -04:00
Pranav Gaddamadugu
05481218bf Update codegen to be compatible with async 2023-09-28 23:34:18 -04:00
Pranav Gaddamadugu
3d5495aefa Make program scopes indexable by symbol 2023-09-28 23:34:18 -04:00
Pranav Gaddamadugu
a53c34388a Update codegen for mappings 2023-09-28 23:34:18 -04:00
Pranav Gaddamadugu
44658ca917 Rename parent to signer 2023-09-28 23:34:18 -04:00
Pranav Gaddamadugu
4abec6b5fc Add support for self.parent 2023-09-28 23:34:18 -04:00
d0cd
e820f7fae2
Merge pull request #2613 from AleoHQ/dependabot/cargo/testnet3/clap-4.4.5
Bump clap from 4.4.4 to 4.4.5
2023-09-28 20:10:05 -04:00
d0cd
970c4f965a
Merge pull request #2617 from AleoHQ/dependabot/cargo/testnet3/toml-0.8.1
Bump toml from 0.8.0 to 0.8.1
2023-09-28 20:09:41 -04:00
d0cd
5c7a85f401
Merge pull request #2618 from AleoHQ/dependabot/cargo/testnet3/sha2-0.10.8
Bump sha2 from 0.10.7 to 0.10.8
2023-09-28 20:09:26 -04:00
d0cd
b5f1726248
Merge pull request #2621 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.49
Bump thiserror from 1.0.48 to 1.0.49
2023-09-28 20:09:10 -04:00
dependabot[bot]
f948f0bf24
Bump thiserror from 1.0.48 to 1.0.49
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 10:27:55 +00:00
dependabot[bot]
288f518b85
Bump sha2 from 0.10.7 to 0.10.8
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.7 to 0.10.8.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.7...sha2-v0.10.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 10:27:13 +00:00
dependabot[bot]
c15defe395
Bump toml from 0.8.0 to 0.8.1
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 10:27:03 +00:00
Collin Chin
3c3543f6c6
Update release.yml
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
2023-09-26 13:11:05 -07:00
dependabot[bot]
a77662c950
Bump clap from 4.4.4 to 4.4.5
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.4 to 4.4.5.
- [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.4...v4.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 10:14:10 +00:00
Collin Chin
c5e22c8326
add aharshbe to readme contributors (#2607) 2023-09-25 09:04:13 -07: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
ac0e474f29
Update release.yml (#2602)
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
2023-09-21 15:12:51 -07:00
d0cd
93597dda0c
Merge pull request #2601 from AleoHQ/dependabot/cargo/testnet3/smallvec-1.11.1
Bump smallvec from 1.11.0 to 1.11.1
2023-09-21 09:00:40 -04:00
dependabot[bot]
f15677c2f6
Bump smallvec from 1.11.0 to 1.11.1
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.0...v1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 10:05:48 +00: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
70ffbff229
Merge pull request #2595 from AleoHQ/dependabot/cargo/testnet3/clap-4.4.4
Bump clap from 4.4.3 to 4.4.4
2023-09-19 10:22:58 -04:00
dependabot[bot]
1f60ec1074
Bump clap from 4.4.3 to 4.4.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.3 to 4.4.4.
- [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.3...v4.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 10:26:20 +00:00
d0cd
edcf90580e
Fix inlining issue (#2581) 2023-09-18 09:52:52 -07:00