Commit Graph

92 Commits

Author SHA1 Message Date
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
collin
5f0b3e2b0c parse boolean later in program 2020-06-24 15:33:05 -07:00
collin
2291cc51fd fix return type namespaces 2020-06-23 17:48:35 -07:00
collin
c2862c7a0c add formatting for cli errors 2020-06-22 23:20:55 -07:00
collin
5bc1bc022d add file path to formatted errors 2020-06-22 22:32:57 -07:00
collin
0a990bdb4e Merge branch 'master' of https://github.com/AleoHQ/language into fix/namespace 2020-06-22 18:35:10 -07:00
collin
5865149c06 fix index evaluation 2020-06-22 18:28:30 -07:00
collin
c513fd1626 reformat import errors 2020-06-22 16:28:12 -07:00
collin
1dc79ef604 add unique namespaces to function calls 2020-06-22 15:42:46 -07:00
collin
9f27d22486 remove non-formatted errors for program value 2020-06-20 20:40:17 -07:00
collin
632d98b284 remove non-formatted errors for primitive data types 2020-06-20 18:59:52 -07:00
collin
d1dfdcb878 fix boolean namespaces and errors 2020-06-20 18:43:45 -07:00
collin
172ab78497 fix field namespaces and errors 2020-06-20 17:49:09 -07:00
collin
f915cab9f2 fix conflicts 2020-06-20 16:37:34 -07:00
collin
2e02d0906c fix integer operation namespaces 2020-06-20 16:30:44 -07:00