Commit Graph

70 Commits

Author SHA1 Message Date
mhoffm
22d0a7253c simplify whitespace handling; support hexadecimal numeric literals; allow empty configs 2021-06-20 00:03:58 +02:00
mhoffm
b1c3109853 fix operations; add one line blocks 2021-06-19 21:01:03 +02:00
mhoffm
d61fefced0 fix binary operators 2021-06-19 18:10:47 +02:00
mhoffm
6cc5e7b721 fix readme 2021-06-19 16:58:48 +02:00
mhoffm
5f7a5b5e98 add real world test corpus; work on some parse errors and weirdnesses 2021-06-19 16:56:35 +02:00
mhoffm
fa9b0307c6 add compiled wasm to .gitignore 2021-06-18 16:50:27 +02:00
mhoffm
9b79cbda48 add precedence to splat operators; test for associativity 2021-06-18 07:29:00 +02:00
mhoffm
b793cd7c37 simplify object elements 2021-06-18 07:20:55 +02:00
mhoffm
f4b4b4f026 add precedence to conditionals; add test for conditional associativity 2021-06-18 07:17:21 +02:00
mhoffm
b04366fc76 cleanup 2021-06-18 07:09:57 +02:00
mhoffm
6fea15e3f2 test for nested conditinal expression 2021-06-18 07:09:36 +02:00
mhoffm
60aa5b25b6 fix scanner state handling 2021-06-18 00:01:58 +02:00
mhoffm
e7d26aa32a cleanup 2021-06-17 23:57:13 +02:00
mhoffm
29b4c866b4 simplify scanner.c 2021-06-17 23:55:09 +02:00
Michael Hoffmann
1f9321bdee Merge pull request #2 from MichaHoffmann/parse_template_interpolation_content_properly
Parse template interpolation content properly
2021-06-17 23:47:44 +02:00
mhoffm
88401e3bf3 fmt tests; properly define string literals; work on scanner 2021-06-17 23:47:14 +02:00
mhoffm
4801d16825 fix screenshot 2021-06-15 11:43:28 +02:00
mhoffm
aed7efd28f fix example 2021-06-15 11:40:32 +02:00
mhoffm
a4621181ca cleanup 2021-06-14 23:41:18 +02:00
mhoffm
ca491c9a02 cleanup 2021-06-14 23:39:45 +02:00
mhoffm
548f6d789e cleanup 2021-06-14 23:38:56 +02:00
mhoffm
69b9328841 fix unittests 2021-06-14 23:38:05 +02:00
mhoffm
01a4a981da fix string literals; trim trailing whitespace 2021-06-14 23:33:28 +02:00
mhoffm
9606c5fa49 readme 2021-06-14 23:25:32 +02:00
Michael Hoffmann
562fe37276 Merge pull request #1 from MichaHoffmann/add_template_expressions
add quoted_templates and template interpolations
2021-06-14 23:20:42 +02:00
mhoffm
e4750975e4 fix image link 2021-06-14 23:20:09 +02:00
mhoffm
8205a65c1b dont track example.png 2021-06-14 23:17:39 +02:00
mhoffm
7b91d51683 handle quoted template expressions and template interpolations 2021-06-14 23:11:17 +02:00
mhoffm
3c984653bb add template_expr to grammar; comment it out for now 2021-06-13 14:31:46 +02:00
mhoffm
c8b6a598d3 adapt shell.nix 2021-06-13 14:27:31 +02:00
mhoffm
3577cf4e9d add unittests github action 2021-06-13 14:01:06 +02:00
mhoffm
bcadf8dd60 changelog 2021-06-13 09:38:12 +02:00
mhoffm
a70fcb8e9f cleanup 2021-06-13 09:33:34 +02:00
mhoffm
db2aab2fec README 2021-06-13 09:26:49 +02:00
mhoffm
c1dd2b1c5a wip operator tests 2021-06-13 09:26:15 +02:00
mhoffm
3bba72f836 add operation expressions 2021-06-13 09:17:52 +02:00
mhoffm
d04993a05a example 2021-06-12 23:49:46 +02:00
mhoffm
88f755cb92 example 2021-06-12 23:43:48 +02:00
mhoffm
77a27b5be4 add example 2021-06-12 23:31:54 +02:00
mhoffm
54f6fb3c7b tests 2021-06-12 22:47:25 +02:00
mhoffm
52247dee63 properly handle escape sequences in string literals 2021-06-12 22:36:10 +02:00
mhoffm
67680e4cda add small test for conditionals 2021-06-12 21:54:32 +02:00
mhoffm
22b921f405 add conditionals 2021-06-12 21:47:30 +02:00
mhoffm
0b8859a794 minor cleanup 2021-06-12 21:21:35 +02:00
mhoffm
1621246b8d remove queries 2021-06-12 08:43:30 +02:00
mhoffm
70b55a20d0 wip 2021-06-12 08:42:42 +02:00
mhoffm
037f9d782b for expressions with predicate 2021-06-12 00:00:31 +02:00
mhoffm
197a5374ab add ellipsis token 2021-06-11 23:58:30 +02:00
mhoffm
94b188039a add ellipsis token 2021-06-11 23:57:34 +02:00
mhoffm
1b32606141 tests for tupl expressions 2021-06-11 23:47:51 +02:00