Commit Graph

43 Commits

Author SHA1 Message Date
collin
837a006e51 move error struct to types. fix integer namespaces 2020-06-20 15:24:46 -07:00
collin
9e93462f2b merge master 2020-06-19 23:16:12 -07:00
collin
82a0afc17e convert leo-inputs to span with errors. fix tests 2020-06-19 23:02:58 -07:00
howardwu
03b59b573b Update file extensions to new convention 2020-06-19 22:07:02 -07:00
collin
51f603b881 add span error formatting for inputs 2020-06-17 15:40:39 -07:00
collin
4d1bf9071c add span to input values 2020-06-16 19:13:11 -07:00
collin
c77e6a51b3 remove visibility syntax and functionality 2020-06-15 13:38:07 -07:00
collin
3f668422fd enforce name, type, visibility of inputs. add tests 2020-06-11 14:40:27 -07:00
collin
824a6059fb split up input loading and parsing in compiler 2020-06-11 11:43:05 -07:00
collin
67b8a48fcf public input booleans and integers 2020-06-10 16:14:55 -07:00
collin
643cd3026e initial private boolean input support 2020-06-09 16:36:15 -07:00
collin
834055abf5 use include_bytes for boolean test 2020-06-08 17:28:09 -07:00
howardwu
837d107a54 cargo fmt 2020-06-07 23:30:39 -07:00
howardwu
85ccf1b423 Introduces LeoParser, removes pest for leo-compiler 2020-06-07 22:21:31 -07:00
howardwu
6ad5dc75d5 Migrates program 2020-06-07 20:57:22 -07:00
howardwu
b9baafd57f Migrates integer, identifier, and input_value 2020-06-07 18:22:59 -07:00
howardwu
a380d83c75 Migrate functions 2020-06-07 17:22:22 -07:00
howardwu
a72a333877 Migrates ast to leo-ast module 2020-06-06 23:17:40 -07:00
collin
accfff46e0 add test syntax and cli command 2020-06-04 17:39:57 -07:00
collin
bd54f367cf impl syntax error handling 2020-06-04 15:44:38 -07:00
collin
4657f565f5 remove trait parameters from program types 2020-06-02 12:33:24 -07:00
collin
674f0dc83d remove Field trait parameter from InputValue 2020-06-02 12:15:55 -07:00
collin
8852c17857 simplify GroupType trait parameters 2020-06-01 17:52:33 -07:00
collin
31ec24670c add groupType to compiler 2020-05-29 16:43:39 -07:00
collin
19f6e64c48 remove snarkos group trait from compiler 2020-05-29 15:55:57 -07:00
collin
a9a8cb95c6 impl mutability tests. simplify mut expression evaluation 2020-05-19 12:01:19 -07:00
howardwu
33f518d1d4 Fixes 'leo build' to compile programs again. Updates tests to run on new model 2020-05-16 22:05:26 -07:00
collin
6efc834948 impl group element values 2020-05-12 20:01:47 -07:00
howardwu
7e36d2b5fa Standardize generic F and G order convention 2020-05-12 19:24:57 -07:00
collin
97272fa9d7 wip groups 2020-05-12 19:07:15 -07:00
collin
36018853a7 impl compiler error handling 2020-05-08 16:35:00 -07:00
collin
73e431e9eb refactor integer module, add uint8 type 2020-05-06 17:22:00 -07:00
collin
dcd484a62f fix imports 2020-05-05 18:43:31 -07:00
collin
e720409ca3 refactor main function parameters 2020-05-05 17:36:03 -07:00
collin
98a7d0bdf6 impl 0, 1 or more return arg 2020-05-04 11:40:29 -07:00
collin
b091d6c63b fix conflicts 2020-05-04 10:33:03 -07:00
howardwu
1350834bcd Implements caching of builds and setups for reusable work 2020-05-02 20:10:22 -07:00
collin
fa4f786f22 impl let statements 2020-05-02 19:03:50 -07:00
howardwu
5f5a3399ac Adds command 2020-05-02 18:08:04 -07:00
howardwu
f86c9d8076 Adds proving key file 2020-05-02 17:28:20 -07:00
howardwu
219f90cb17 Adds starter integration tests for u32 2020-05-01 22:10:40 -07:00
collin
f69032c833 impl if else conditional statements 2020-04-27 14:36:05 -07:00
howardwu
d115870815 Moves compiler.rs to leo-compiler module 2020-04-26 22:37:08 -07:00