Commit Graph

1437 Commits

Author SHA1 Message Date
gluax
7ad500b344 remove uneeded circuit syms 2022-03-28 06:53:22 -07:00
gluax
414e288735 remove self and Self 2022-03-28 06:47:19 -07:00
gluax
d37f9f29c2 remove circuits 2022-03-28 06:32:55 -07:00
gluax
398e6f5469 merge upstream testnet3 2022-03-28 06:21:17 -07:00
gluax
4e7d02dbe1 make suggested changes, also forgot to accept dead code removal from upstream 2022-03-17 12:36:49 -07:00
gluax
34e1b39805 some cleanup 2022-03-16 15:04:49 -07:00
gluax
790c282e8b merge upstream testnet3 2022-03-16 13:56:55 -07:00
0rphon
9ef1b8f73a forgot to remove some comments 2022-03-16 13:07:52 -07:00
gluax
0e7d36a61c current tests pass 2022-03-16 13:02:56 -07:00
gluax
9391a31569 realized raw strings don't play nicely for testing strings 2022-03-16 12:27:11 -07:00
0rphon
82ce58544b fixed ci 2022-03-15 17:15:08 -07:00
gluax
5034294d09 tokenizing almost working 2022-03-15 17:13:02 -07:00
gluax
3d1cc9a735 most things moved to a char parser 2022-03-15 14:53:42 -07:00
0rphon
7c049177cb Merge branch 'testnet3' into improve-parser-tests 2022-03-14 16:36:16 -07:00
0rphon
1604f10115 re-enabled tests, removed fuzzing hooks 2022-03-14 16:29:34 -07:00
gluax
e484d5124f comment fixes 2022-03-14 08:16:58 -07:00
gluax
8e0a59dc5d fmt 2022-03-14 08:12:29 -07:00
gluax
ef8d0415e7 change parens around variable into recoverable error 2022-03-14 08:12:03 -07:00
gluax
9a45c2ae99 fix array around 1 element array dim size 2022-03-14 08:07:01 -07:00
gluax
2c30cba70f remove parened field 2022-03-14 07:58:51 -07:00
0rphon
3c258bf3a4 code cleanup, added tests, marked dangerous code for review 2022-03-09 15:16:52 -08:00
gluax
377c65be21 fix issues from fixing a panic 2022-03-09 12:08:15 -08:00
gluax
a227e7c113 add tests, fix namespaces on older tests, fix another bug 2022-03-09 11:11:30 -08:00
gluax
91c0f5ae9d resolve some error messages panicing 2022-03-09 09:46:07 -08:00
gluax
86000325bf remove option types in rest of places, clean up canonicalization 2022-03-08 12:58:32 -08:00
gluax
eaf0a82154 merge testnet3 2022-03-08 10:24:36 -08:00
0rphon
39ea7a3ceb Merge branch 'testnet3' into improve-parser-tests 2022-03-08 00:57:32 -08:00
Collin Chin
5e2ba78750
Merge pull request #1656 from AleoHQ/remove/unsized-array
Remove/unsized array
2022-03-07 17:14:03 -08:00
gluax
a778faf8ff remove implicits, this makes arrays not work with implicit 2022-03-07 12:20:15 -08:00
Collin Chin
11b4a2702a
Merge pull request #1655 from AleoHQ/bug/misc-parser-discrep-bugs
[Fix] Mix Parser bugs & discreps
2022-03-07 12:19:09 -08:00
gluax
19c27518cc require loop type 2022-03-07 08:18:16 -08:00
gluax
85efd764a6 require types on definition statements 2022-03-07 08:05:42 -08:00
collin
1a45295372 remove redundant array dimension struct 2022-03-04 13:06:22 -08:00
collin
10bea676a8 remove unsized arrays 2022-03-04 12:23:46 -08:00
gluax
060c13dd8d clippy fix 2022-03-04 11:21:42 -08:00
gluax
789862103e another char bug fix 2022-03-04 11:18:28 -08:00
gluax
308512fab9 add tests 2022-03-04 10:26:34 -08:00
gluax
85764aa394 fix self discrep 2022-03-04 10:03:42 -08:00
gluax
bd1d602f6d fix annotation error msg 2022-03-04 09:28:29 -08:00
0rphon
7d2cbb2ec2 done with coverage
finished coverage tests. adding case by case tests from the parser fuzzer next
2022-03-02 14:13:37 -08:00
collin
54beb505c3 fix spelling typo 2022-03-02 12:19:22 -08:00
0rphon
9d1714d779 Merge remote-tracking branch 'origin/testnet3' into improve-parser-tests 2022-03-01 12:00:10 -08:00
gluax
736c6af72d a bunch of parser bug fixes so far 2022-02-28 14:45:32 -08:00
collin
9ff0d3fed3 move tools/test-framework -> tests/test-framework 2022-02-28 10:29:05 -08:00
collin
22f605349c merge testnet3 2022-02-28 09:42:37 -08:00
collin
e263e64279 restructure compiler and delete unused code 2022-02-22 15:12:52 -08:00
damirka
239f06b3af removes leo_input mentions, cleanup dep 2022-02-22 03:10:50 +03:00
damirka
aa61840eb6 Merge branch 'testnet3' into leo-parser-inputs 2022-02-22 02:59:54 +03:00
gluax
305ef16883 clippy fix 2022-02-16 10:17:10 -08:00
gluax
1377d60f07 test canonicalization 2022-02-16 10:10:26 -08:00
gluax
2ea3709441 fix compiler panicing 2022-02-16 10:00:41 -08:00
damirka
0878e4f85f single parser, multi purpose 2022-02-15 20:54:00 +03:00
collin
b31071777b stabilize leo-package 2022-02-07 11:37:57 -05:00
collin
316c2d2592 compiler module builds 2022-02-03 11:59:42 -08:00
collin
fa2becfb1d update snarkvm rev + cargo update 2022-02-02 14:58:01 -08:00
collin
eca7a4ea53 reorder dependencies 2022-01-27 12:57:52 -08:00
collin
31f90a9032 deprecate blake2s 2022-01-25 13:31:02 -08:00
gluax
ea419a7891 migrate spans crate, which involves rust 2021 ed, and dep updates 2022-01-21 12:04:37 -08:00
collin
34a0b4e9b0 clippy 2022-01-17 16:30:08 -08:00
collin
6ccb8ef6b2 update snarkvm rev 2022-01-17 16:07:31 -08:00
collin
0425a92c2b feature: update to latest snarkvm rev 2022-01-11 16:22:34 -08:00
0rphon
849fa85a28 updated all dependencies to latest snarkvm version 2021-10-25 13:48:53 -07:00
damirka
e56a1aedaa fixes PartialEq use in circuit member assign 2021-10-19 10:43:19 +02:00
Eric McCarthy
e2ba64b79d
Merge pull request #1362 from AleoHQ/feature/remove-span-snapshot
Feature/remove span snapshot
2021-09-30 15:33:18 -07:00
Pranav Gaddamadugu
ffae3b39ff Fixed JSON order bug in AST on removal of values 2021-09-29 07:56:28 -07:00
damirka
a1aa5326ad fixes eq for arrays with unspecified size 2021-09-28 11:09:56 +03:00
Pranav Gaddamadugu
242e34279d Add default for build options 2021-09-24 18:03:23 -07:00
Pranav Gaddamadugu
a128d367ff Resolving conflicts with master 2021-09-24 17:40:07 -07:00
Pranav Gaddamadugu
f754f89c6e Updated test-framework/.../tgc.rs to remove spans from AST; changed compiler test options to disable spans 2021-09-23 09:11:09 -07:00
Mazdak Farrokhzad
3ad7d2fdb2 cleanup courtesy of clippy 2021-09-23 17:06:48 +02:00
Pranav Gaddamadugu
2edb794c8b Passing no-span serialization tests in parser 2021-09-22 11:54:58 -07:00
Pranav Gaddamadugu
1521a4a84d Refactored code so all filtering logic is in AST 2021-09-22 10:58:21 -07:00
Pranav Gaddamadugu
a9746cb756 Refactor to previous function name: 2021-09-21 09:32:31 -07:00
Pranav Gaddamadugu
798c3f0eb6 Refactored code to pull out JSON value serialization; preferring this option since it preserves test expectations 2021-09-20 20:48:16 -07:00
Pranav Gaddamadugu
074587f4d2 Added original code to verify that test expectations do not change 2021-09-20 20:28:52 -07:00
Pranav Gaddamadugu
3cc9367d09 Fixed unhandled case in 2021-09-20 20:00:07 -07:00
Pranav Gaddamadugu
5f22a21f47 Implemented option to remove from serialized AST 2021-09-20 19:21:52 -07:00
Pranav Gaddamadugu
991a658950 Added build option to leo build 2021-09-20 18:12:03 -07:00
Alessandro Coglio
a5f74195cf
Merge pull request #1333 from AleoHQ/array-len-function
[Feature] Adds .len() postfix to arrays
2021-09-15 10:10:32 -07:00
damirka
f12eafb957 replace sizeof with lengthof 2021-09-14 18:01:24 +03:00
damirka
4f41f09ef2 Merge branch 'master' into array-len-function 2021-09-13 14:26:38 +03:00
damirka
093517109b renaming, now .length() 2021-09-10 16:11:55 +03:00
gluaxspeed
64e88404d2 prelude stuff auto included 2021-09-10 05:55:07 -07:00
damirka
2942bf85fe staging commit for the sizeof operator 2021-09-07 19:33:02 +03:00
gluaxspeed
8a8b5ab757 resolve merge conflicts 2021-09-07 02:59:35 -07:00
gluax
81271c918f
Merge pull request #1327 from AleoHQ/abnf-ast-changes
[ABNF] CircuitOrAlias changed to Identifier
2021-09-06 22:23:52 -07:00
gluaxspeed
dcdb234637 fix imported circuit return from function in import 2021-09-06 06:12:58 -07:00
damirka
857ab9a2b6 change CircuitOrAlias to Identifier 2021-09-06 14:10:06 +03:00
damirka
e03d5c23b8 includes ast and asg changes 2021-08-31 20:18:21 +03:00
gluaxspeed
5c6f2a43ca merge master, add clean for imports ast 2021-08-27 09:40:25 -07:00
gluaxspeed
6a44e51da9 revert runner change, just make tgc remove the header lines as well 2021-08-27 07:57:25 -07:00
gluaxspeed
538dfe2709 re-enable compiler test cleanup 2021-08-27 07:30:37 -07:00
gluaxspeed
cedf2004ba reduce code bloat 2021-08-27 07:29:40 -07:00
gluaxspeed
649088905d standardize ast generation in ast and test runner 2021-08-27 07:28:02 -07:00
gluaxspeed
1628e19658 alias resolution done during type inference 2021-08-24 22:58:59 -07:00
gluaxspeed
1576f776f3 resolve master conflicts 2021-08-24 03:00:08 -07:00
Alessandro Coglio
7a5979660b
Merge pull request #1272 from AleoHQ/feature/call-expressions-ast-store-type
[Implmentation] Adds Type to Circuit Member Access Expressions
2021-08-23 08:50:41 -07:00
damirka
a04249976e Merge branch 'master' into leo-manifest-dependencies 2021-08-19 18:04:05 +03:00
gluaxspeed
e90228b295 type aliases 2021-08-19 06:04:44 -07:00
gluaxspeed
4fc6c5f586 core function imports 2021-08-18 18:52:56 -07:00
gluaxspeed
d1350d7cd8 Merge branch 'master' of github.com:AleoHQ/leo into feature/type-aliases 2021-08-18 16:35:17 -07:00
gluaxspeed
88bd065d8a merge master, regen tests 2021-08-18 16:25:23 -07:00
gluaxspeed
4e32efb9e3 Merge branch 'master' of github.com:AleoHQ/leo into feature/better-errors 2021-08-18 14:42:19 -07:00
gluaxspeed
484ebd3467 clean up todos 2021-08-18 14:40:51 -07:00
gluaxspeed
56c66fa4ba testing and clean up 2021-08-18 14:31:06 -07:00
gluaxspeed
a91c8b9e6a Revert "type on call expression"
This reverts commit cf5a23b38f.
2021-08-18 13:38:50 -07:00
gluaxspeed
a75dbe38eb imports functioning, next is core imports 2021-08-18 06:23:23 -07:00
damirka
135ad2d167 Merge branch 'fix-recursive-imports' into leo-manifest-dependencies 2021-08-18 14:13:21 +03:00
gluaxspeed
14a1125d33 formatting 2021-08-18 02:46:40 -07:00
gluaxspeed
a66c123d17 merge better errors 2021-08-18 02:45:59 -07:00
gluaxspeed
e6948da23f merge master 2021-08-18 02:10:59 -07:00
gluaxspeed
cf5a23b38f type on call expression 2021-08-18 02:04:41 -07:00
dependabot[bot]
d2a4a14cf4
Bump snarkvm-dpc from 0.7.8 to 0.7.9
Bumps [snarkvm-dpc](https://github.com/AleoHQ/snarkVM) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.8...v0.7.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 10:18:37 +00:00
damirka
e78975ba21 Merge branch 'master' into leo-manifest-dependencies 2021-08-16 18:32:30 +03:00
dependabot[bot]
1b34fa0538
Bump snarkvm-curves from 0.7.8 to 0.7.9
Bumps [snarkvm-curves](https://github.com/AleoHQ/snarkVM) from 0.7.8 to 0.7.9.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.8...v0.7.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:18:57 +00:00
gluaxspeed
f65fff602f clippy fix, tyring to debug cli upadte on osx 2021-08-13 11:35:48 -07:00
gluaxspeed
8ca3ab465e circleci updated rust version 2021-08-13 10:48:38 -07:00
gluaxspeed
eaa4151f16 now its just mac release list failing 2021-08-12 09:51:00 -07:00
gluaxspeed
e69e81110e debug windows ci this time 2021-08-12 04:44:45 -07:00
gluaxspeed
a09f6f0c83 serilization for span that's test dependent 2021-08-12 03:27:18 -07:00
gluaxspeed
ab5fcecae2 more debugging 2021-08-12 02:42:42 -07:00
gluaxspeed
f0de65835c regen tests, debug out a import test 2021-08-12 02:15:12 -07:00
gluaxspeed
ad5591d6fe disable including readmes in crates documetnation while circleci doesn't support 1.54 2021-08-11 00:18:27 -07:00
gluaxspeed
402ad7aabb finish in code documentation, deny no doc comments 2021-08-10 14:10:27 -07:00
gluaxspeed
d9769b4c37 remove canonicalization from asg, merge master 2021-08-09 14:10:36 -07:00
Alessandro Coglio
2f9e315c78
Merge pull request #1245 from AleoHQ/dependabot/cargo/snarkvm-dpc-0.7.8
Bump snarkvm-dpc from 0.7.7 to 0.7.8
2021-08-06 16:10:38 -10:00
Alessandro Coglio
b35766d572
Merge pull request #1244 from AleoHQ/dependabot/cargo/snarkvm-gadgets-0.7.8
Bump snarkvm-gadgets from 0.7.7 to 0.7.8
2021-08-06 15:45:22 -10:00
dependabot[bot]
8e18a9f3f8
Bump snarkvm-dpc from 0.7.7 to 0.7.8
Bumps [snarkvm-dpc](https://github.com/AleoHQ/snarkVM) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.7...v0.7.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 10:21:02 +00:00
dependabot[bot]
d230b4b64c
Bump snarkvm-gadgets from 0.7.7 to 0.7.8
Bumps [snarkvm-gadgets](https://github.com/AleoHQ/snarkVM) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.7...v0.7.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 10:20:46 +00:00
dependabot[bot]
2d7f2dfef3
Bump snarkvm-r1cs from 0.7.7 to 0.7.8
Bumps [snarkvm-r1cs](https://github.com/AleoHQ/snarkVM) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.7...v0.7.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 10:20:30 +00:00
dependabot[bot]
6474daf791
Bump snarkvm-curves from 0.7.7 to 0.7.8
Bumps [snarkvm-curves](https://github.com/AleoHQ/snarkVM) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.7...v0.7.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 10:17:36 +00:00
damirka
c5687fa75b Merge remote-tracking branch 'origin/master' into leo-manifest-dependencies 2021-08-05 13:11:49 +03:00
Alessandro Coglio
55f110b6b6
Merge pull request #1235 from AleoHQ/return-import-tests
[Feature] Getting import tests back
2021-08-05 02:01:09 -07:00
gluaxspeed
003faed13a merge master, fix tests 2021-08-04 17:30:54 -07:00
gluaxspeed
b35375908b state errors migrated 2021-08-04 15:22:40 -07:00
gluaxspeed
2a99a87da7 colored backtrace reports, full and 1 for leo backtrace 2021-08-04 14:19:19 -07:00
damirka
eb0863cda9 closes #1183 2021-08-04 23:34:11 +03:00
damirka
315e8b0c92 Merge remote-tracking branch 'origin/master' into leo-manifest-dependencies 2021-08-04 23:04:56 +03:00
damirka
49c3d4b06f Merge branch 'master' into leo-manifest-dependencies 2021-08-04 23:04:37 +03:00
Alessandro Coglio
09b1fddd59
Merge pull request #1234 from AleoHQ/dependabot/cargo/snarkvm-gadgets-0.7.7
Bump snarkvm-gadgets from 0.7.6 to 0.7.7
2021-08-04 12:16:54 -07:00
Alessandro Coglio
5e3b54a9a3
Merge pull request #1233 from AleoHQ/dependabot/cargo/snarkvm-dpc-0.7.7
Bump snarkvm-dpc from 0.7.6 to 0.7.7
2021-08-04 12:16:24 -07:00
gluaxspeed
b1f93e95b3 dep clean up, clippy, leo result 2021-08-04 05:52:08 -07:00
gluaxspeed
6302bda18e cli errors, leo result type 2021-08-04 03:36:33 -07:00
dependabot[bot]
3af2e63dc0
Bump snarkvm-gadgets from 0.7.6 to 0.7.7
Bumps [snarkvm-gadgets](https://github.com/AleoHQ/snarkVM) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.6...v0.7.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 10:16:12 +00:00
dependabot[bot]
f0d0ea081b
Bump snarkvm-dpc from 0.7.6 to 0.7.7
Bumps [snarkvm-dpc](https://github.com/AleoHQ/snarkVM) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.6...v0.7.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 10:16:06 +00:00
dependabot[bot]
b3129b5bb4
Bump snarkvm-r1cs from 0.7.6 to 0.7.7
Bumps [snarkvm-r1cs](https://github.com/AleoHQ/snarkVM) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.6...v0.7.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 10:15:58 +00:00
gluaxspeed
162949185f code cleanup 2021-08-04 00:42:48 -07:00
Alessandro Coglio
ad6e27000d
Merge pull request #1229 from AleoHQ/dependabot/cargo/snarkvm-curves-0.7.7
Bump snarkvm-curves from 0.7.6 to 0.7.7
2021-08-03 16:13:06 -07:00
Alessandro Coglio
8e8e3fdf42
Merge pull request #1150 from AleoHQ/feature/remove-nightly-support
[Feature] Deprecate Nightly + OS CIs
2021-08-03 14:59:07 -07:00
dependabot[bot]
7f0c0f0b7a
Bump snarkvm-curves from 0.7.6 to 0.7.7
Bumps [snarkvm-curves](https://github.com/AleoHQ/snarkVM) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-03 18:04:29 +00:00