Commit Graph

183 Commits

Author SHA1 Message Date
Eric McCarthy
26cbb3ffcf
Update circuit.leo
Change the 2nd variable named `character` in scope to be `character2`.
2021-08-21 22:08:46 -07:00
Eric McCarthy
76cb8f6ed7
Update nonprinting.leo
Change duplicate 'in32' to 'in33'
2021-08-21 17:53:34 -07:00
gluaxspeed
4fc6c5f586 core function imports 2021-08-18 18:52:56 -07:00
gluaxspeed
fbc3dfb4c9 merge master, regen tests 2021-08-18 16:14:14 -07:00
gluaxspeed
56996f989e fix ternary bug 2021-08-18 01:09:45 -07:00
gluaxspeed
20b0f4f2f8 fix canonicalization function type return bugs 2021-08-16 15:12:36 -07:00
damirka
9d3d76fc63 allow dashes in member access 2021-08-05 17:53:08 +03:00
damirka
eb0863cda9 closes #1183 2021-08-04 23:34:11 +03:00
Alessandro Coglio
f1ba77f9ed
Merge pull request #1207 from AleoHQ/fix/address-issue
Fix the AssignmentMissing error involving non-constant addresses
2021-07-30 13:46:50 -07:00
gluaxspeed
39203492f8 add tests for fixes 2021-07-28 16:56:05 -07:00
gluaxspeed
72e2bb1fb6 Some test fixes 2021-07-28 11:53:45 -07:00
gluaxspeed
7d48c2fb75 merge master 2021-07-28 11:18:35 -07:00
gluaxspeed
745f6c2275 variable shadow error 2021-07-27 13:39:34 -07:00
gluaxspeed
9a53905a55 Merge branch 'master' of github.com:AleoHQ/leo into feature/console-refactor-and-outs 2021-07-27 12:33:37 -07:00
gluaxspeed
42f58ff33e added more tests 2021-07-27 09:31:23 -07:00
gluaxspeed
3f890c9f30 fix reverse loop have to add range, which is always 1 for now 2021-07-26 17:22:05 -07:00
gluaxspeed
20d64970ab merge master, color only at cli as it breaks tests, remove debug 2021-07-26 16:49:33 -07:00
Alessandro Coglio
49a51d6026
Merge pull request #1185 from AleoHQ/bug/ternary-different-types
[Bugfix] Ternary Type Check
2021-07-24 13:21:59 -07:00
gluaxspeed
1c3362d191 ternary different types errors out 2021-07-23 17:12:30 -07:00
gluaxspeed
1d72107119 inclusive range 2021-07-23 15:14:37 -07:00
gluaxspeed
61253031b4 countdown loops 2021-07-22 22:17:33 -07:00
gluaxspeed
83e6edd12a write test for import strings being canonicalized 2021-07-22 12:53:42 -07:00
Alessandro Coglio
e0b586a9a1
Merge pull request #1164 from AleoHQ/feature/theorem-tests
[Feature-Impl] Ast generation tests
2021-07-21 11:04:19 -07:00
gluaxspeed
a2577231fd add test 2021-07-19 11:33:18 -07:00
gluaxspeed
8b44cfa9c7 Merge branch 'master' of github.com:AleoHQ/leo into feature/theorem-tests 2021-07-16 03:28:37 -07:00
gluaxspeed
470a4075f8 refactor theorem to ast for out file hashes, migrate old tests 2021-07-16 03:20:36 -07:00
gluaxspeed
af147449be "fix type, more test coverage" 2021-07-14 00:39:09 -07:00
gluaxspeed
c5c5bce2f0 Merge branch 'master' of github.com:AleoHQ/leo into bug/misc-bugs 2021-07-13 22:27:24 -07:00
gluaxspeed
c0628a04c7 Merge branch 'master' of github.com:AleoHQ/leo into bug/misc-bugs 2021-07-11 22:55:29 -07:00
gluaxspeed
d4d122e59e Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-parser-bugs 2021-07-09 11:55:10 -07:00
gluaxspeed
01717ee86f Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-parser-bugs 2021-07-08 04:07:00 -07:00
gluaxspeed
0bd580e3d1 fmt fixes, realized they have to be in that format for outputs 2021-07-08 04:05:00 -07:00
gluax
a496841563 the identifiers differ, change it to name 2021-07-02 18:29:48 -07:00
gluax
376d713fb3 add test for missed case from fixed bugs 2021-07-02 15:13:38 -07:00
gluax
bcb50ae27f change equality_expressions 2021-07-01 13:40:29 -07:00
gluax
f35b120588 test cases for lest test 2021-06-29 21:12:24 -07:00
gluax
bb63e13edf fix all the bugs for the new array indexes 2021-06-29 20:55:48 -07:00
gluax
5c3b48a25b slight rework to access to clean it up and fix other missed cases, added tests 2021-06-28 14:10:26 -07:00
gluax
5ebea328fb const_value for array_init, and canonicalization fixes 2021-06-26 00:00:09 -07:00
Alessandro Coglio
b6065c34d4
Merge pull request #1060 from AleoHQ/bugs/array-type-inference-issues
array type inference bugs
2021-06-25 11:12:21 -07:00
gluax
068958a2f4 array type inference bugs 2021-06-23 07:08:32 -07:00
damirka
77301e98bd add tests 2021-06-23 14:16:44 +03:00
gluax
957d73f33f more tests 2021-06-22 14:31:45 -07:00
gluax
af1aca3d9f parse returns leo error not rust error 2021-06-21 23:10:55 -07:00
gluax
b969774b85 check input integer types at all stages 2021-06-21 19:53:01 -07:00
gluax
a2850bbd02 Self bug fix, and string canonicalization fix 2021-06-17 12:47:19 -07:00
gluax
076aafa097 resolve merge conflicts 2021-06-15 11:32:46 -07:00
gluax
d6266102c3 more tests, hex fix 2021-06-09 15:54:05 -07:00
gluax
c9b565cbfb fix slice assignment for strings 2021-06-08 12:29:49 -07:00
Protryon
a0acc915e9 dynamic array index assignment 2021-06-04 06:14:09 -07:00
damirka
d578a1084e fix field tests for inputs, improves string and char inputs 2021-05-25 21:06:45 +03:00
damirka
8959d3e44b adds char and string tests for inputs and const inputs 2021-05-25 20:59:24 +03:00
gluax
7145a751d9 console.log refactor, concat test... has asg or TIPhase reducer bug 2021-05-22 21:15:07 -04:00
gluax
bce10cc885 quick test fix 2021-05-22 18:21:11 -04:00
gluax
1c57eb4196 input string syntax 2021-05-22 17:57:05 -04:00
gluax
ddbdd485d2 Revert "change pest according to suggestion fixes it"
This reverts commit c8e63a21d6.
2021-05-22 10:41:54 -04:00
gluax
c8e63a21d6 change pest according to suggestion fixes it 2021-05-20 20:10:00 -04:00
gluax
ca59ff3177 tests for now should be changed to use input strings when they are in 2021-05-20 14:30:12 -04:00
gluax
b6479b754f tests are passing interestingly but idk if they should be, == doesn't work for input on fields 2021-05-19 16:48:34 -04:00
damirka
c4616254d4 follow up, fixed wrong test 2021-05-19 20:53:41 +03:00
damirka
ca6b8695b5 disabled blake2s for now 2021-05-19 20:50:43 +03:00
gluax
08022bb383 char eq operators in, they just call the field ones for now, so when those are in they will work 2021-05-18 12:04:58 -04:00
gluax
1377fc5d75 output file now does 'a', swapped to compiler tests, we fail char tests for now since no constraints 2021-05-14 15:34:39 -04:00
damirka
17744f7f7d removes import tests, fix ci, add constraint number check, more tests 2021-05-13 16:56:17 +03:00
damirka
e2492ba9e4 more constraints checks 2021-05-12 20:47:03 +03:00
damirka
cb2bd62ea9 Merge branch 'master' into compiler-tests 2021-05-12 20:02:03 +03:00
damirka
6138f8e719 removed old compiler tests 2021-05-12 19:39:27 +03:00
damirka
5d018f4ad2 u* 2021-05-10 21:11:31 +03:00
damirka
1a15ad3a8f i* 2021-05-10 20:19:19 +03:00
damirka
4fcce10329 remove unnecessary mod 2021-05-06 14:58:36 +03:00
damirka
a39197af62 add const test 2021-05-06 14:52:20 +03:00
damirka
ac57fe6410 test conflicts + clippy 2021-05-06 14:27:42 +03:00
damirka
e3983bfa90 array 2021-05-06 14:01:42 +03:00
damirka
91c9969ff9 arrays 1/2 2021-05-05 21:25:24 +03:00
damirka
7f390d4d5c global const 2021-05-05 21:06:15 +03:00
damirka
d5e8fb3718 imports 2021-05-05 19:31:25 +03:00
damirka
925afef17c function 2021-05-05 18:29:44 +03:00
damirka
032341089b program state 2021-05-05 17:48:33 +03:00
damirka
72648c993c program inputs 2021-05-05 17:35:34 +03:00
damirka
71486fb628 circuits 2021-05-05 11:37:51 +03:00
damirka
8464c5b9d2 i8 + mutability 2021-05-03 17:28:53 +03:00
damirka
0b798dc950 console + definition + core 2021-05-03 16:47:33 +03:00
Protryon
534f36a077 compiler tests 2021-04-19 18:08:14 -07:00