Commit Graph

130 Commits

Author SHA1 Message Date
gluax
7145a751d9 console.log refactor, concat test... has asg or TIPhase reducer bug 2021-05-22 21:15:07 -04:00
gluax
1c57eb4196 input string syntax 2021-05-22 17:57:05 -04:00
gluax
8cb1dc6e30 remove debug stmts 2021-05-22 15:57:25 -04:00
gluax
efc83205f2 string parsing leverages eat_char 2021-05-22 15:53:30 -04:00
gluax
329b330c15 merge remote 2021-05-22 10:47:08 -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
947f13b77b Merge branch 'feature/string-parsing' of github.com:AleoHQ/leo into feature/string-canonicalization 2021-05-20 12:40:08 -04:00
gluax
4fe91f0f39 string canonicalization to char array 2021-05-20 12:39:36 -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
86fc23942b more comment fixes 2021-05-20 00:36:40 +03:00
damirka
f404c426ed fix comments 2021-05-20 00:33:39 +03: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
damirka
2f9fde8a0f removes commented blocks 2021-05-19 23:42:19 +03:00
damirka
39b61a0669 added character parsing 2021-05-19 23:36:53 +03:00
gluax
768a597e04 merge in field operator updates 2021-05-19 13:25:58 -04:00
gluax
6f8df3c84d clean up lexing char 2021-05-19 12:09:02 -04:00
gluax
8cea284427 wasn't capped at 10FFF for unicode 2021-05-19 11:46:50 -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
gluax
90f9215a0b char lexer/tokenize/parsing done 2021-05-12 15:33:37 -04:00
damirka
cb2bd62ea9 Merge branch 'master' into compiler-tests 2021-05-12 20:02:03 +03:00
damirka
112efb100c clippy 2021-05-10 14:12:31 +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
acf5e1dc08 part revert clippy, fix parser 2021-05-06 14:48:41 +03:00
damirka
ac57fe6410 test conflicts + clippy 2021-05-06 14:27:42 +03:00
gluax
29ca0d9a12 no empty import lists, star is a span, grammar fix 2021-05-05 16:10:51 -04:00
gluax
c063200d44 clippy fix 2021-05-05 14:57:48 -04:00
gluax
5587d8dd8d don't allow mixing of semi-colons and commas 2021-05-05 14:53:46 -04:00
damirka
dd4d909998 Merge branch 'master' into compiler-tests 2021-05-05 11:56:00 +03:00
damirka
0b798dc950 console + definition + core 2021-05-03 16:47:33 +03:00
gluax
e0cf988261 hacky, but optional comma only allowed on last member variable 2021-04-29 15:22:17 -04:00
gluax
282cbb8840 optional comma at end of member variables 2021-04-29 14:10:22 -04:00
gluax
30d80d191f require comma or semi-colon for now 2021-04-29 14:03:29 -04:00
gluax
438c20c14d merge master, resolve conflicts, login test is failing 2021-04-26 14:43:21 -04:00
Protryon
534f36a077 compiler tests 2021-04-19 18:08:14 -07:00
Protryon
d933a49eb0 extract test framework 2021-04-19 06:46:22 -07:00
howardwu
4eac040178 chore(leo): bump version for new release 2021-04-15 13:49:42 -07:00
gluax
2f7ed99f76 pull max's required semi-colon branch to ensure sameness, MD file renamed to readme 2021-04-14 18:38:49 -04:00
Protryon
23c7c98b4a fix many_foos test 2021-04-14 15:27:57 -07:00
Protryon
51920b5df7 require semicolons on return 2021-04-14 15:27:57 -07:00
gluax
6e595bd845 remove escaped double quote for now, address(...) removed 2021-04-14 17:43:02 -04:00
gluax
1803925b08 semi-colon after return statements are required 2021-04-14 16:59:07 -04:00
gluax
11c78da916 formatted string -> renamed format string 2021-04-14 16:15:27 -04:00