collin
|
161fe2608c
|
fix accessing self variable inside nested scope bug
|
2020-12-10 18:02:25 -05:00 |
|
collin
|
08e90f5c59
|
fix array spread type bug
|
2020-12-10 17:54:19 -05:00 |
|
collin
|
e2406bec86
|
fix lower array slice bug
|
2020-12-09 17:42:15 -05:00 |
|
collin
|
40c816f921
|
update swap test
|
2020-12-09 17:08:22 -05:00 |
|
collin
|
6e67ea485a
|
Merge branch 'master' of github.com:AleoHQ/leo into fix/nested-mut-assignee
|
2020-12-09 17:06:49 -05:00 |
|
collin
|
8a44eff4a5
|
fix nested mutable assignee bug, add swap test
|
2020-12-08 16:00:12 -05:00 |
|
Collin Chin
|
8541eb3fb8
|
Update mod.rs
|
2020-12-08 12:21:18 -05:00 |
|
Collin Chin
|
ac68e8e6a4
|
Merge branch 'master' into fix/prefer-include-str
|
2020-12-08 11:37:30 -05:00 |
|
collin
|
b7e5cd13df
|
fix failing test
|
2020-12-08 10:47:07 -05:00 |
|
collin
|
c351c300a2
|
merge master
|
2020-12-07 20:05:15 -05:00 |
|
collin
|
e93100eb6a
|
merge master
|
2020-12-07 19:55:03 -05:00 |
|
Howard Wu
|
f841f2e348
|
Merge pull request #466 from AleoHQ/fix/nested-mut-value
Fixes assignment of mutable variable to mutable variable
|
2020-12-07 20:41:58 -04:00 |
|
collin
|
0f91630a9f
|
merge function input self changes
|
2020-12-04 16:52:19 -05:00 |
|
collin
|
0698f5df59
|
Merge branch 'master' of github.com:AleoHQ/leo into feature/circuit-self-input
|
2020-12-04 16:41:31 -05:00 |
|
collin
|
2352ebaf2c
|
rename all bytes variables to string
|
2020-12-04 15:48:43 -05:00 |
|
collin
|
674caf5902
|
use include_str in all program tests
|
2020-12-04 15:34:51 -05:00 |
|
collin
|
7976c739e9
|
use include_str in program input + state tests
|
2020-12-04 15:20:59 -05:00 |
|
collin
|
675937ba13
|
use include_str in program input tests
|
2020-12-04 12:57:08 -05:00 |
|
collin
|
b2246f1151
|
use include_str in program state tests
|
2020-12-04 12:51:39 -05:00 |
|
collin
|
87c0dd738a
|
add test for bug #427 incomplete conditional
|
2020-12-03 13:44:47 -05:00 |
|
collin
|
dfcc77a860
|
add test for bug #430 early returns
|
2020-12-03 13:38:05 -05:00 |
|
collin
|
4cb07d5cd3
|
add test for nested mutable value
|
2020-12-02 12:31:51 -05:00 |
|
collin
|
d8c08fedd7
|
fix tests
|
2020-12-01 15:37:44 -05:00 |
|
collin
|
8457b05354
|
remove mut circuit variable definition
|
2020-12-01 11:54:51 -05:00 |
|
collin
|
1213209b78
|
cargo fmt check
|
2020-11-23 17:01:01 -05:00 |
|
Collin Chin
|
26151f33ec
|
Merge branch 'master' into fix/tuple-cond-select
|
2020-11-23 16:57:22 -05:00 |
|
Howard Wu
|
1d1e86c8de
|
Merge pull request #447 from AleoHQ/fix/not-expression
fix error using not operator on mutable boolean
|
2020-11-23 13:49:35 -08:00 |
|
collin
|
093bab6b02
|
add test for returning a tuple in a conditional statement
|
2020-11-18 18:28:41 -08:00 |
|
collin
|
5db2b07cb2
|
add test for using not operator on mutable variable
|
2020-11-18 18:23:11 -08:00 |
|
collin
|
789a744deb
|
add test for returning tuples from function
|
2020-11-18 18:13:49 -08:00 |
|
collin
|
69a8b61efe
|
add type-inference module
|
2020-11-12 10:28:24 -08:00 |
|
collin
|
667392237f
|
add symbol-table module
|
2020-11-11 14:57:39 -08:00 |
|
collin
|
d4b6a6d1f8
|
separate symbol-table module
|
2020-11-11 14:42:57 -08:00 |
|
collin
|
eb301d310b
|
separate type-inference module
|
2020-11-11 14:32:46 -08:00 |
|
collin
|
04f4e685ed
|
array type refactor finished. all tests pass
|
2020-11-10 13:22:18 -08:00 |
|
collin
|
d6686005a3
|
fix refactored array initializer tests wip 3
|
2020-11-09 19:26:34 -08:00 |
|
collin
|
34b425ffe5
|
fix refactored array initializer tests wip 2
|
2020-11-09 15:03:12 -08:00 |
|
collin
|
aa17355a72
|
fix refactored array initializer tests wip 1
|
2020-11-09 14:27:59 -08:00 |
|
collin
|
a8c5885836
|
rename core-ast -> ast
|
2020-10-30 17:31:09 -07:00 |
|
collin
|
ffcd93f781
|
rename ast -> grammar 1
|
2020-10-30 17:17:17 -07:00 |
|
collin
|
7589fa65c5
|
rename dynamic-check -> type-inference 2
|
2020-10-30 12:49:01 -07:00 |
|
collin
|
f1e393a9ab
|
rename dynamic-check -> type-inference 1
|
2020-10-30 12:39:02 -07:00 |
|
collin
|
7e7d1e58a0
|
rename typed -> core-ast 2
|
2020-10-30 11:48:40 -07:00 |
|
collin
|
b5a05be09d
|
rename static-check -> symbol-table 2
|
2020-10-30 10:44:44 -07:00 |
|
Collin Chin
|
1a39ae93ca
|
Use matches macro
|
2020-10-27 10:06:50 -07:00 |
|
collin
|
46f585e2ff
|
refactor compiler methods
|
2020-10-27 00:31:36 -07:00 |
|
collin
|
fe79cfcf71
|
merge master
|
2020-10-26 22:05:03 -07:00 |
|
collin
|
d3125a0f9f
|
add new dynamic check errors and tests for variables
|
2020-10-26 18:41:51 -07:00 |
|
collin
|
b3c140d5bb
|
fix array function input bug
|
2020-10-26 13:14:36 -07:00 |
|
collin
|
9bae1037f7
|
fix core package tests
|
2020-10-26 12:55:00 -07:00 |
|
collin
|
17a65fe54a
|
add dynamic check errors for circuits 3
|
2020-10-24 19:27:30 -07:00 |
|
collin
|
6e124e52ff
|
add dynamic check errors for statements
|
2020-10-24 17:01:40 -07:00 |
|
collin
|
22d6c98c77
|
add dynamic check errors for functions
|
2020-10-24 16:50:07 -07:00 |
|
collin
|
e19616b4e5
|
add dynamic check errors for circuits 2
|
2020-10-24 13:07:27 -07:00 |
|
collin
|
973e2a6afc
|
add dynamic check errors for circuits 1
|
2020-10-24 02:53:09 -07:00 |
|
collin
|
8e75e36532
|
manually impl PartialEq for array types
|
2020-10-23 21:54:19 -07:00 |
|
collin
|
f2a808cbe7
|
impl membership type assertion error handling
|
2020-10-23 17:31:41 -07:00 |
|
collin
|
dbade1f4fe
|
fix mismatched types test
|
2020-10-23 17:00:11 -07:00 |
|
ljedrz
|
4591a0eb04
|
refactor: use &Path instead of (&)PathBuf in tests
|
2020-10-16 17:23:22 +02:00 |
|
ljedrz
|
69d35063f2
|
perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 15:52:45 +02:00 |
|
ljedrz
|
98baae93c1
|
clippy: assorted fixes to tests and benches
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 15:09:03 +02:00 |
|
collin
|
9ee5b58cff
|
Merge branch 'fix/blake2s-test-output-formatting' of github.com:AleoHQ/leo into feature/import-parser
|
2020-09-18 13:04:10 -07:00 |
|
collin
|
a76f4f6767
|
fix test
|
2020-09-18 12:57:44 -07:00 |
|
Collin Chin
|
13dc121091
|
Merge pull request #368 from AleoHQ/fix/array-return-type
Fix/array return type
|
2020-09-18 12:47:04 -07:00 |
|
Collin Chin
|
249242266c
|
Merge pull request #365 from AleoHQ/feature/blake2s
Implement core module with native blake2s circuit
|
2020-09-18 12:46:31 -07:00 |
|
collin
|
3164f6ce33
|
fix import tests
|
2020-09-18 12:41:38 -07:00 |
|
Collin Chin
|
7dfbff7795
|
Merge pull request #351 from AleoHQ/feature/log-numbers
remove types from console.log and formatted strings
|
2020-09-18 11:30:12 -07:00 |
|
collin
|
6250e95277
|
impl compare nested array types method for function return type
|
2020-09-17 12:46:55 -07:00 |
|
collin
|
733561cc93
|
remove unused test dependencies
|
2020-09-16 13:45:53 -07:00 |
|
collin
|
38d7397c2c
|
add unit and integration tests for core unstable blake2s circuit
|
2020-09-16 13:41:50 -07:00 |
|
collin
|
9ed64a6627
|
fix conflicts
|
2020-09-10 16:44:25 -07:00 |
|
collin
|
d2810f2789
|
fix tests
|
2020-09-10 11:18:49 -07:00 |
|
collin
|
5db13fa904
|
test Self keyword fails in main function
|
2020-09-07 22:07:26 -07:00 |
|
collin
|
5e4877e778
|
fix static call nested and test
|
2020-09-07 21:56:39 -07:00 |
|
collin
|
a83795eda3
|
fix define circuit inside circuit function bug
|
2020-09-07 21:15:30 -07:00 |
|
collin
|
09e209f5eb
|
fix storing self circuit variables inside circuit function bug
|
2020-09-07 15:06:52 -07:00 |
|
collin
|
17784ffb23
|
add tests for mutable circuit variables using self keyword
|
2020-09-07 13:47:50 -07:00 |
|
collin
|
2d7886f951
|
add test comments
|
2020-09-03 13:58:04 -07:00 |
|
collin
|
3ef023b87a
|
impl tests for nested and tuple array combinations in Leo programs
|
2020-09-03 13:56:45 -07:00 |
|
collin
|
4932eb688e
|
support all combinations of nested and tuple array syntax. Test small and large arrays
|
2020-09-03 13:22:05 -07:00 |
|
collin
|
b6dc77e112
|
support nested array type in leo inputs
|
2020-09-03 11:24:23 -07:00 |
|
collin
|
de3564b98d
|
support nested array type in leo programs
|
2020-09-03 10:02:59 -07:00 |
|
Howard Wu
|
788300ef93
|
Merge pull request #343 from AleoHQ/fix/input-error-messages
Add file path to all error messages
|
2020-09-03 02:50:13 -07:00 |
|
howardwu
|
981d272fa6
|
Fixes array indices for both nested and tuple cases
|
2020-09-03 02:40:50 -07:00 |
|
howardwu
|
40ac13e317
|
Fix critical array indexing bug
|
2020-09-03 00:30:57 -07:00 |
|
collin
|
60db15596d
|
fix parser syntax errors. fix tests
|
2020-09-02 23:23:50 -07:00 |
|
Howard Wu
|
ad53cdc9ba
|
Merge pull request #341 from AleoHQ/refactor/keywords
Refactor/keywords
|
2020-09-02 21:54:59 -07:00 |
|
Howard Wu
|
179fba27fc
|
Merge pull request #337 from AleoHQ/fix/missing-license
add missing license headers
|
2020-09-02 21:53:14 -07:00 |
|
collin
|
603438b216
|
impl self keyword protected name and add tests
|
2020-09-02 20:59:05 -07:00 |
|
collin
|
42b03a3ccb
|
impl input keyword protected name
|
2020-09-02 20:24:21 -07:00 |
|
collin
|
94f6c00f30
|
add data types to protected names. add identifier tests
|
2020-09-02 19:23:16 -07:00 |
|
collin
|
ddb40a3b15
|
add missing license headers
|
2020-09-02 18:45:48 -07:00 |
|
collin
|
c84227f69a
|
Merge branch 'master' of github.com:AleoHQ/leo into feature/mutable-circuit-variables
|
2020-09-02 18:04:00 -07:00 |
|
collin
|
d35188abcb
|
test mutable circuit variables
|
2020-09-02 18:01:47 -07:00 |
|
Collin Chin
|
6fc3393f5c
|
Merge pull request #334 from AleoHQ/feature/array-init-parenthesis
Feature/array init parenthesis
|
2020-09-02 20:36:13 -04:00 |
|
Collin Chin
|
7bc803bd32
|
Merge pull request #333 from AleoHQ/feature/rename-circuit-field
Feature/rename circuit field
|
2020-09-02 20:36:01 -04:00 |
|
collin
|
51b80d1742
|
Merge branch 'feature/rename-circuit-field' into feature/mutable-circuit-variables
|
2020-09-02 16:59:30 -07:00 |
|
collin
|
84a874b0ce
|
add tests for large array initializer
|
2020-09-02 16:49:06 -07:00 |
|
collin
|
bd3b465a4f
|
add tests for input array initializer
|
2020-09-02 16:04:41 -07:00 |
|
collin
|
28fca854d2
|
rename circuit_field -> circuit_variable in compiler tests
|
2020-09-02 14:15:30 -07:00 |
|
collin
|
f286ba241d
|
add type fail tests
|
2020-09-02 11:40:58 -07:00 |
|
collin
|
8cf5eb8790
|
all tests pass
|
2020-09-02 11:25:49 -07:00 |
|
collin
|
e7091b18ed
|
fix tests
|
2020-09-02 11:12:12 -07:00 |
|
collin
|
a86018c0ea
|
impl tests for allocated addresses
|
2020-08-19 03:11:30 -07:00 |
|
collin
|
20ae244f67
|
expect compiler error for integer test
|
2020-08-19 00:44:01 -07:00 |
|
collin
|
c686115305
|
Merge branch 'master' of github.com:AleoHQ/leo into fix/synthesis-error-stack-overflow
|
2020-08-19 00:12:54 -07:00 |
|
Howard Wu
|
f57a0cc497
|
Merge pull request #249 from AleoHQ/feature/console
Implement console functions
|
2020-08-19 00:10:44 -07:00 |
|
collin
|
c7c2d14597
|
impl group number syntax in compiler and test zero and one
|
2020-08-18 13:28:08 -07:00 |
|
collin
|
f675e895f5
|
merge master
|
2020-08-18 11:22:56 -07:00 |
|
raychu86
|
ae10a78eb5
|
Add license header
|
2020-08-18 03:50:26 -07:00 |
|
collin
|
5bd2575fd5
|
add test to check for stack overflow
|
2020-08-17 01:30:13 -07:00 |
|
collin
|
3f49eb0e3f
|
comment out group and field tests
|
2020-08-16 19:52:33 -07:00 |
|
collin
|
e58a5f4e0e
|
clean up
|
2020-08-16 19:45:35 -07:00 |
|
collin
|
e6e02a0e50
|
refactor all tests
|
2020-08-16 19:14:26 -07:00 |
|
collin
|
47523f7f5d
|
start porting tests over
|
2020-08-16 17:20:47 -07:00 |
|
collin
|
4533915438
|
support conditional console functions
|
2020-08-16 16:10:07 -07:00 |
|
collin
|
ced738f852
|
use from y coordinate from snarkos
|
2020-08-15 22:59:26 -07:00 |
|
collin
|
a4b29d2651
|
impl new group notation for inputs compiler
|
2020-08-15 17:21:18 -07:00 |
|
collin
|
37bedc8662
|
impl tests for group notation
|
2020-08-15 16:31:07 -07:00 |
|
collin
|
79b13138ff
|
add restriction
|
2020-08-15 01:58:33 -07:00 |
|
collin
|
3d794c6a20
|
allow newlines and trailing commas in function declarations
|
2020-08-15 00:25:11 -07:00 |
|
Howard Wu
|
7ba71bbfc1
|
Merge pull request #229 from AleoHQ/fix/not-equals-stack-overflow
fixes stack overflow error
|
2020-08-14 21:02:11 -07:00 |
|
collin
|
d4ab9d915c
|
add not equals tests to integers
|
2020-08-14 00:25:39 -07:00 |
|
collin
|
24df4ae57a
|
allow integers. do not allow field or group equality or comparison
|
2020-08-13 12:11:56 -07:00 |
|
collin
|
bea47246a6
|
Merge branch 'fix/group-type' of github.com:AleoHQ/leo into feature/tuple
|
2020-08-13 11:46:19 -07:00 |
|
collin
|
d1eddcf4db
|
fix input group value and add test
|
2020-08-13 11:37:48 -07:00 |
|
collin
|
08978cc9e7
|
refactor return values to tuple types
|
2020-08-11 01:08:02 -07:00 |
|
collin
|
79846ab565
|
support nested tuple types
|
2020-08-10 19:45:03 -07:00 |
|
collin
|
a0195c3180
|
add tuple tests
|
2020-08-10 19:40:49 -07:00 |
|
collin
|
9c7e14cf4d
|
comment out integer tests
|
2020-08-10 14:46:36 -07:00 |
|
collin
|
168561f340
|
comment out integers
|
2020-08-08 02:17:20 -07:00 |
|
collin
|
62c5d8251b
|
add specific test for import definition
|
2020-08-07 16:59:32 -07:00 |
|
collin
|
13ca17634d
|
allow import definition at any point in a leo file
|
2020-08-07 16:35:55 -07:00 |
|
collin
|
3d1edefedb
|
add definition parsing to typed. add tests
|
2020-08-05 22:45:52 -07:00 |
|
collin
|
8ad4724b01
|
merge unary pr
|
2020-08-05 20:06:33 -07:00 |
|
collin
|
1fd3e946f8
|
use compound atomic rules in pest, update tests
|
2020-08-05 18:13:50 -07:00 |
|
collin
|
c66efc03f0
|
impl negation tests for all types
|
2020-08-04 21:37:09 -07:00 |
|
Collin Chin
|
ba23ea3832
|
Merge pull request #152 from AleoHQ/fix/pest-address
Fix/pest address
|
2020-08-04 19:11:41 -07:00 |
|
collin
|
8b674388ad
|
Merge branch 'master' of github.com:AleoHQ/leo into feature/array-size
|
2020-08-03 23:23:55 -07:00 |
|
collin
|
a0d294591e
|
enforce aleo prefix and character length
|
2020-08-03 23:22:11 -07:00 |
|
collin
|
2c3c852ff4
|
Merge branch 'master' of github.com:AleoHQ/leo into fix/pest-address
|
2020-08-03 23:12:03 -07:00 |
|
collin
|
279c322f2d
|
fix division max value bug
|
2020-08-03 18:54:27 -07:00 |
|
collin
|
d08364b71b
|
check for negation overflow in division test
|
2020-08-03 15:38:47 -07:00 |
|
collin
|
95984c98c9
|
fix division by zero error detect
|
2020-08-03 15:22:29 -07:00 |
|
collin
|
1f1a49a5d3
|
add tests for invalid integers in array size
|
2020-08-03 14:56:45 -07:00 |
|
collin
|
e7ad1595a7
|
add empty address test
|
2020-08-03 12:01:09 -07:00 |
|
howardwu
|
f40ba91784
|
Rename types -> typed
|
2020-08-02 20:56:22 -07:00 |
|
howardwu
|
8410e68fb6
|
Resolve merge of tests
|
2020-08-02 19:01:15 -07:00 |
|
howardwu
|
5375d97b40
|
Resolve merge conflict
|
2020-08-02 18:51:44 -07:00 |
|
howardwu
|
2d1b93e5f8
|
Merge with master
|
2020-08-02 17:24:31 -07:00 |
|