38 Commits

Author SHA1 Message Date
Clang Format
6b4f5d94a8
Reformat code with clang format 2023-11-19 21:07:21 +00:00
Jan
88bc1c1056 Fix SimpleLexer not being able to read escaped strings 2023-09-23 14:28:59 +02:00
Jan
bba6fd9d4e Fix error in define expression crash 2022-09-07 22:00:18 +02:00
Jan
8f44a022a2 Remove unneeded includes 2022-09-06 22:26:04 +02:00
Jan
a36d1c430a Use SimpleExpressionInterpreter in DefinesStreamProxy and expand defines and defined expressions before parsing 2022-09-06 20:52:52 +02:00
Jan
6702856399 Make skipping lines in defines stream proxy configurable 2022-09-06 17:49:35 +02:00
Jan
f574204e61 Skip until first non empty line for templater 2022-09-05 23:51:09 +02:00
Jan
d0155d426a Skip defines stream proxy empty lines 2022-09-05 23:30:06 +02:00
Jan
1464329245 Add raw templater 2022-09-05 23:25:11 +02:00
Jan
4ef38264c8 Rename defines if directive parsing to defines directive parsing 2022-09-05 20:17:31 +02:00
Jan
886bcfeaf8 Add non static evaluation for simple expressions 2022-08-13 14:13:11 +02:00
Jan
1d798647c3 Fix not reading hex numbers with integer only lexing for SimpleLexer 2022-03-30 19:25:07 +02:00
Jan
a092f76ec9 Add option to not parse floating point numbers when using SimpleLexer 2022-03-30 19:07:54 +02:00
Jan
cc88fb0a5a Log menu parsing errors in stderr 2021-12-27 11:32:47 +01:00
Jan
4b7a78100d Make defines stream proxy able to accept comma within parameter values that are in parenthesis 2021-12-02 22:19:48 +01:00
Jan
f5ed7880b0 Fix defines proxy not being able to process parameters with underscores 2021-12-01 23:19:20 +01:00
Jan
8e7cd0140c Fix comment removing defines proxy not properly removing multiple comments per line 2021-11-28 19:29:50 +01:00
Jan
782b05a60b Fix defines proxy not correctly adding first line to escape line end define 2021-11-28 19:07:30 +01:00
Jan
e94c48338c Make defines proxy accept parameter values that have parenthesis 2021-11-28 15:52:45 +01:00
Jan
e7eb43a955 Correctly parse binary operations that can be interpreted as sign prefixes for numbers 2021-11-28 15:16:43 +01:00
Jan
2a4768e5b0 Add conditional operator to simple expressions 2021-11-26 17:39:46 +01:00
Jan
c65c57ce72 Add support for defineproxy if directive parsing 2021-11-25 18:01:18 +01:00
Jan
38f3d7d10e Move Menu Expression to Simple Namespace to have generic configurable expressions 2021-11-24 17:44:14 +01:00
Jan
5baa311025 Make defines proxy recognize define values that are escaped over multiple lines 2021-11-22 13:38:33 +01:00
Jan
a8f0fbd3bb Use shared ptr for line filenames to be able to still use filenames when original file has been closed 2021-11-22 10:52:43 +01:00
Jan
6b7a71a1bb Make defines proxy accept whitespace 2021-11-22 09:43:03 +01:00
Jan
ba3084700e Fix Abstract Parser not being able to display parsing errors from defines proxy on empty line 2021-11-22 09:42:46 +01:00
Jan
ebb8eb9e5b Fix SimpleLexer not recognizing negative numbers 2021-11-14 20:04:00 +01:00
Jan
99ca6f8efb Fix SimpleLexer not understanding floating point numbers that omit pre dot zero 2021-11-01 15:12:46 +01:00
Jan
e19f526d8b Properly handle tabs in pragma directives and other precompiler statements 2021-11-01 14:36:53 +01:00
Jan
68610e49f3 Add sourceFile parameter to MultiInput ParserStream 2021-10-31 17:45:55 +01:00
Jan
9816d01ac2 Make DefinesProxy go over a line with defines substitution multiple times until no further substitution has been done 2021-10-31 16:21:04 +01:00
Jan
dcffa3d14d Add ParserMultiInputStream 2021-10-31 14:53:05 +01:00
Jan
cff70daccb Make comment removing preprocessor not recognize comments when inside a string 2021-03-13 15:48:04 +01:00
Jan
9b15afa70e Make ZoneDefinition sequences also accept eof instead of new line 2021-03-10 15:17:36 +01:00
Jan
8798779b39 Add ZoneDefinition Lexer 2021-03-10 14:58:02 +01:00
Jan
88ff98f334 Add Simple Parsing implementations for basic parsers 2021-03-09 11:04:04 +01:00
Jan
8d9080066f Extract commonly used Parser code to new Parser component 2021-03-08 20:06:34 +01:00