81 Commits

Author SHA1 Message Date
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
Jan
037e13b874 Add IgnoreCase Keyword matcher for simple parser 2021-10-31 15:22:03 +01:00
Jan
dcffa3d14d Add ParserMultiInputStream 2021-10-31 14:53:05 +01:00
Jan
56c35cb030 Make SimpleLexer be able to be initialized via constructor and not only via inheritence 2021-10-23 15:16:09 +02:00
Jan
c6ea52018a Fix simple lexer not recognizing newlines after spaces 2021-07-10 10:53:18 +02:00
Jan
79c1284193 Add asset loader for localize files 2021-03-23 17:16:36 +01:00
Jan
5e08469635 Use custom parser values instead of simple parser values for parsing Zone definitions 2021-03-20 14:07:48 +01:00
Jan
cff70daccb Make comment removing preprocessor not recognize comments when inside a string 2021-03-13 15:48:04 +01:00
Jan
8a227d1171 Fix SimpleLexer not initializing read numbers property 2021-03-13 15:47:42 +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