Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Function name changes related to pushing and popping ignores. | Adrian Thurston | 2012-05-17 | 3 | -28/+28 |
| | |||||
* | Call the detach of the right ignore. | Adrian Thurston | 2012-05-17 | 1 | -1/+10 |
| | |||||
* | The prepParseTree function can go away. | Adrian Thurston | 2012-05-17 | 2 | -18/+0 |
| | |||||
* | Copy the trees being written to when attaching and detaching ignores. | Adrian Thurston | 2012-05-17 | 1 | -32/+35 |
| | |||||
* | Use the parse trees in the bindings array. Probably can turn this into a bit in | Adrian Thurston | 2012-05-17 | 6 | -38/+33 |
| | | | | the parse tree, but that is a change for another day. | ||||
* | Some minor cleanup. | Adrian Thurston | 2012-05-16 | 2 | -12/+9 |
| | |||||
* | Don't need to copy flags from data tree into parse tree. | Adrian Thurston | 2012-05-16 | 2 | -8/+0 |
| | |||||
* | Call the parse tree flags PF_*. | Adrian Thurston | 2012-05-16 | 5 | -47/+47 |
| | |||||
* | Removed the AF_PARSE_TREE flag, no longer necessary. | Adrian Thurston | 2012-05-16 | 4 | -24/+3 |
| | |||||
* | AF_PARSED is no longer used, removed. | Adrian Thurston | 2012-05-16 | 3 | -19/+13 |
| | |||||
* | ARTIFICIAL and NAMED flags now used only in parse trees. | Adrian Thurston | 2012-05-16 | 4 | -15/+27 |
| | |||||
* | Took the args specific to compile-time out of makeTokenWithData. Those | Adrian Thurston | 2012-05-16 | 3 | -10/+10 |
| | | | | operations effected afterwards in ctinput.cc. | ||||
* | Now translating only the parseTree->id to termDup from nonterminals. The data | Adrian Thurston | 2012-05-16 | 3 | -43/+12 |
| | | | | | | | | | tree id always remains as the nonterminal. The nested comm output needs to be adjusted because it is now functioning correctly. A nonterm was sent as a comment and was not translated back to the nonterm from the dup when the comment was attached. Now that translation doesn't happen at all and so it is correctly a nonterminal. | ||||
* | Couple fixes for the token.line operation. | Adrian Thurston | 2012-05-16 | 1 | -1/+5 |
| | |||||
* | Added token.line for fetching line information. | Adrian Thurston | 2012-05-16 | 4 | -0/+34 |
| | |||||
* | Simplified a debug call. | Adrian Thurston | 2012-05-16 | 1 | -8/+1 |
| | |||||
* | AF_TERM_DUP now stays out of the data parse tree node. The NAMED and ARTIFICIAL | Adrian Thurston | 2012-05-16 | 2 | -15/+11 |
| | | | | | flags not accessed in the fillNodes. Must complete the movement of those flags too. | ||||
* | Going to move more flags into the parse tree nodes. Verifying that they are | Adrian Thurston | 2012-05-16 | 1 | -12/+39 |
| | | | | accessible as is there with some assertions. | ||||
* | The IL_ATTACHED flags belong in the parse tree flags, not the data tree. | Adrian Thurston | 2012-05-15 | 2 | -29/+16 |
| | |||||
* | Some cleanup. | Adrian Thurston | 2012-05-15 | 1 | -37/+25 |
| | |||||
* | More leaks cleaned up. Test suite runs clean. | Adrian Thurston | 2012-05-14 | 2 | -8/+13 |
| | |||||
* | Refcounting improvements. | Adrian Thurston | 2012-05-14 | 1 | -49/+44 |
| | |||||
* | Don't need to mirror Tree anymore. Removed some ParseTree fields. | Adrian Thurston | 2012-05-14 | 3 | -24/+4 |
| | |||||
* | Parse tree reaping. | Adrian Thurston | 2012-05-14 | 1 | -17/+25 |
| | |||||
* | Eliminated PtKid. Worked on first test run (!). | Adrian Thurston | 2012-05-14 | 9 | -222/+191 |
| | |||||
* | Eliminated some casts that are no longer necessary. | Adrian Thurston | 2012-05-14 | 1 | -7/+6 |
| | |||||
* | Eliminated the pt macro. | Adrian Thurston | 2012-05-14 | 9 | -159/+138 |
| | |||||
* | Need the getRhsVal for the C interface. | Adrian Thurston | 2012-05-14 | 1 | -1/+12 |
| | |||||
* | Pointers to parse trees in the pda run are now using the parse tree structs | Adrian Thurston | 2012-05-14 | 6 | -75/+46 |
| | | | | (and Kid2). | ||||
* | Warn about lost trees/kids only if enable-debug has been specified. | Adrian Thurston | 2012-05-14 | 1 | -7/+10 |
| | |||||
* | Added a separate Kid data structure for use with parse trees. | Adrian Thurston | 2012-05-14 | 5 | -23/+49 |
| | |||||
* | Separate the attach ignores into right and left attach. The right ignores are | Adrian Thurston | 2012-05-13 | 1 | -44/+91 |
| | | | | | | | now attached when a token induces a reduction, as well as on a shift. Don't need to use tokenList, which was unsafe and incorrect when the tree is transformed. The detach was also separated, but we are not yet detaching the rights. All tests pass regardless. | ||||
* | Only advance reductions where we need to for parse_stop. | Adrian Thurston | 2012-05-13 | 4 | -2/+44 |
| | |||||
* | Some code movement. | Adrian Thurston | 2012-05-12 | 2 | -96/+95 |
| | |||||
* | Simplified the restore of accumulated parse trees when they are detached. Only | Adrian Thurston | 2012-05-12 | 2 | -25/+19 |
| | | | | a single walk. | ||||
* | Reverse the accum ignore list parse trees when attaching. This is consistent | Adrian Thurston | 2012-05-12 | 1 | -5/+12 |
| | | | | with the reversal of the data trees, as well as reduced parse and data trees. | ||||
* | Detach parse trees and data trees on reduction. Only the real stack retains | Adrian Thurston | 2012-05-12 | 1 | -15/+18 |
| | | | | | shadow pointers. Likewise for ignores. When they are attached to the data trees they are detached from the parse trees that maintain the unparsing history. | ||||
* | Merge branch 'master' of ssh://complang.org/var/git/colm | Adrian Thurston | 2012-05-12 | 3 | -34/+25 |
|\ | |||||
| * | Use data trees in the token list, not parse trees. | Adrian Thurston | 2012-05-12 | 1 | -12/+12 |
| | | |||||
| * | Use AF_HAS_RCODE only in parse tree flags. | Adrian Thurston | 2012-05-11 | 3 | -22/+13 |
| | | |||||
* | | Fill nodes using the data tree. | Adrian Thurston | 2012-05-11 | 1 | -60/+58 |
| | | |||||
* | | Going to eliminate the use of state in when building patterns and replacements. | Adrian Thurston | 2012-05-11 | 1 | -55/+64 |
|/ | | | | | Want to operate on the data tree. Compute node indexes as we go rather than filling in one pass and referencing in another. | ||||
* | Better separation between parse trees and data trees in the ignore accumulator. | Adrian Thurston | 2012-05-10 | 1 | -27/+28 |
| | |||||
* | Getting stricter about the difference between parse trees and data trees. Need | Adrian Thurston | 2012-05-10 | 3 | -29/+60 |
| | | | | the restore RHS instruction back. Previously relied on the shadow too much. | ||||
* | Cleanup the building of child lists in the reduction. | Adrian Thurston | 2012-05-10 | 1 | -27/+15 |
| | |||||
* | Warning elimination. | Adrian Thurston | 2012-05-10 | 3 | -16/+29 |
| | |||||
* | Fixed some warnings. Removed some old ignore-in-parse-tree code. | Adrian Thurston | 2012-05-10 | 3 | -18/+6 |
| | |||||
* | Some cleanup. | Adrian Thurston | 2012-05-09 | 1 | -20/+26 |
| | |||||
* | The data trees are now allocated as plain trees, not parse trees. | Adrian Thurston | 2012-05-08 | 4 | -24/+12 |
| | |||||
* | Minor cleanup. | Adrian Thurston | 2012-05-08 | 1 | -4/+4 |
| |