Commit Graph

40 Commits

Author SHA1 Message Date
gluax
0435b7ce83 remove octal, fix ascii hex 2021-05-14 13:07:54 -04:00
gluax
733bc90bbe chars done, should merge in compiler tests 2021-05-13 17:25:33 -04:00
gluax
29cd920075 input, output and compiler tests 2021-05-13 07:16:59 -04:00
gluax
0ef7ca3d8e just need to fix input file parsing for chars to work 2021-05-12 18:56:27 -04:00
gluax
819fc9087f char type added to ast and asg 2021-05-12 08:39:55 -04:00
collin
1e69d1c68e allow clippy::upper_case_acroynms for imported pest structs 2021-03-25 14:03:22 -07:00
damirka
15906bd4d2 updates following @collinc97 review 2021-03-12 12:35:17 +03:00
damirka
1551a82e18 Adds [constants] section to input file:
```
[constants]
x: bool = true; // will be constant in program
y: u32 = 100;
```
2021-03-11 23:07:01 +03:00
damirka
47e4d23ab1 staging commit with const input syntax and constants processing 2021-03-11 19:05:08 +03:00
Protryon
d400764e00 parser rewrite 2021-03-03 09:59:24 -08:00
howardwu
c935d6a486 Update license to 2021 2021-02-01 20:26:56 -08:00
collin
7767bb049c cargo +nightly clippy 2021-01-19 12:43:09 -05:00
collin
37944ed571 fix input tuple grammar rule 2020-11-16 15:42:13 -08:00
collin
6f3a235c76 Refactor symbol table array type comparison 2020-11-02 13:28:56 -08:00
ljedrz
64774cdab6 refactor: accept &Path instead of PathBuf where sufficient
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 17:09:44 +02:00
ljedrz
f59416be1b refactor: pass &Path instead of &PathBuf as arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 16:18:46 +02:00
ljedrz
69d35063f2 perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
ljedrz
529d87bc88 perf: remove some generic unnecessary allocations
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
ljedrz
919c1dcada clippy: fix single_match
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
collin
4932eb688e support all combinations of nested and tuple array syntax. Test small and large arrays 2020-09-03 13:22:05 -07:00
collin
b6dc77e112 support nested array type in leo inputs 2020-09-03 11:24:23 -07:00
collin
60db15596d fix parser syntax errors. fix tests 2020-09-02 23:23:50 -07:00
collin
0bb8c42731 fix input file errors 2020-09-02 22:59:54 -07:00
collin
91350a2ffe impl parenthesis syntax for input array initializer 2020-09-02 15:47:05 -07:00
collin
77e2d55765 fix input array type parsing bug 2020-09-02 10:58:10 -07:00
collin
a4b0fb1a49 impl array-type for inputs in typed 2020-09-02 10:24:53 -07:00
collin
024618da9b impl array-type in input 2020-09-02 09:55:32 -07:00
collin
6df9a58d00 add group number syntax to input ast 2020-08-18 12:54:11 -07:00
raychu86
ae10a78eb5 Add license header 2020-08-18 03:50:26 -07:00
collin
172431c222 impl new group notation for inputs ast + typed 2020-08-15 16:45:43 -07:00
collin
79b13138ff add restriction 2020-08-15 01:58:33 -07:00
collin
24df4ae57a allow integers. do not allow field or group equality or comparison 2020-08-13 12:11:56 -07:00
collin
bea47246a6 Merge branch 'fix/group-type' of github.com:AleoHQ/leo into feature/tuple 2020-08-13 11:46:19 -07:00
collin
d1eddcf4db fix input group value and add test 2020-08-13 11:37:48 -07:00
collin
0b9bc8001d fix tuple edge cases 2020-08-11 11:17:39 -07:00
collin
74248f936b impl tuples for inputs 2020-08-10 22:02:03 -07:00
collin
1fd3e946f8 use compound atomic rules in pest, update tests 2020-08-05 18:13:50 -07:00
collin
06a25a2d67 add updated values to typed 2020-08-05 16:26:25 -07:00
collin
648acb7fe3 add updated values to inputs 2020-08-05 14:36:37 -07:00
howardwu
c8b82f12a8 Rename directory leo-input -> input 2020-08-02 21:00:23 -07:00