Commit Graph

88 Commits

Author SHA1 Message Date
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
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
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
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