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
howardwu
2caa34be67
Revert to leo-types
2020-08-02 16:59:56 -07:00
collin
fb45ac7498
rename inputs -> input
2020-07-31 19:39:30 -07:00
collin
e22e962588
rename leo-inputs -> leo-input
2020-07-31 18:49:01 -07:00
collin
ce2a92b9bf
add function input keyword. support access to registers, record, state, state_leaf
2020-07-31 18:30:08 -07:00
howardwu
af37c3bc9e
Rename leo-types to leo-typed
2020-07-30 23:33:16 -07:00
collin
ae8fb1f714
merge master fix conflicts
2020-07-30 22:41:07 -07:00
howardwu
61d92ecc91
Remove revision peg for snarkOS dependency, change Leo to groth16, update to proper calling convention for snarks
2020-07-30 19:09:27 -07:00
collin
a4448cdd12
add manual main input method for testing. fix field tests
2020-07-29 23:32:21 -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
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
b9b459ecff
add main, record, registers, state, state_leaf sections to types
2020-07-27 16:28:56 -07:00
collin
d30d72d76e
impl i8 i16 i32 i64 i128 for leo-inputs
2020-07-15 20:28:22 -07:00
collin
5ccda0750a
add i8 i16 i32 i64 i128 types
2020-07-15 19:32:55 -07:00
collin
cd38e3a476
println -> print. update readme
2020-07-09 18:55:53 -07:00
collin
7ae351c0c6
evaluate println, debug, error macros
2020-07-09 05:03:10 -07:00
collin
364e7684ac
add println, debug, error to leo-types
2020-07-09 01:39:13 -07:00
collin
82a98e1867
add println, debug, error macros to pest
2020-07-09 00:03:45 -07:00
collin
aa708b8084
fix value.field bug
2020-07-08 03:30:15 -07:00
collin
24df97b9a3
add assert statement module
2020-07-08 02:45:19 -07:00
collin
a7888f5b29
add assign statement module
2020-07-08 02:17:51 -07:00
collin
a6092e9a2f
add field module
2020-07-07 19:40:01 -07:00
collin
87db0508f4
impl return tuples and update tests
2020-07-07 10:11:23 -07:00
collin
4529c56fd2
add address ternary and equal functionality and tests
2020-07-06 20:25:14 -07:00
collin
423e804a27
impl address inputs
2020-07-06 06:17:08 -07:00
collin
d3c0dbb80c
impl tests for address type
2020-07-06 04:59:06 -07:00
collin
f1030117ee
add address type to leo-ast and leo-types
2020-07-06 01:47:07 -07:00
collin
36b2508de3
add circuit self keyword wip
2020-07-02 21:36:22 -07:00
collin
cf4a8772bb
merge lib and imports
2020-07-02 15:53:41 -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
45a2664fd9
Merge branch 'feature/lib-and-imports' of github.com:AleoHQ/leo into feature/comparator
2020-06-29 19:52:47 -07:00
collin
b8b0da305b
merge master
2020-06-29 14:05:12 -07:00
collin
4e4e21a53e
merge master
2020-06-29 12:46:38 -07:00
Howard Wu
b4cfa64167
Adds ci.yml ( #77 )
...
* Adds ci.yml
* Update ci script
* Update Cargo.toml
* Update to ubuntu-latest
* Update dependencies
* Update git deps with rev
* Update ci script
* Update ci script
* Update ci script
* Update code coverage
* Update code coverage
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI
* Update CI script
* Update CI script
2020-06-27 20:16:38 -07:00
collin
9c2a0e4ec6
add lib.leo support
2020-06-26 20:58:43 -07:00
collin
a4a9ed05ea
impl constraints and tests for multiple imports
2020-06-26 17:12:04 -07:00
collin
b5d90b857b
impl import package syntax for ast and types
2020-06-26 14:18:05 -07:00
collin
cc8a3d9878
move integer enum and errors into compiler
2020-06-25 14:27:19 -07:00
collin
a85d831eb9
impl serde for program
2020-06-24 17:03:41 -07:00
collin
7bc52ada9e
evaluate all indices to expressions
2020-06-24 16:57:15 -07:00
collin
f1e9df7c95
evaluate range bounds to rust usize type
2020-06-24 16:30:49 -07:00
collin
1fafbab5ee
parse integer later in program. derive serde for basic program types
2020-06-24 16:02:20 -07:00