Commit Graph

70 Commits

Author SHA1 Message Date
damirka
a3416c1e3e added max value for \x7F escape 2021-05-24 15:13:33 +03:00
damirka
497b039d60 added few more test cases for strings 2021-05-24 13:10:28 +03:00
gluax
91f27bc046 explicit type resolves issue, will make bug for implict 2021-05-22 22:26:24 -04:00
gluax
7145a751d9 console.log refactor, concat test... has asg or TIPhase reducer bug 2021-05-22 21:15:07 -04:00
gluax
bce10cc885 quick test fix 2021-05-22 18:21:11 -04:00
gluax
1c57eb4196 input string syntax 2021-05-22 17:57:05 -04:00
gluax
329b330c15 merge remote 2021-05-22 10:47:08 -04:00
gluax
ddbdd485d2 Revert "change pest according to suggestion fixes it"
This reverts commit c8e63a21d6.
2021-05-22 10:41:54 -04:00
gluax
cd95f48f77 forgot to remove debug stmt, and regen tests 2021-05-21 15:11:48 -04:00
gluax
3971a6100d revert parsing char change, clean up lexing 2021-05-21 14:43:05 -04:00
gluax
cce0f597de Revert "refactor for better errors, code shouldn't have been in the lexer"
This reverts commit 1e1486f4ef.
2021-05-21 12:33:39 -04:00
gluax
c8e63a21d6 change pest according to suggestion fixes it 2021-05-20 20:10:00 -04:00
gluax
ca59ff3177 tests for now should be changed to use input strings when they are in 2021-05-20 14:30:12 -04:00
damirka
a5f994ad88 Merge remote-tracking branch 'origin/feature/char-type' into feature/string-parsing 2021-05-20 19:27:51 +03:00
gluax
1e1486f4ef refactor for better errors, code shouldn't have been in the lexer 2021-05-19 18:14:56 -04:00
damirka
f96c4ad37e Merge branch 'feature/char-type' into feature/string-parsing 2021-05-20 00:24:22 +03:00
damirka
ed03a385b5 fix unicode chars 2021-05-19 23:59:54 +03:00
gluax
b6479b754f tests are passing interestingly but idk if they should be, == doesn't work for input on fields 2021-05-19 16:48:34 -04:00
damirka
737985034b fix tests 2021-05-19 23:46:47 +03:00
damirka
c4616254d4 follow up, fixed wrong test 2021-05-19 20:53:41 +03:00
damirka
ca6b8695b5 disabled blake2s for now 2021-05-19 20:50:43 +03:00
gluax
08022bb383 char eq operators in, they just call the field ones for now, so when those are in they will work 2021-05-18 12:04:58 -04:00
damirka
32bd282030 1st draft for string parsing and ast type
- currently uses back quotes "`" for strings, change later
- ast -> asg unimplemented, strings need to be processed on
canonicalization stage
2021-05-18 18:56:55 +03:00
gluax
1377fc5d75 output file now does 'a', swapped to compiler tests, we fail char tests for now since no constraints 2021-05-14 15:34:39 -04:00
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
6e71c8ab4f addex hex, octal, and direct unicode 2021-05-13 14:33:01 -04:00
damirka
fc385feeca returned parser expectations, removed cwd from compiler tests 2021-05-13 17:07:03 +03:00
damirka
17744f7f7d removes import tests, fix ci, add constraint number check, more tests 2021-05-13 16:56:17 +03:00
gluax
90f9215a0b char lexer/tokenize/parsing done 2021-05-12 15:33:37 -04:00
damirka
e2492ba9e4 more constraints checks 2021-05-12 20:47:03 +03:00
damirka
cb2bd62ea9 Merge branch 'master' into compiler-tests 2021-05-12 20:02:03 +03:00
damirka
6138f8e719 removed old compiler tests 2021-05-12 19:39:27 +03:00
damirka
b20f8a0369 added doc 2021-05-11 21:16:55 +03:00
damirka
5d018f4ad2 u* 2021-05-10 21:11:31 +03:00
damirka
1a15ad3a8f i* 2021-05-10 20:19:19 +03:00
gluax
f32a1e9ddb merge master, add a parser test to try and improve code coverage 2021-05-07 13:34:10 -04:00
damirka
4fcce10329 remove unnecessary mod 2021-05-06 14:58:36 +03:00
damirka
a39197af62 add const test 2021-05-06 14:52:20 +03:00
damirka
ac57fe6410 test conflicts + clippy 2021-05-06 14:27:42 +03:00
damirka
e3983bfa90 array 2021-05-06 14:01:42 +03:00
gluax
5587d8dd8d don't allow mixing of semi-colons and commas 2021-05-05 14:53:46 -04:00
damirka
91c9969ff9 arrays 1/2 2021-05-05 21:25:24 +03:00
damirka
7f390d4d5c global const 2021-05-05 21:06:15 +03:00
damirka
d5e8fb3718 imports 2021-05-05 19:31:25 +03:00
damirka
925afef17c function 2021-05-05 18:29:44 +03:00
damirka
032341089b program state 2021-05-05 17:48:33 +03:00
damirka
72648c993c program inputs 2021-05-05 17:35:34 +03:00
damirka
dd4d909998 Merge branch 'master' into compiler-tests 2021-05-05 11:56:00 +03:00
damirka
71486fb628 circuits 2021-05-05 11:37:51 +03:00