Pranav Gaddamadugu
|
efd12d5b09
|
Update codegen to include depth on positions
|
2024-04-18 20:36:38 -07:00 |
|
Pranav Gaddamadugu
|
3de4d9ec27
|
Remove debug print
|
2024-04-18 20:31:00 -07:00 |
|
Pranav Gaddamadugu
|
0eae4f07a1
|
Update tests; regen expectations
|
2024-04-18 20:31:00 -07:00 |
|
Pranav Gaddamadugu
|
eb18118b3f
|
Update codegen, fix compiler
|
2024-04-18 18:21:33 -07:00 |
|
Pranav Gaddamadugu
|
0b07ea6a35
|
Allow ConditionalStatements in finalize in Destructuring and Flattening
|
2024-04-18 18:21:02 -07:00 |
|
Pranav Gaddamadugu
|
b419dfdce4
|
Clippy
|
2024-04-18 18:20:14 -07:00 |
|
Pranav Gaddamadugu
|
781d7a816a
|
Fix and add test
|
2024-04-18 18:20:14 -07:00 |
|
Pranav Gaddamadugu
|
c4ceeb0369
|
Add check in TYC
|
2024-04-18 18:19:36 -07:00 |
|
Pranav Gaddamadugu
|
4ec7fff552
|
Add lookup_variable_in_current_scope to SymbolTable
|
2024-04-18 18:19:36 -07:00 |
|
d0cd
|
95ee4a4133
|
Merge pull request #27902 from AleoHQ/fix/external-struct
[Fix] External struct equality
|
2024-04-18 16:08:14 -07:00 |
|
evan-schott
|
88b57bec35
|
Regen + clippy
|
2024-04-18 14:16:55 -07:00 |
|
evan-schott
|
79e05c7131
|
fixes pt 2
|
2024-04-18 10:24:19 -07:00 |
|
evan-schott
|
30cbed0e98
|
fixes
|
2024-04-17 17:25:45 -07:00 |
|
dependabot[bot]
|
2b8676e7cf
|
Bump serde from 1.0.197 to 1.0.198
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-17 10:57:52 +00:00 |
|
evan-schott
|
1f6e39aaec
|
Bug fix: double nested imported structs reporting wrong program of origin
|
2024-04-16 14:57:55 -07:00 |
|
evan-schott
|
b95c5d544f
|
proper formatting of external records (plus test)
|
2024-04-16 13:59:13 -07:00 |
|
evan-schott
|
27ef7e5cd0
|
Add tests
|
2024-04-15 18:38:03 -07:00 |
|
evan-schott
|
c296f61f2f
|
Refactor ST to account for fact that local records can have program None
|
2024-04-15 18:35:30 -07:00 |
|
evan-schott
|
0a4e5b3642
|
Prevent duplicate definitions of external structs from being written
|
2024-04-15 18:33:49 -07:00 |
|
evan-schott
|
e9c996f774
|
Refactor: all structs parsed as having None program
|
2024-04-15 18:32:12 -07:00 |
|
evan-schott
|
5f32d736ca
|
Refactor: remove external
|
2024-04-15 18:31:10 -07:00 |
|
evan-schott
|
71c39b5c31
|
update expectations
|
2024-04-11 12:02:09 -07:00 |
|
evan-schott
|
e6ba5069dc
|
Fix suggestions
|
2024-04-10 16:11:51 -07:00 |
|
evan-schott
|
17c35d11af
|
Refactor all tests to get rid of finalize syntax
|
2024-04-10 15:56:30 -07:00 |
|
evan-schott
|
915ced57bd
|
Switch explicit future typing syntax to match rust
|
2024-04-10 11:48:41 -07:00 |
|
evan-schott
|
ee9cbd912d
|
write examples using new async syntax
|
2024-04-09 13:53:26 -07:00 |
|
evan-schott
|
e47ddb458e
|
clippy
|
2024-04-09 11:52:19 -07:00 |
|
evan-schott
|
1ac7f7f67c
|
fmt
|
2024-04-09 11:43:03 -07:00 |
|
evan-schott
|
bf95c4966a
|
parsing ambiguous explicit future types. Ex: Future<u32, Future<u32>>
|
2024-04-09 11:38:41 -07:00 |
|
evan-schott
|
5903635fa3
|
enable explicit typing for futures
|
2024-04-09 11:36:55 -07:00 |
|
evan-schott
|
a2fce7a968
|
misc revisions
|
2024-04-09 11:34:16 -07:00 |
|
evan-schott
|
a09a6fae85
|
Update compiler/span/src/symbol.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
|
2024-04-08 11:46:15 -07:00 |
|
evan-schott
|
8905f73670
|
Update compiler/passes/src/symbol_table_creation/creator.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
|
2024-04-08 11:44:22 -07:00 |
|
evan-schott
|
59e7c6c35c
|
Update compiler/span/src/symbol.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
|
2024-04-08 11:43:35 -07:00 |
|
evan-schott
|
295e304bcb
|
Update compiler/passes/src/flattening/flatten_program.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
|
2024-04-08 11:43:13 -07:00 |
|
evan-schott
|
1c6b4403c7
|
Update compiler/passes/src/destructuring/destructure_statement.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
|
2024-04-08 11:42:55 -07:00 |
|
evan-schott
|
b422657944
|
Forbit explicit inclusion of async function return type
|
2024-04-08 11:27:42 -07:00 |
|
evan-schott
|
14f08b4917
|
Fixed DCE bug
|
2024-04-08 11:17:33 -07:00 |
|
evan-schott
|
228a0ae9b7
|
Transform method calls into associated functions
|
2024-04-08 11:17:11 -07:00 |
|
evan-schott
|
0ed5cd6924
|
Retrieve external future locations during disassembling instead of in TYC
|
2024-04-08 11:15:48 -07:00 |
|
evan-schott
|
e99d7df699
|
Refactor FutureType to introduce location field to store which program/function the future comes from
|
2024-04-08 11:09:57 -07:00 |
|
evan-schott
|
9889aa01c5
|
Refactor Variant to account for asynchronous function variants
|
2024-04-03 17:00:03 -07:00 |
|
evan-schott
|
e7ac5e0bf1
|
running
|
2024-04-03 15:59:57 -07:00 |
|
evan-schott
|
abd5235091
|
merge
|
2024-04-03 14:37:05 -07:00 |
|
Pranav Gaddamadugu
|
26dba19d88
|
Clippy
|
2024-04-02 10:19:46 -07:00 |
|
Pranav Gaddamadugu
|
b3c3714044
|
Regen expectations
|
2024-04-02 08:40:32 -07:00 |
|
Pranav Gaddamadugu
|
2d606f1930
|
Allow external contains
|
2024-04-01 06:46:45 -07:00 |
|
Pranav Gaddamadugu
|
4fe984ce7c
|
Update Testnet3 to Mainnet
|
2024-04-01 06:43:54 -07:00 |
|
Pranav Gaddamadugu
|
2c391055af
|
chore(leo): bump version for new release
|
2024-03-29 17:53:25 -07:00 |
|
evan-schott
|
36aa41fdc2
|
Regen expectations
|
2024-03-29 14:18:12 -07:00 |
|
evan-schott
|
ed085666a3
|
Add tests for using LocatorExpression out of place
|
2024-03-29 14:17:29 -07:00 |
|
evan-schott
|
1434e0a610
|
style
|
2024-03-29 14:17:29 -07:00 |
|
evan-schott
|
94b5d927d7
|
Refactor LocatorExpression
|
2024-03-29 14:17:29 -07:00 |
|
evan-schott
|
84f0bd6142
|
add new external mapping tests
|
2024-03-29 14:17:28 -07:00 |
|
Pranav Gaddamadugu
|
a0b28747da
|
Fix compile expectations
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
22d1c402d4
|
in progress
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
305e00b473
|
style
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
5159f6ec20
|
fix shadowing bug
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
ff4edada7e
|
clippy
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
e78b292552
|
Add external mappings to ST
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
2a152c2517
|
Error for trying to modify external mappings
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
75f3647879
|
Passing ST serialization test
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
7a741dbde4
|
Change symbol table usages (next time will just make change in ST so don't have to change everything)
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
dd48b6e29c
|
Modify parser
|
2024-03-29 14:17:28 -07:00 |
|
evan-schott
|
bc7e6c3fa2
|
Update AST
|
2024-03-29 14:17:28 -07:00 |
|
Pranav Gaddamadugu
|
79e3564a6a
|
Fmt
|
2024-03-29 12:38:30 -07:00 |
|
Pranav Gaddamadugu
|
3048dc1ffd
|
More fix
|
2024-03-29 12:36:05 -07:00 |
|
Pranav Gaddamadugu
|
75867ac2ea
|
Fix CI
|
2024-03-29 12:32:25 -07:00 |
|
d0cd
|
dd7caa03cf
|
Merge pull request #27848 from AleoHQ/tests/multi-program-tests
[Testing] Support multi-program tests.
|
2024-03-29 11:14:47 -07:00 |
|
Pranav Gaddamadugu
|
bcf1615861
|
Improve reproducibility
|
2024-03-28 10:12:01 -07:00 |
|
Pranav Gaddamadugu
|
7c95d1302f
|
Reformat expectations
|
2024-03-28 08:31:51 -07:00 |
|
Pranav Gaddamadugu
|
058d3bf79a
|
Add complex finalization multi-program example; regen expectations
|
2024-03-27 20:15:24 -07:00 |
|
Pranav Gaddamadugu
|
4c750bc963
|
Support finalize execution in execute tests
|
2024-03-27 17:50:05 -07:00 |
|
d0cd
|
8c70bbe394
|
Merge pull request #27662 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.197
Bump serde from 1.0.196 to 1.0.197
|
2024-03-26 15:59:23 -07:00 |
|
Pranav Gaddamadugu
|
c17cdadf4f
|
Add support for multi-file execute tests
|
2024-03-26 15:56:36 -07:00 |
|
Pranav Gaddamadugu
|
2213feb027
|
Directly use Process in compile tests
|
2024-03-26 13:10:50 -07:00 |
|
Pranav Gaddamadugu
|
f4af8a77d2
|
Add support for multi-file compile tests
|
2024-03-26 12:57:57 -07:00 |
|
dependabot[bot]
|
aae31c7385
|
Bump regex from 1.10.3 to 1.10.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.3 to 1.10.4.
- [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.10.3...1.10.4)
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-03-25 10:33:46 +00:00 |
|
dependabot[bot]
|
9ccbc82544
|
Bump serde from 1.0.196 to 1.0.197
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-03-19 00:56:38 +00:00 |
|
d0cd
|
a26bad9d1d
|
Merge pull request #27636 from eltociear/patch-1
Update mod.rs
|
2024-03-13 12:21:33 -07:00 |
|
evan-schott
|
997b9051fd
|
clippy
|
2024-03-08 16:42:55 -08:00 |
|
evan-schott
|
c01c61c5e4
|
Fix Bug: Displaying futures in wrong order
|
2024-03-08 16:42:10 -08:00 |
|
evan-schott
|
2cc115d3ab
|
no longer recognize finalize as symbol so can now use it for naming functions
|
2024-03-08 15:07:56 -08:00 |
|
evan-schott
|
143e9cdc23
|
formatting of futures in CG
|
2024-03-08 14:35:26 -08:00 |
|
evan-schott
|
dd6d40edf9
|
Convert f.1 from tuple access to member access to prepare for CG
|
2024-03-08 14:32:46 -08:00 |
|
evan-schott
|
8f6a94d250
|
Nested async function/transition logic
|
2024-03-08 14:31:51 -08:00 |
|
evan-schott
|
b29978cda9
|
Add fully typed futures to ST in finalize scope
|
2024-03-08 14:18:53 -08:00 |
|
evan-schott
|
e6e8811f5c
|
Support nested async functions in return. return finalize_main(1u32, external.aleo/foo().1);
|
2024-03-08 14:12:58 -08:00 |
|
evan-schott
|
69fd6edab6
|
Only track finalize stub inputs
|
2024-03-08 11:58:44 -08:00 |
|
evan-schott
|
ccc7bf0eec
|
Fix bug: Logic error in analyzing unawaited paths through nested conditionals
|
2024-03-08 11:56:29 -08:00 |
|
evan-schott
|
dea6443f67
|
Fix bug: If no futures present don't initialize await checker
|
2024-03-08 11:54:38 -08:00 |
|
evan-schott
|
2b2bc91d53
|
Fix bug: Never use Identifier as key to Indexmap because spans will change
|
2024-03-08 11:52:43 -08:00 |
|
evan-schott
|
5efb498075
|
Fix bug: Disassemble finalize functions to finalize/{name} to avoid shadowing errors
|
2024-03-08 11:51:33 -08:00 |
|
evan-schott
|
5911bb33a0
|
Fix bug: Always disassemble Future output types
|
2024-03-08 11:50:44 -08:00 |
|
evan-schott
|
2c809e9151
|
Fix bug: Future::await(f) should always take 1 argument
|
2024-03-08 11:47:31 -08:00 |
|
evan-schott
|
1d7bebb759
|
Parse Future as token not Identifier
|
2024-03-08 11:46:18 -08:00 |
|
evan-schott
|
7d5b1ed8a8
|
Change syntax so that finalize functions signatures no longer must explicitly declare output is future
|
2024-03-05 10:39:26 -08:00 |
|
evan-schott
|
189d36e37e
|
Basic parsing pass
|
2024-03-05 10:38:12 -08:00 |
|
evan-schott
|
35894d79fe
|
Remove old futures logic from CG
|
2024-03-04 17:13:22 -08:00 |
|
evan-schott
|
c482b81d95
|
TYC small fixes
|
2024-03-04 17:08:43 -08:00 |
|