Clang Format
|
c858695f0c
|
Adjust further code formatting
|
2023-11-19 21:07:28 +00:00 |
|
Clang Format
|
6b4f5d94a8
|
Reformat code with clang format
|
2023-11-19 21:07:21 +00:00 |
|
Jan
|
2cd5d05a19
|
Use escaped strings with simple lexer whenever appropriate
|
2023-09-23 15:21:09 +02:00 |
|
Jan
|
88bc1c1056
|
Fix SimpleLexer not being able to read escaped strings
|
2023-09-23 14:28:59 +02:00 |
|
Jan
|
34cdd46b42
|
Fix linux compilation
|
2023-06-18 12:20:55 +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
|
7cce0e387e
|
Add SimpleExpressionInterpreter that just parses a plain expression
|
2022-09-06 20:52:23 +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
|
db60287a7b
|
Apply statemaps to materials
|
2022-08-20 19:23:49 +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
|
91cfb2e8dd
|
Move AbstractScopeSequenceHolder to Parse and make it a template class to be reusable
|
2022-01-18 22:55:25 +01:00 |
|
Jan
|
245a2ed642
|
Add equals operation to simpleexpressionvalue to check if an expression is the same as another one
|
2021-12-27 14:15:44 +01:00 |
|
Jan
|
cc88fb0a5a
|
Log menu parsing errors in stderr
|
2021-12-27 11:32:47 +01:00 |
|
Jan
|
988620e23d
|
Menu conversion base
|
2021-12-05 16:23:25 +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
|
74988af30b
|
Add expression numerics and int to multiple sequences for menu items
|
2021-11-28 20:20:28 +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
|
4b2f001e7c
|
Add more unit tests for simple expressions and fix code
|
2021-11-25 12:33:30 +01:00 |
|
Jan
|
7680f92ae1
|
Add base for simple expression unit tests
|
2021-11-25 01:20:51 +01:00 |
|
Jan
|
c5475ce780
|
Fix unit tests failing for menu expressions
|
2021-11-25 00:24:36 +01:00 |
|
Jan
|
38f3d7d10e
|
Move Menu Expression to Simple Namespace to have generic configurable expressions
|
2021-11-24 17:44:14 +01:00 |
|
Jan
|
4f2a8454a6
|
Move common expression classes to simple parsing setup
|
2021-11-22 21:47:05 +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
|
18aa914d70
|
Fix abstract lexer not currently setting string token pos
|
2021-11-14 20:03:37 +01:00 |
|
Jan
|
38551f29de
|
Add vector parameter functions to and/or matchers
|
2021-11-04 20:31:20 +01:00 |
|
Jan
|
c5d7d71a51
|
Add multicharacter tokens to simple lexer
|
2021-11-03 22:02:04 +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
|
6c5825de6d
|
Fix SimpleMatcher for keyword ignore case does not properly ignore case
|
2021-11-01 10:25:05 +01:00 |
|
Jan
|
5df6fce48a
|
Add MenuMatcherFactory with extensions for Numeric and Text token types
|
2021-11-01 10:14:24 +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 |
|