bootstrap_flex.git
7 years agoRearrange AST class structure to use inner class definitions
Nick Downing [Sat, 30 Jun 2018 06:35:47 +0000 (16:35 +1000)]
Rearrange AST class structure to use inner class definitions

7 years agoChange how start conditions are represented in the syntax tree
Nick Downing [Sat, 30 Jun 2018 03:08:19 +0000 (13:08 +1000)]
Change how start conditions are represented in the syntax tree

7 years agoFix minor bugs (missing/misplaced markup)
Nick Downing [Sat, 30 Jun 2018 00:22:48 +0000 (10:22 +1000)]
Fix minor bugs (missing/misplaced markup)

7 years agoRemove RegexGroup markup around the expression to be matched, so that we simply gener...
Nick Downing [Wed, 27 Jun 2018 14:14:09 +0000 (00:14 +1000)]
Remove RegexGroup markup around the expression to be matched, so that we simply generate two expressions, the expression to be matched and the trailing context

7 years agoChange inner loops to use int not YY_CHAR, removing need for separate NUL table
Nick Downing [Mon, 25 Jun 2018 04:01:20 +0000 (14:01 +1000)]
Change inner loops to use int not YY_CHAR, removing need for separate NUL table

7 years agoChange the generated output, to make it readable by element.deserialize(), etc
Nick Downing [Sun, 24 Jun 2018 09:14:02 +0000 (19:14 +1000)]
Change the generated output, to make it readable by element.deserialize(), etc

7 years agoTighten up <Rule>...</Rule> so it does not pull in the inter-token space before
Nick Downing [Sat, 23 Jun 2018 04:53:39 +0000 (14:53 +1000)]
Tighten up <Rule>...</Rule> so it does not pull in the inter-token space before

7 years agoImplement proper options markup, tidy up <Rule>...<Action>...</Action</Rule>
Nick Downing [Sat, 23 Jun 2018 03:56:38 +0000 (13:56 +1000)]
Implement proper options markup, tidy up <Rule>...<Action>...</Action</Rule>

7 years agoModify so that the scanner inserts the <SectN>...</SectN> markup, make sect 3 have...
Nick Downing [Sat, 23 Jun 2018 00:58:16 +0000 (10:58 +1000)]
Modify so that the scanner inserts the <SectN>...</SectN> markup, make sect 3 have proper markup, and update the markup system from latest bootstrap_bison.git

7 years agoFix a bug of including extra yytext after isolated action (blank/comment line)
Nick Downing [Thu, 21 Jun 2018 14:43:43 +0000 (00:43 +1000)]
Fix a bug of including extra yytext after isolated action (blank/comment line)

7 years agoFix a bug in code that executes when <token value="NNN">...</token> is disabled
Nick Downing [Thu, 21 Jun 2018 13:31:16 +0000 (23:31 +1000)]
Fix a bug in code that executes when <token value="NNN">...</token> is disabled

7 years agoAdd a forgotten section of src/Makefile.patch
Nick Downing [Tue, 12 Jun 2018 11:23:54 +0000 (21:23 +1000)]
Add a forgotten section of src/Makefile.patch

7 years agoFirst cut at modified flex that operates normally but also writes a scanned, parsed...
Nick Downing [Tue, 12 Jun 2018 10:13:12 +0000 (20:13 +1000)]
First cut at modified flex that operates normally but also writes a scanned, parsed and marked up version of the input file to stderr in XML format (had to run autogen.sh for some reason so the configure, Makefile.in etc have also changed)

7 years agoImplement ./n.sh instead of ./configure which will auto-patch src/Makefile
Nick Downing [Tue, 12 Jun 2018 06:50:28 +0000 (16:50 +1000)]
Implement ./n.sh instead of ./configure which will auto-patch src/Makefile

7 years agoMake it buffer the pieces in memory (in a stack) and reduce it down to a single piece...
Nick Downing [Tue, 12 Jun 2018 05:46:55 +0000 (15:46 +1000)]
Make it buffer the pieces in memory (in a stack) and reduce it down to a single piece in the parser stage, so that the parser stage can also insert XML tags

7 years agoMake it add markup around code: <CodeBlock>, <Action> and <PercentBraceAction>
Nick Downing [Tue, 12 Jun 2018 01:17:38 +0000 (11:17 +1000)]
Make it add markup around code: <CodeBlock>, <Action> and <PercentBraceAction>

7 years agoModified flex-2.6.4 to output XML to stderr showing token values and boundaries
Nick Downing [Tue, 12 Jun 2018 00:29:05 +0000 (10:29 +1000)]
Modified flex-2.6.4 to output XML to stderr showing token values and boundaries

7 years agoPristine copy of flex-2.6.4
Nick Downing [Mon, 11 Jun 2018 22:24:57 +0000 (08:24 +1000)]
Pristine copy of flex-2.6.4