Commit Graph

133 Commits

Author SHA1 Message Date
mhoffm
150c676286 add serialization and deserialization 2021-06-23 20:30:30 +02:00
mhoffm
228a013764 cleanup github actions 2021-06-23 00:54:05 +02:00
mhoffm
9160d2f4cb add acceptance test action 2021-06-23 00:52:32 +02:00
mhoffm
1d2d1a0998 cleanup some unused code 2021-06-23 00:47:23 +02:00
mhoffm
9761b958e1 cleanup 2021-06-23 00:37:31 +02:00
mhoffm
91e946d55b wip heredoc 2021-06-23 00:34:26 +02:00
mhoffm
b9a95e5b48 wip move to cpp external scanner 2021-06-22 23:40:31 +02:00
mhoffm
5a58000ba1 WIP add heredoc templates; only EOF marker at the moment 2021-06-21 22:04:28 +02:00
mhoffm
d57a44c2c3 handle string_literal and quoted_template conflict with precedences 2021-06-21 21:08:51 +02:00
mhoffm
a496ca0823 minor cleanup 2021-06-21 21:04:46 +02:00
mhoffm
e61fb42c41 remove files that terraform cannot parse 2021-06-21 20:04:13 +02:00
mhoffm
a7f23cc579 more real world exampls; fix scanner when scanning empty character in lexer 2021-06-21 19:40:27 +02:00
mhoffm
3bc4153bc2 add sanity assertions 2021-06-20 23:11:21 +02:00
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