Commit Graph

6448 Commits

Author SHA1 Message Date
evan-schott
1fbc16ce24 Allow imports & Variant::Function functions in stubs 2023-11-30 11:38:05 -08:00
evan-schott
aee748b43f New errors 2023-11-30 11:36:23 -08:00
evan-schott
88b85f894d deprecate .leo imports in build system & codegen 2023-11-30 11:31:38 -08:00
evan-schott
2b6a35823b codegen fix 2023-11-30 11:15:09 -08:00
evan-schott
8796e8c921 clippy 2023-11-30 10:52:38 -08:00
evan-schott
004cc7cc70 typecheck that finalize_stub 2023-11-30 10:52:38 -08:00
evan-schott
d1d5abef5b deprecate hardcoded stubs by changing parser 2023-11-30 10:52:38 -08:00
evan-schott
5347570d97 deprecate .leo imports in parser 2023-11-30 10:52:38 -08:00
evan-schott
43fae971d8 allow let a:token.aleo/super_valuable_token = token.aleo/mint_private(); and let a:super_valuable_token = token.aleo/mint_private(); 2023-11-30 10:52:38 -08:00
evan-schott
89bcb3dbdf remove stub tokens 2023-11-30 10:52:38 -08:00
evan-schott
400702e900 add finalize_stub field to function_stub AST 2023-11-30 10:52:38 -08:00
evan-schott
0de4e81cc2 revise errors to allow stubs more leeway in parsing 2023-11-30 10:52:38 -08:00
evan-schott
fb56a4f429 tests AST changes but bytecode remains the same 2023-11-30 10:52:33 -08:00
evan-schott
c809268084 add new tests for new import structure, as well as deprecating hardcoding stubs 2023-11-30 10:52:16 -08:00
evan-schott
bbf1e01145 clippy 2023-11-30 10:52:16 -08:00
evan-schott
f1a19b2a03 rebase fix 2023-11-30 10:52:16 -08:00
evan-schott
bd2e3de733 Allow imports & Variant::Function functions in stubs 2023-11-30 10:52:16 -08:00
evan-schott
b85c5b285e Make compatible w/ LU and CG passes 2023-11-30 10:52:16 -08:00
evan-schott
5441c23a51 TC stubs 2023-11-30 10:52:15 -08:00
evan-schott
878bbc8f35 Add stub structs & functions to ST 2023-11-30 10:52:15 -08:00
evan-schott
393d9bc3d0 Allow parsing of external types declared in stubs for function signatures 2023-11-30 10:52:15 -08:00
evan-schott
61f3d81d13 New errors 2023-11-30 10:52:15 -08:00
evan-schott
ae6fda3b52 Update AST 2023-11-30 10:52:15 -08:00
evan-schott
f906e7f9e0 New tests 2023-11-30 10:52:15 -08:00
evan-schott
14fc864e0c test expectations 2023-11-30 10:52:15 -08:00
evan-schott
292f890369 error msgs 2023-11-30 10:52:15 -08:00
evan-schott
cf7baa0132 Update AST to include FunctionStub and Stub 2023-11-30 10:52:15 -08:00
evan-schott
72cf2e7517 Add "stub" token 2023-11-30 10:52:15 -08:00
Collin Chin
3a58a4059b
update badge (#11834) 2023-11-30 10:43:38 -08:00
a h
e240968433
Merge pull request #11174 from aharshbe/move_contributors
Move contributors
2023-11-29 17:49:08 -08:00
d0cd
1f9b25d55d
Update CONTRIBUTORS.md
Signed-off-by: d0cd <23022326+d0cd@users.noreply.github.com>
2023-11-29 17:38:51 -08:00
a h
ceb6b4894f
Update README.md
Signed-off-by: a h <austin@aleo.org>
2023-11-29 17:24:38 -08:00
a h
6cb4275127
Update README.md
Signed-off-by: a h <austin@aleo.org>
2023-11-29 17:24:11 -08:00
a h
bde3955313
Update CONTRIBUTORS.md
Signed-off-by: a h <austin@aleo.org>
2023-11-29 17:13:08 -08:00
a h
9e1ea89368
Update README.md
Signed-off-by: a h <austin@aleo.org>
2023-11-29 17:12:50 -08:00
d0cd
00dd835409
Merge pull request #9988 from AleoHQ/web-page-update
Update my web page URL.
2023-11-28 12:42:32 -08:00
Alessandro Coglio
e0b647b1f1 Update my web page URL. 2023-11-27 23:42:24 -08:00
Pranav Gaddamadugu
4a0228bcac Update CI rust version 2023-11-27 17:18:48 -08:00
d0cd
6126189e59
Merge pull request #9447 from AleoHQ/dependabot/cargo/testnet3/snarkvm-0.16.12
Bump snarkvm from 0.16.10 to 0.16.12
2023-11-27 09:12:07 -08:00
dependabot[bot]
2341d2cab5
Bump snarkvm from 0.16.10 to 0.16.12
Bumps [snarkvm](https://github.com/AleoHQ/snarkVM) from 0.16.10 to 0.16.12.
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.16.10...v0.16.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 10:43:15 +00:00
d0cd
9050bc8da2
Merge pull request #8446 from AleoHQ/fix/codegen-arrays
Fix codegen for array init expressions
2023-11-23 12:06:37 -08:00
Pranav Gaddamadugu
c2bde41840 Regen expectations 2023-11-23 10:55:27 -08:00
Pranav Gaddamadugu
afc953cd0b Clippy + fmt 2023-11-22 17:34:20 -08:00
Pranav Gaddamadugu
1afa68a66e Remove is_main 2023-11-22 17:33:42 -08:00
d0cd
47e14b8187
Merge pull request #7736 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.193
Bump serde from 1.0.190 to 1.0.193
2023-11-22 17:22:27 -08:00
d0cd
b191c2f473
Merge pull request #7737 from AleoHQ/deps/snarkvm-0.16.10
[Dependency] snarkVM 0.16.10
2023-11-22 17:22:16 -08:00
Pranav Gaddamadugu
b9cb62d8aa Update dependencies 2023-11-21 10:28:07 -08:00
dependabot[bot]
56681ab890
Bump serde from 1.0.190 to 1.0.193
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.190 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.193)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 02:12:58 +00:00
d0cd
57c8c722aa
Merge pull request #3981 from AleoHQ/dependabot/cargo/testnet3/toml-0.8.8
Bump toml from 0.8.6 to 0.8.8
2023-11-20 18:12:10 -08:00
d0cd
5c6a6315e8
Merge pull request #5085 from AleoHQ/dependabot/cargo/testnet3/smallvec-1.11.2
Bump smallvec from 1.11.1 to 1.11.2
2023-11-20 18:10:35 -08:00