Commit Graph

171 Commits

Author SHA1 Message Date
collin
03c6af2d46 fix group namespaces and errors 2020-06-20 18:14:08 -07:00
collin
172ab78497 fix field namespaces and errors 2020-06-20 17:49:09 -07:00
collin
2e02d0906c fix integer operation namespaces 2020-06-20 16:30:44 -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
2743b23e1e convert functions to span with error 2020-06-19 21:49:42 -07:00
collin
f3e81184c1 convert expressions to span with error 2020-06-19 21:38:36 -07:00
collin
3d1fe9cc4b convert statements to span with error 2020-06-19 19:04:13 -07:00
collin
6922d5dd73 convert identifer to span with error 2020-06-19 17:28:50 -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
7248814ac7 impl let/const for circuits and value wrappers 2020-06-16 09:49:45 -07:00
collin
eeaef78632 impl allocate value for let definition 2020-06-15 19:25:16 -07:00
collin
b423e532cb let and const wip 2020-06-15 18:25:33 -07:00
collin
c77e6a51b3 remove visibility syntax and functionality 2020-06-15 13:38:07 -07:00
collin
4efd06fd41 merge refactor/program-struct 2020-06-15 11:22:47 -07:00
collin
cc39e8241e Merge branch 'master' of https://github.com/AleoHQ/language 2020-06-15 11:11:56 -07:00
collin
8ff4ddafb2 remove CS trait from program struct 2020-06-15 11:11:35 -07:00
collin
8ea11dbab7 add type resolution for values and fix tests 2020-06-13 17:43:59 -07:00
collin
499805efdf add field and group evaleq 2020-06-13 14:21:40 -07:00
collin
1eaaed269d impl chained and nested conditionals 2020-06-13 03:39:51 -07:00
collin
1e1e4b86d9 move conditional tests into statement module 2020-06-13 02:08:21 -07:00
collin
c7eccdc87e impl for loop statements for conditional 2020-06-13 02:04:31 -07:00
collin
2d17b39da6 impl mutable statements in basic conditional 2020-06-13 00:47:09 -07:00
collin
4c64edb032 test conditional basic assert statements 2020-06-12 19:32:16 -07:00
collin
50be017881 impl assert statement in basic conditional. use eq comparator gadget 2020-06-12 18:28:41 -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
eeb438ed19 Merge branch 'master' of https://github.com/AleoHQ/language into feature/leo-inputs 2020-06-09 12:14:43 -07:00
collin
834055abf5 use include_bytes for boolean test 2020-06-08 17:28:09 -07:00
collin
e10a1e1be0 merge master 2020-06-08 10:49:31 -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
35a897282f Migrates imports 2020-06-07 20:50:37 -07:00
howardwu
6f9f397310 Migrates circuits 2020-06-07 20:45:19 -07:00
howardwu
928f67c00b Migrates Functions 2020-06-07 20:35:50 -07:00
howardwu
3a554af9fe Migrate statements 2020-06-07 20:24:27 -07:00
howardwu
bc1c37faa0 Restructure types 2020-06-07 19:47:35 -07:00
howardwu
40eca302a6 Migrate assignee 2020-06-07 19:39:43 -07:00
howardwu
5cdcdd5c12 Migrates expressions, type, and variable to leo-types 2020-06-07 19:19:38 -07:00
howardwu
b9baafd57f Migrates integer, identifier, and input_value 2020-06-07 18:22:59 -07:00
howardwu
54b531c27f Rename function components 2020-06-07 17:28:10 -07:00
howardwu
a380d83c75 Migrate functions 2020-06-07 17:22:22 -07:00
howardwu
eb5c3864a7 Migrate assignee 2020-06-07 17:05:21 -07:00