Commit Graph

49 Commits

Author SHA1 Message Date
collin
d343f487ad temporarily remove parser import tests 2022-02-08 13:18:48 -05:00
gluax
57bc95879d pull upstream testnet2 resolve conflicts 2022-02-01 13:30:03 -08:00
gluax
0981874787 tested all unreachables 2022-01-28 11:30:45 -08:00
gluax
9cb1f3632d add missed cases, test unreachable exprs 2022-01-28 11:28:19 -08:00
gluax
22d24411b7 test unreachable contexts 2022-01-28 10:57:13 -08:00
gluax
2bb1d8f8d6 migrate parser tests from staging 2022-01-28 10:34:02 -08:00
gluax
5b7daa7b10 disable tgc binary for now 2022-01-28 10:26:42 -08:00
collin
22b16a0bcb regenerate all tests 2022-01-25 16:17:36 -08:00
damirka
af777c085d adds .len() parser tests 2021-09-17 17:39:28 +03:00
gluaxspeed
20d64970ab merge master, color only at cli as it breaks tests, remove debug 2021-07-26 16:49:33 -07:00
gluaxspeed
a9593971b9 format string and grammar changes 2021-07-20 14:52:35 -07:00
gluaxspeed
39e21e5d93 add more tests 2021-07-09 12:15:29 -07:00
gluax
bcb50ae27f change equality_expressions 2021-07-01 13:40:29 -07:00
gluax
eee9cfc1be fix parser to match abnf conditional 2021-06-30 22:20:06 -07:00
gluax
debaf9cd61 more byte failing tests 2021-06-11 10:05:08 -07:00
gluax
5b4cc494c1 fix parser bug allowing illegal unicode escape 2021-06-10 10:59:35 -07:00
gluax
d6266102c3 more tests, hex fix 2021-06-09 15:54:05 -07:00
damirka
ecff3d6f2b fixes #995 2021-06-02 14:53:32 +03:00
gluax
bdcf7ce944 resolve direct unicode in a string 2021-05-25 13:49:26 -04:00
gluax
53a668ae14 resolve multiple chars in a char, tests for it 2021-05-25 12:18:01 -04:00
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
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
329b330c15 merge remote 2021-05-22 10:47:08 -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
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
ed03a385b5 fix unicode chars 2021-05-19 23:59:54 +03:00
damirka
737985034b fix tests 2021-05-19 23:46:47 +03: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
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
gluax
f32a1e9ddb merge master, add a parser test to try and improve code coverage 2021-05-07 13:34:10 -04:00
gluax
5587d8dd8d don't allow mixing of semi-colons and commas 2021-05-05 14:53:46 -04:00
gluax
e0cf988261 hacky, but optional comma only allowed on last member variable 2021-04-29 15:22:17 -04:00
Protryon
d933a49eb0 extract test framework 2021-04-19 06:46:22 -07:00
collin
c728fb4b19 fix error spacing 2021-04-15 12:37:22 -07:00
collin
1fee0d3101 fix parser tests 2021-04-15 12:11:22 -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
gluax
a666ef2a05 regen parser tests 2021-04-14 18:31:27 -04: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
91634d6479 implicit input, removed from function input 2021-04-14 16:00:19 -04:00
Protryon
7aeb8f15ee ns -> namespace 2021-04-12 13:15:40 -07:00
Protryon
aa4c97c9fd remove full path from span outputs 2021-04-12 13:15:40 -07:00
Protryon
899b8b3efd tests 2021-04-12 13:15:39 -07:00