collin
|
a4448cdd12
|
add manual main input method for testing. fix field tests
|
2020-07-29 23:32:21 -07:00 |
|
collin
|
61f7c54858
|
refactor testing compiler to handle .in .out .state files. fix boolean tests
|
2020-07-29 20:52:37 -07:00 |
|
collin
|
1b99d62de8
|
adds compiler output file and output bytes data structures
|
2020-07-29 18:32:35 -07:00 |
|
collin
|
ac8c940169
|
add parsing for .in and .state files and update errors
|
2020-07-29 13:20:44 -07:00 |
|
howardwu
|
5bd6ab78b9
|
Refactor compiler to have a separate typed ast infrastucture
|
2020-07-29 01:12:17 -07:00 |
|
collin
|
3d3e8f5e72
|
compiler successfully parsing record, registers, state, state_leaf variables with access
|
2020-07-29 00:18:19 -07:00 |
|
howardwu
|
d3894ff546
|
Adds AST JSON generator
|
2020-07-28 22:26:28 -07:00 |
|
collin
|
d5ac5e6709
|
use input section macro in leo types
|
2020-07-28 21:22:31 -07:00 |
|
collin
|
82b0b576dd
|
parse input file before program file
|
2020-07-28 20:46:26 -07:00 |
|
collin
|
9fc9e16367
|
parse main, record, registers, state, state_leaf types to compiler input
|
2020-07-28 16:57:03 -07:00 |
|
collin
|
965bdc4d6a
|
fix import module
|
2020-07-07 21:05:03 -07:00 |
|
collin
|
2e24197ea2
|
create value module
|
2020-07-07 19:11:26 -07:00 |
|
collin
|
14f5f448be
|
resolve all definitions prior to program execution
|
2020-07-02 03:56:52 -07:00 |
|
collin
|
a422027e12
|
fix nested import parsing bug
|
2020-07-01 21:43:06 -07:00 |
|
collin
|
6a04dd0f58
|
refactor import file parsing. constraints for imports wip
|
2020-07-01 21:05:57 -07:00 |
|
collin
|
9854c8c983
|
use updated sha2 functions
|
2020-06-29 14:11:12 -07:00 |
|
collin
|
47ef6be719
|
set inputs size from bytes
|
2020-06-24 21:40:17 -07:00 |
|
collin
|
504480b3d7
|
serialize program into bytes file
|
2020-06-24 21:05:11 -07:00 |
|
collin
|
5bc1bc022d
|
add file path to formatted errors
|
2020-06-22 22:32:57 -07:00 |
|
collin
|
ea81f9bc98
|
add square root example
|
2020-06-22 21:39:24 -07:00 |
|
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 |
|