Commit Graph

156 Commits

Author SHA1 Message Date
mhoffm d9c903ff41 merge fuzz corpus; copy gen-dict.py; cleanup makefile 2021-07-01 23:30:14 +02:00
mhoffm 9c97f11b4c work on fuzzing makefile; commit corpus 2021-07-01 09:06:06 +02:00
mhoffm 30e9f3eae8 changelog 2021-07-01 02:25:34 +02:00
Michael Hoffmann f17239156d Merge pull request #4 from MichaHoffmann/fix_compilation_errors_on_macos
add compile workflow
2021-07-01 02:24:31 +02:00
mhoffm 808b2de94f add compile workflow
add fuzzing instrumentation
2021-07-01 02:22:02 +02:00
mhoffm 0e7d8ddb4b fix some 'clang -pedantic' warnings 2021-06-30 19:50:33 +02:00
mhoffm 7d8ecd053a changelog 2021-06-28 19:08:48 +02:00
mhoffm 87d571bac7 changelog 2021-06-27 22:33:18 +02:00
mhoffm 29bb003f95 fix bug when heredoc_identifier length exceeds CHAR_MAX 2021-06-27 22:27:21 +02:00
mhoffm 122818e4df readme 2021-06-27 20:16:21 +02:00
mhoffm 33be19f1a4 readme 2021-06-27 20:11:12 +02:00
mhoffm 6f2eff7534 readme 2021-06-27 20:10:44 +02:00
mhoffm b300f4cd17 changelog 2021-06-27 20:09:30 +02:00
mhoffm 888922aff3 start fuzzing 2021-06-27 19:57:02 +02:00
mhoffm fd450bb5f6 fix empty heredoc templates 2021-06-27 15:54:15 +02:00
mhoffm 6c5f3eba28 allow empty templates and template interpolations 2021-06-27 13:54:05 +02:00
mhoffm 13acf1bcc7 fix README 2021-06-27 12:43:11 +02:00
mhoffm edac6a2beb handle identifiers better 2021-06-27 12:22:06 +02:00
mhoffm 71aaa2a4aa changelog 2021-06-26 11:15:55 +02:00
mhoffm 0ae2fffe6d fix ending heredoc identifiers must be on single line 2021-06-26 11:11:34 +02:00
mhoffm bc0b3f1eb0 wip make sure that heredoc identifier sits on a line of its own 2021-06-26 10:31:33 +02:00
mhoffm 77b51d1b78 remove duplicates from real world corpus 2021-06-25 15:17:25 +02:00
Michael Hoffmann 7182e1745c Merge pull request #3 from MichaHoffmann/add_heredoc_templates
WIP add heredoc templates; only EOF marker at the moment
2021-06-23 20:33:36 +02:00
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