Eric McCarthy
|
9d05b02ef3
|
update expectations based on results after merging master
|
2021-08-26 20:33:00 -07:00 |
|
Alessandro Coglio
|
062994e4fe
|
Merge pull request #1284 from AleoHQ/dup-in32-patch-1
Update nonprinting.leo
|
2021-08-26 19:55:54 -07:00 |
|
gluaxspeed
|
a5b6780c3b
|
big self canonicalization fixes
|
2021-08-25 08:55:26 -07:00 |
|
gluaxspeed
|
d100db7396
|
aliases tests, and some bug fixes, errors
|
2021-08-25 07:30:17 -07:00 |
|
gluaxspeed
|
2ecb10730e
|
turn off leo-debug for test generation
|
2021-08-24 23:59:33 -07:00 |
|
gluaxspeed
|
1628e19658
|
alias resolution done during type inference
|
2021-08-24 22:58:59 -07:00 |
|
damirka
|
034ef90e62
|
Revert "Squashed commit of the following:"
This reverts commit dfa15b1a4f .
|
2021-08-24 22:27:37 +03:00 |
|
damirka
|
dfa15b1a4f
|
Squashed commit of the following:
commit 7a5979660b
Merge: 695a949c 88bd065d
Author: Alessandro Coglio <acoglio@aleo.org>
Date: Mon Aug 23 08:50:41 2021 -0700
Merge pull request #1272 from AleoHQ/feature/call-expressions-ast-store-type
[Implmentation] Adds Type to Circuit Member Access Expressions
commit 695a949cff
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Aug 23 17:25:19 2021 +0300
Bump serde from 1.0.127 to 1.0.128 (#1288)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.127 to 1.0.128.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.127...v1.0.128)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit fd3d7d0624
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Aug 23 17:25:05 2021 +0300
Bump serde_yaml from 0.8.18 to 0.8.19 (#1289)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.18 to 0.8.19.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.18...0.8.19)
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit 84e972c9ad
Merge: d609bb28 fbc3dfb4
Author: Alessandro Coglio <acoglio@aleo.org>
Date: Sat Aug 21 18:44:39 2021 -0700
Merge pull request #1267 from AleoHQ/bug/implicit-ternary-type-inference
[Bugfix] Ternary Implicit and Explicit Unkown Type
commit 88bd065d8a
Merge: 56c66fa4 235daa9e
Author: gluaxspeed <jonathan.t.pavlik@gmail.com>
Date: Wed Aug 18 16:25:23 2021 -0700
merge master, regen tests
commit fbc3dfb4c9
Merge: 56996f98 235daa9e
Author: gluaxspeed <jonathan.t.pavlik@gmail.com>
Date: Wed Aug 18 16:14:14 2021 -0700
merge master, regen tests
commit 56c66fa4ba
Author: gluaxspeed <jonathan.t.pavlik@gmail.com>
Date: Wed Aug 18 14:31:06 2021 -0700
testing and clean up
commit a91c8b9e6a
Author: gluaxspeed <jonathan.t.pavlik@gmail.com>
Date: Wed Aug 18 13:38:50 2021 -0700
Revert "type on call expression"
This reverts commit cf5a23b38f .
commit cf5a23b38f
Author: gluaxspeed <jonathan.t.pavlik@gmail.com>
Date: Wed Aug 18 02:04:41 2021 -0700
type on call expression
commit 56996f989e
Author: gluaxspeed <jonathan.t.pavlik@gmail.com>
Date: Wed Aug 18 01:09:45 2021 -0700
fix ternary bug
|
2021-08-24 22:21:40 +03:00 |
|
gluaxspeed
|
1576f776f3
|
resolve master conflicts
|
2021-08-24 03:00:08 -07:00 |
|
Eric McCarthy
|
d8c89f257d
|
also update number of private variables and R1CS checksum expectations
|
2021-08-23 10:41:39 -07:00 |
|
Eric McCarthy
|
b516a8449d
|
update ast checksum expectations
|
2021-08-23 10:32:21 -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 |
|
gluaxspeed
|
93509bf5c1
|
alias node type
|
2021-08-19 09:16:50 -07: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
|
88bd065d8a
|
merge master, regen tests
|
2021-08-18 16:25:23 -07:00 |
|
gluaxspeed
|
fbc3dfb4c9
|
merge master, regen tests
|
2021-08-18 16:14:14 -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 |
|
gluaxspeed
|
cf5a23b38f
|
type on call expression
|
2021-08-18 02:04:41 -07:00 |
|
gluaxspeed
|
56996f989e
|
fix ternary bug
|
2021-08-18 01:09:45 -07:00 |
|
gluaxspeed
|
c3aa1ce773
|
fix error message formatting in some instances
|
2021-08-16 17:46:50 -07:00 |
|
gluaxspeed
|
20b0f4f2f8
|
fix canonicalization function type return bugs
|
2021-08-16 15:12:36 -07:00 |
|
gluaxspeed
|
12fe626485
|
update readme, fix compiler error range
|
2021-08-13 20:02:43 -07:00 |
|
gluaxspeed
|
0702be2a18
|
regen error tests
|
2021-08-13 16:12:54 -07:00 |
|
gluaxspeed
|
a09f6f0c83
|
serilization for span that's test dependent
|
2021-08-12 03:27:18 -07:00 |
|
gluaxspeed
|
f0de65835c
|
regen tests, debug out a import test
|
2021-08-12 02:15:12 -07:00 |
|
gluaxspeed
|
478bb83f70
|
regen tests after removing dead errors, docs
|
2021-08-10 22:56:46 -07:00 |
|
gluaxspeed
|
d9769b4c37
|
remove canonicalization from asg, merge master
|
2021-08-09 14:10: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 |
|
gluaxspeed
|
b1f93e95b3
|
dep clean up, clippy, leo result
|
2021-08-04 05:52:08 -07:00 |
|
gluaxspeed
|
88e0e32317
|
formatting fixes, regen outs, still have a few things to do
|
2021-08-03 04:49:07 -07:00 |
|
damirka
|
34f1c00da2
|
clippy & test fixes
|
2021-08-02 23:45:33 +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
|
011d405e00
|
fix output file types from CRLF to LF
|
2021-07-27 09:48:00 -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
|
b69dd4e277
|
remove debug, realized it was crlf vs lf whoops
|
2021-07-23 00:34:52 -07:00 |
|
gluaxspeed
|
61253031b4
|
countdown loops
|
2021-07-22 22:17:33 -07:00 |
|
gluaxspeed
|
2544a680f1
|
forgot to regen tests after merging
|
2021-07-21 14:57:40 -07:00 |
|
gluaxspeed
|
8028766cb4
|
Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-format-strings
|
2021-07-21 14:43:37 -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
|
c1879e6e1c
|
Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-format-strings
|
2021-07-21 02:51:35 -07:00 |
|
gluaxspeed
|
a9593971b9
|
format string and grammar changes
|
2021-07-20 14:52:35 -07:00 |
|
gluaxspeed
|
a2577231fd
|
add test
|
2021-07-19 11:33:18 -07:00 |
|
gluaxspeed
|
98d47ab32a
|
Merge branch 'master' of github.com:AleoHQ/leo into feature/theorem-tests
|
2021-07-18 20:00:48 -07:00 |
|
weikeng
|
fef7fe6c90
|
update the test as well as ci
|
2021-07-17 01:55:11 -07:00 |
|
gluaxspeed
|
b456488758
|
merge master
|
2021-07-16 03:39:32 -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
|
8695b11ce0
|
Forgot to refactor in compiler tests
|
2021-07-14 05:04:09 -07:00 |
|
gluaxspeed
|
baca9ca4a5
|
Hash the ast in the .out file
|
2021-07-14 02:58:10 -07:00 |
|
gluaxspeed
|
af147449be
|
"fix type, more test coverage"
|
2021-07-14 00:39:09 -07:00 |
|
gluaxspeed
|
650a729763
|
Add theorem generations to tests
|
2021-07-12 11:45:51 -07:00 |
|
gluaxspeed
|
39e21e5d93
|
add more tests
|
2021-07-09 12:15:29 -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 |
|
gluax
|
9ace3243d2
|
forgot to regenerate tests
|
2021-07-02 15:29:50 -07:00 |
|
gluax
|
bcb50ae27f
|
change equality_expressions
|
2021-07-01 13:40:29 -07:00 |
|
gluax
|
eee9cfc1be
|
fix parser to match abnf conditional
|
2021-06-30 22:20:06 -07:00 |
|
gluax
|
f35b120588
|
test cases for lest test
|
2021-06-29 21:12:24 -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
|
1f35308f47
|
depend on improved tests branch
|
2021-06-15 11:44:20 -07:00 |
|
gluax
|
076aafa097
|
resolve merge conflicts
|
2021-06-15 11:32:46 -07:00 |
|
gluax
|
a6f4052dde
|
type inference char reducer fixed, outputs fixed
|
2021-06-15 11:23:08 -07:00 |
|
gluax
|
7d29ef0d5e
|
custom serializer/deserializer
|
2021-06-14 15:56:39 -07:00 |
|
gluax
|
d1ca1108fb
|
scalar chars refactor, some stuff got fixed, some stuff broke
|
2021-06-11 16:16:21 -07:00 |
|
Alessandro Coglio
|
04c809c0dc
|
Merge pull request #1027 from AleoHQ/bug/1025-assigning-slice-to-string
fix slice assignment for strings
|
2021-06-11 11:36:08 -07:00 |
|
gluax
|
debaf9cd61
|
more byte failing tests
|
2021-06-11 10:05:08 -07:00 |
|
gluax
|
5b4cc494c1
|
fix parser bug allowing illegal unicode escape
|
2021-06-10 10:59:35 -07:00 |
|
gluax
|
d6266102c3
|
more tests, hex fix
|
2021-06-09 15:54:05 -07:00 |
|
gluax
|
9eedd61ccd
|
rebase master, redo tests
|
2021-06-08 14:59:38 -07:00 |
|
p
|
e816ae4ac3
|
fix array dyn mut
|
2021-06-08 14:52:12 -07:00 |
|
gluax
|
0a71466c41
|
pull snarkvm deps, for test fix
|
2021-06-08 14:01:10 -07:00 |
|
gluax
|
d4cdd93d15
|
Merge branch 'feat/update-snarkvm-0.5.4' of github.com:AleoHQ/leo into bug/1025-assigning-slice-to-string
|
2021-06-08 13:44:22 -07:00 |
|
collin
|
1b5f2728e5
|
deprecate abnf, regenerate tests
|
2021-06-08 13:15:26 -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
|
3bcb0ef942
|
fix test expectations
|
2021-06-03 19:34:10 +03:00 |
|
damirka
|
1478e1be22
|
fix expectations for parser test
|
2021-06-02 15:48:11 +03:00 |
|
damirka
|
ecff3d6f2b
|
fixes #995
|
2021-06-02 14:53:32 +03:00 |
|
gluax
|
bdcd945716
|
Merge branch 'feature/char-type' of github.com:AleoHQ/leo into feature/char-type
|
2021-05-25 16:37:55 -04:00 |
|
gluax
|
e53c35f3f2
|
made suggested changes
|
2021-05-25 16:36:59 -04:00 |
|
damirka
|
d578a1084e
|
fix field tests for inputs, improves string and char inputs
|
2021-05-25 21:06:45 +03:00 |
|
gluax
|
bdcf7ce944
|
resolve direct unicode in a string
|
2021-05-25 13:49:26 -04:00 |
|
gluax
|
53a668ae14
|
resolve multiple chars in a char, tests for it
|
2021-05-25 12:18:01 -04:00 |
|
damirka
|
a3416c1e3e
|
added max value for \x7F escape
|
2021-05-24 15:13:33 +03:00 |
|
damirka
|
497b039d60
|
added few more test cases for strings
|
2021-05-24 13:10:28 +03:00 |
|
gluax
|
91f27bc046
|
explicit type resolves issue, will make bug for implict
|
2021-05-22 22:26:24 -04: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
|
329b330c15
|
merge remote
|
2021-05-22 10:47:08 -04:00 |
|
gluax
|
cd95f48f77
|
forgot to remove debug stmt, and regen tests
|
2021-05-21 15:11:48 -04:00 |
|
gluax
|
3971a6100d
|
revert parsing char change, clean up lexing
|
2021-05-21 14:43:05 -04:00 |
|
gluax
|
cce0f597de
|
Revert "refactor for better errors, code shouldn't have been in the lexer"
This reverts commit 1e1486f4ef .
|
2021-05-21 12:33:39 -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 |
|
damirka
|
a5f994ad88
|
Merge remote-tracking branch 'origin/feature/char-type' into feature/string-parsing
|
2021-05-20 19:27:51 +03:00 |
|
gluax
|
1e1486f4ef
|
refactor for better errors, code shouldn't have been in the lexer
|
2021-05-19 18:14:56 -04:00 |
|
damirka
|
f96c4ad37e
|
Merge branch 'feature/char-type' into feature/string-parsing
|
2021-05-20 00:24:22 +03:00 |
|
damirka
|
ed03a385b5
|
fix unicode chars
|
2021-05-19 23:59:54 +03: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
|
737985034b
|
fix tests
|
2021-05-19 23:46:47 +03: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 |
|
damirka
|
32bd282030
|
1st draft for string parsing and ast type
- currently uses back quotes "`" for strings, change later
- ast -> asg unimplemented, strings need to be processed on
canonicalization stage
|
2021-05-18 18:56:55 +03: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 |
|
gluax
|
0435b7ce83
|
remove octal, fix ascii hex
|
2021-05-14 13:07:54 -04:00 |
|
gluax
|
733bc90bbe
|
chars done, should merge in compiler tests
|
2021-05-13 17:25:33 -04:00 |
|
damirka
|
fc385feeca
|
returned parser expectations, removed cwd from compiler tests
|
2021-05-13 17:07:03 +03:00 |
|
damirka
|
17744f7f7d
|
removes import tests, fix ci, add constraint number check, more tests
|
2021-05-13 16:56:17 +03:00 |
|
gluax
|
90f9215a0b
|
char lexer/tokenize/parsing done
|
2021-05-12 15:33:37 -04: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
|
5d018f4ad2
|
u*
|
2021-05-10 21:11:31 +03:00 |
|
damirka
|
1a15ad3a8f
|
i*
|
2021-05-10 20:19:19 +03:00 |
|
gluax
|
f32a1e9ddb
|
merge master, add a parser test to try and improve code coverage
|
2021-05-07 13:34:10 -04: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 |
|
gluax
|
5587d8dd8d
|
don't allow mixing of semi-colons and commas
|
2021-05-05 14:53:46 -04: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
|
dd4d909998
|
Merge branch 'master' into compiler-tests
|
2021-05-05 11:56:00 +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 |
|
gluax
|
e0cf988261
|
hacky, but optional comma only allowed on last member variable
|
2021-04-29 15:22:17 -04:00 |
|
Protryon
|
534f36a077
|
compiler tests
|
2021-04-19 18:08:14 -07:00 |
|
Protryon
|
d933a49eb0
|
extract test framework
|
2021-04-19 06:46:22 -07:00 |
|