68 Commits

Author SHA1 Message Date
Jan
b25d64e5e7 Fix define directive not accepting define names with digits in them 2021-02-14 10:33:08 +01:00
Jan
e685348abd Add blocks to header parsing state that manipulate which sequences are valid 2021-02-14 10:27:47 +01:00
Jan
3f08be0564 Add stream proxy for declaring pack values 2021-02-14 10:27:18 +01:00
Jan
efa39a8ac3 Restructure StreamProxies to use common basis for matching directives 2021-02-14 10:26:18 +01:00
Jan
e277de4517 Fix lexer calculing hex number length 1 too long 2021-02-14 10:24:23 +01:00
Jan
e40f1ec0b7 Add blocks and built in types to zcg cpp 2021-02-14 00:53:23 +01:00
Jan
216125739c Cache lines in Lexer and show original input when running into an error 2021-02-13 23:16:19 +01:00
Jan
40fedc905d Add header sequences for zcg cpp 2021-02-13 18:18:47 +01:00
Jan
f14357537e add unit tests for not consuming matchers 2021-02-13 16:18:53 +01:00
Jan
32f815c378 Make sure captures work with transforms 2021-02-13 16:01:58 +01:00
Jan
37232e3176 Matcher and sequence testing stuffs 2021-02-13 14:54:34 +01:00
Jan
0f70f9586c Implement sequence matcher and parser magic 2021-02-13 00:12:26 +01:00
Jan
fe1f391bcc Add keywords to header lexer of zcg cpp 2021-02-12 00:38:38 +01:00
Jan
87b7921c73 Add Header Lexer for ZCG cpp 2021-02-12 00:01:41 +01:00
Jan
8b8f1d4f2a Add unit tests for IncludingStreamProxy 2021-02-11 13:44:18 +01:00
Jan
751cb2cd6e Add c preprocessor proxies to command file parser to support defines and include 2021-02-11 11:51:06 +01:00
Jan
1822979a8b Add implementation for ZCG cpp defines proxy 2021-02-10 23:46:15 +01:00
Jan
f9ef7cc35b Add Tests for ZCG cpp 2021-02-10 18:03:50 +01:00