bootstrap_bison.git
7 years agoGet rid of TaggedSymbols, just put tags/symbols inside Section1.Type or similar
Nick Downing [Sat, 28 Jul 2018 23:41:30 +0000 (09:41 +1000)]
Get rid of TaggedSymbols, just put tags/symbols inside Section1.Type or similar

7 years agoFix Define to Defines, type to _type, and remove Int object in favour of value=
Nick Downing [Sat, 28 Jul 2018 02:22:43 +0000 (12:22 +1000)]
Fix Define to Defines, type to _type, and remove Int object in favour of value=

7 years agoAdd extra bootstrapping step in src/n.sh where bootstrap_plex.py builds bison
Nick Downing [Thu, 26 Jul 2018 11:32:02 +0000 (21:32 +1000)]
Add extra bootstrapping step in src/n.sh where bootstrap_plex.py builds bison

7 years agoMoving most of the (code|gram)_piece_* stuff out of *.c.patch and into *.[ly]
Nick Downing [Thu, 26 Jul 2018 11:03:22 +0000 (21:03 +1000)]
Moving most of the (code|gram)_piece_* stuff out of *.c.patch and into *.[ly]

7 years agoFix missing braces and contents for PYACC.Text.ValueReference etc, add tag_name
Nick Downing [Fri, 20 Jul 2018 12:02:58 +0000 (22:02 +1000)]
Fix missing braces and contents for PYACC.Text.ValueReference etc, add tag_name

7 years agoRationalize PYACC.Text so it occurs only once inside containers like PYACC.Char,...
Nick Downing [Thu, 19 Jul 2018 13:27:11 +0000 (23:27 +1000)]
Rationalize PYACC.Text so it occurs only once inside containers like PYACC.Char, and so that embedded references like PYACC.Escape now become PYACC.Text.Escape and occur inside PYACC.Text instead of being interspersed with PYACC.Text nodes

7 years agoFix serialization so that nodes (e.g. PYACC.Production) can be parented within the...
Nick Downing [Thu, 19 Jul 2018 12:38:44 +0000 (22:38 +1000)]
Fix serialization so that nodes (e.g. PYACC.Production) can be parented within the main document and also be referenced (e.g. from the list PYACC.productions)

7 years agoRename PYACC.Production.Symbol to PYACC.Production.SymbolRef
Nick Downing [Thu, 19 Jul 2018 00:18:43 +0000 (10:18 +1000)]
Rename PYACC.Production.Symbol to PYACC.Production.SymbolRef

7 years agoFix bug in integer encoding of associativities in PYACC.Section1Or2.Precedence
Nick Downing [Wed, 18 Jul 2018 23:40:27 +0000 (09:40 +1000)]
Fix bug in integer encoding of associativities in PYACC.Section1Or2.Precedence

7 years agoSplit out PYACC.Section1Or2.Symbol into PYACC.TerminalRef, PYACC.NonterminalRef
Nick Downing [Wed, 18 Jul 2018 12:45:45 +0000 (22:45 +1000)]
Split out PYACC.Section1Or2.Symbol into PYACC.TerminalRef, PYACC.NonterminalRef

7 years agoRename Section2.Rules.RHS to Production, and apply several small optimizations
Nick Downing [Tue, 17 Jul 2018 13:31:49 +0000 (23:31 +1000)]
Rename Section2.Rules.RHS to Production, and apply several small optimizations

7 years agoRework how tag/symbol lists from the parser are handled
Nick Downing [Tue, 17 Jul 2018 02:15:19 +0000 (12:15 +1000)]
Rework how tag/symbol lists from the parser are handled

7 years agoAdd markup in scan-code.l scanner, add extra piece vector and copying scheme to overl...
Nick Downing [Fri, 6 Jul 2018 04:47:59 +0000 (14:47 +1000)]
Add markup in scan-code.l scanner, add extra piece vector and copying scheme to overlay the scanned code over that which is returned by scan-gram.l scanner

7 years agoMinor changes to PYACC_Text bracketing of actions and section 3
Nick Downing [Thu, 5 Jul 2018 23:08:16 +0000 (09:08 +1000)]
Minor changes to PYACC_Text bracketing of actions and section 3

7 years agoRemove RHSes (just put RHSes after the LHS), change Escape char= to character=
Nick Downing [Wed, 4 Jul 2018 12:32:26 +0000 (22:32 +1000)]
Remove RHSes (just put RHSes after the LHS), change Escape char= to character=

7 years agoMinor fixes to markup of rules, actions and strings
Nick Downing [Tue, 3 Jul 2018 00:18:53 +0000 (10:18 +1000)]
Minor fixes to markup of rules, actions and strings

7 years agoHuge changes to markup, to match first cut at bootstrap_pyacc.py
Nick Downing [Mon, 2 Jul 2018 12:27:03 +0000 (22:27 +1000)]
Huge changes to markup, to match first cut at bootstrap_pyacc.py

7 years agoChange the generated output, to make it readable by element.deserialize()
Nick Downing [Tue, 26 Jun 2018 04:07:38 +0000 (14:07 +1000)]
Change the generated output, to make it readable by element.deserialize()

7 years agoMinor change for consistency with latest bootstrap_flex.git (append function)
Nick Downing [Sat, 23 Jun 2018 04:59:08 +0000 (14:59 +1000)]
Minor change for consistency with latest bootstrap_flex.git (append function)

7 years agoMinor change for consistency with latest bootstrap_flex.git (slower but easier)
Nick Downing [Sat, 23 Jun 2018 01:00:57 +0000 (11:00 +1000)]
Minor change for consistency with latest bootstrap_flex.git (slower but easier)

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

7 years agoImproved and more comprehensive markup
Nick Downing [Fri, 15 Jun 2018 13:36:29 +0000 (23:36 +1000)]
Improved and more comprehensive markup

7 years agoReasonable first cut at adding XML markup around bison tokens and grammar rules
Nick Downing [Thu, 14 Jun 2018 23:54:18 +0000 (09:54 +1000)]
Reasonable first cut at adding XML markup around bison tokens and grammar rules

7 years agoPristine copy of bison-3.0.5
Nick Downing [Wed, 13 Jun 2018 06:06:33 +0000 (16:06 +1000)]
Pristine copy of bison-3.0.5