Commit Graph

6342 Commits

Author SHA1 Message Date
evan-schott
52141fea68 fix tests 2023-12-05 19:57:34 -08:00
evan-schott
3de2d3f563 fix retriever bug 2023-12-05 19:56:57 -08:00
evan-schott
3991d2327e
Merge pull request #15519 from arosboro/network-retrieval-parse-array
[feat/stubs] Fix ParseIntError InvalidInteger in ast related to array type.
2023-12-04 17:20:27 -08:00
evan-schott
16d9e1bde3
Merge pull request #15822 from AleoHQ/feat/network-retriever
Add small stubs patch
2023-12-04 17:19:28 -08:00
evan-schott
0e78e23f12 fix bug that prevented stubs with no dependencies from being included 2023-12-04 17:16:37 -08:00
evan-schott
7aa476f320 add tests 2023-12-04 17:15:51 -08:00
Andrew Rosborough
81b90017c3 #15513 Fix bug with parsing U32<N> from string into usize. 2023-12-04 13:56:51 -05:00
d0cd
565079c0d6
Merge pull request #3374 from AleoHQ/feat/network-retriever
[Draft] Network retriever module
2023-12-01 16:28:19 -08:00
evan-schott
db205441f1 merge program.json and .leo dependencies in compiler.rs 2023-12-01 16:14:55 -08:00
evan-schott
20a4278f56 allow functions to have empty blocks 2023-12-01 16:11:29 -08:00
evan-schott
94b3290681 remove leftover traces of previous import system 2023-12-01 16:09:59 -08:00
evan-schott
4b3b198850 reorganization of errors 2023-12-01 16:07:40 -08:00
evan-schott
51dd61701a return stubs in post order from retrieval module 2023-12-01 16:06:28 -08:00
evan-schott
b7e6bcade0 versioning update 2023-12-01 16:00:47 -08:00
d0cd
ea0fce0195
Merge pull request #2972 from AleoHQ/feat/stubs-disassembler
[Draft] Disassembler from Aleo instructions to Leo AST
2023-12-01 09:35:58 -08:00
evan-schott
3564389583 add proper error checking 2023-11-30 16:12:15 -08:00
evan-schott
931698fee3 Working example in utils/tmp/nested. Run test in cli.rs and retriever/src/lib.rs to see it in action 2023-11-30 16:12:10 -08:00
evan-schott
babac66435 Working example in . Run test in and to see it in action 2023-11-30 16:12:07 -08:00
evan-schott
a55e5e47e3 post rebase patches 2023-11-30 16:12:05 -08:00
evan-schott
3695ac649e clippy 2023-11-30 16:11:38 -08:00
evan-schott
bb960bf8b3 Merge dependencies stated in program.json w/ dependencies stated in .leo file 2023-11-30 16:11:38 -08:00
evan-schott
d5cbd8ef2b Modify compiler struct 2023-11-30 16:11:38 -08:00
evan-schott
184c2f583b Print imports in post order 2023-11-30 16:11:33 -08:00
evan-schott
3ff41db376 Default trait for stubs 2023-11-30 16:10:26 -08:00
evan-schott
cd3ae369fc Clippy fix 2023-11-30 16:10:26 -08:00
evan-schott
c44949ce3d Add new errors 2023-11-30 16:10:26 -08:00
evan-schott
650d47f414 Integrate network retrieval to build system 2023-11-30 16:10:26 -08:00
evan-schott
c7d3cf96f2 Test CLI build command 2023-11-30 16:10:26 -08:00
evan-schott
da1419c2ab Compiler::new() changes 2023-11-30 16:10:26 -08:00
evan-schott
26ff2b5815 Change disassembler structure 2023-11-30 16:10:24 -08:00
evan-schott
1aac5efad6 Retriever module 2023-11-30 16:10:05 -08:00
evan-schott
551eb1ebf6 Examples 2023-11-30 16:10:05 -08:00
evan-schott
8b28c1642c Add retriever module 2023-11-30 16:10:03 -08:00
evan-schott
1b9ac65d4a mess 2023-11-30 16:08:11 -08:00
evan-schott
c94c2c33b6 mapping & nit fix 2023-11-30 15:48:25 -08:00
evan-schott
313a5e45a9 add finalize 2023-11-30 15:47:34 -08:00
evan-schott
11851d4b8d support arrays as inputs 2023-11-30 15:46:48 -08:00
evan-schott
b3f8169186 clippy 2023-11-30 15:46:07 -08:00
evan-schott
25af3dd2c3 make errors consistent 2023-11-30 15:45:26 -08:00
evan-schott
6ab9415a02 Disassemble mappings too 2023-11-30 15:44:33 -08:00
evan-schott
4775364ab4 proper Cargo.toml syntax 2023-11-30 15:43:19 -08:00
evan-schott
ce160d6882 clippy 2023-11-30 11:43:08 -08:00
evan-schott
562d6da2bb Convert programCore->AST vs string->string 2023-11-30 11:40:04 -08:00
evan-schott
cc60421482 Testing TC error 2023-11-30 11:40:04 -08:00
evan-schott
5ed377e5ef Small TC fix to forbid record inputs to functions 2023-11-30 11:40:03 -08:00
evan-schott
b5a9eed04c From traits to from ProgramCore->AST 2023-11-30 11:39:19 -08:00
evan-schott
aa37895d91 mess 2023-11-30 11:38:39 -08:00
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