Commit Graph

72 Commits

Author SHA1 Message Date
collin
3d1edefedb add definition parsing to typed. add tests 2020-08-05 22:45:52 -07:00
collin
1fd3e946f8 use compound atomic rules in pest, update tests 2020-08-05 18:13:50 -07:00
howardwu
f40ba91784 Rename types -> typed 2020-08-02 20:56:22 -07:00
howardwu
8410e68fb6 Resolve merge of tests 2020-08-02 19:01:15 -07:00
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
collin
3d35fb026b outputs -> output 2020-07-31 21:15:33 -07:00
collin
070fa0edea fix all tests 2020-07-31 20:59:50 -07:00
collin
fb45ac7498 rename inputs -> input 2020-07-31 19:39:30 -07:00
collin
02833b80e0 add .in and .state tests 2020-07-30 18:17:55 -07:00
collin
e62a2a066a fix syntax tests 2020-07-30 17:19:10 -07:00
collin
6eb9ef41c3 fix statement tests 2020-07-30 17:11:58 -07:00
collin
f334ba646d fix mutability tests 2020-07-30 16:37:01 -07:00
collin
d4eae685a3 fix macros tests 2020-07-30 16:27:31 -07:00
collin
2f983180b7 fix uint tests 2020-07-30 15:41:03 -07:00
collin
1b6a2b55d4 fix inputs tests 2020-07-30 14:38:31 -07:00
collin
4566ac8e03 fix import tests 2020-07-30 13:01:04 -07:00
collin
f03d0be080 fix group tests 2020-07-30 12:54:34 -07:00
collin
6dfc17ea46 fix function tests 2020-07-30 12:10:33 -07:00
collin
41559ba3a0 fix circuit tests 2020-07-30 11:11:54 -07:00
collin
df9b94ef73 fix array tests 2020-07-30 00:56:17 -07:00
collin
14498c4836 fix address tests 2020-07-30 00:15:14 -07:00
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
118b50fb58 add macro tests 2020-07-09 19:23:15 -07:00
collin
b0acd5ea5a update field and group modules 2020-07-07 19:53:37 -07:00
collin
d3c0dbb80c impl tests for address type 2020-07-06 04:59:06 -07:00
collin
5bc1bc022d add file path to formatted errors 2020-06-22 22:32:57 -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
3d1fe9cc4b convert statements to span with error 2020-06-19 19:04:13 -07:00
collin
c54f1817ce impl custom span and error structs 2020-06-19 15:47:09 -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
1e1e4b86d9 move conditional tests into statement module 2020-06-13 02:08:21 -07:00
collin
4c64edb032 test conditional basic assert statements 2020-06-12 19:32:16 -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
b4ed9ca4bc include_bytes statements tests 2020-06-08 18:58:41 -07:00
collin
54b1453ddc include_bytes mutability tests 2020-06-08 18:55:44 -07:00
collin
20a01ce2e8 include_bytes import tests 2020-06-08 18:52:35 -07:00
collin
ac9395f1fd include_bytes group tests 2020-06-08 18:39:10 -07:00
collin
2ab0147e80 include_bytes function tests 2020-06-08 18:31:21 -07:00
collin
b3ec78c6fd include_bytes field tests 2020-06-08 18:27:11 -07:00
collin
c0682de33d include_bytes circuit tests 2020-06-08 18:12:40 -07:00