Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+954 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -954/+0 |
| | |||||
* | allow referencing a tree in reduction actions | Adrian Thurston | 2018-12-17 | 1 | -8/+59 |
| | | | | syntax is $*N | ||||
* | disabled the experimental postfix reduce | Adrian Thurston | 2018-12-13 | 1 | -2/+3 |
| | | | | | | | | Considered using this as a means of transmitting parsed frontend to common reducer in Ragel ... way too error prone though. May revive later on, however the C++ wrapper for FILE is not standard. refs #251 | ||||
* | make it optional to clean trees as we reduce | Adrian Thurston | 2018-12-12 | 1 | -4/+6 |
| | | | | | Was always freeing trees after each reduction action. Can now turn this off and have the trees underneath what we have reduced available. | ||||
* | some more separation of stream_t and input_t | Adrian Thurston | 2018-07-09 | 1 | -1/+1 |
| | |||||
* | generate unescape only if needed | Adrian Thurston | 2018-05-18 | 1 | -2/+13 |
| | |||||
* | updated Copyright years | Adrian Thurston | 2018-03-04 | 1 | -1/+1 |
| | |||||
* | fixed CmpReduceActions | Adrian Thurston | 2018-03-04 | 1 | -1/+1 |
| | | | | | | Error in compare, which resulted in an improper sort, but no manifesting bug since the items out of order are placed into a switch statement with no fallthrough. | ||||
* | declare reduction_info array static | Adrian Thurston | 2018-01-22 | 1 | -1/+1 |
| | |||||
* | organization in reduce code generation | Adrian Thurston | 2017-07-30 | 1 | -215/+230 |
| | |||||
* | organizing the reduce code generator | Adrian Thurston | 2017-07-29 | 1 | -99/+160 |
| | |||||
* | added a read_reduce statement to call postfix reducer | Adrian Thurston | 2017-07-27 | 1 | -5/+9 |
| | | | | Triggers the generation of the reducer. Accepts a stream. | ||||
* | read-reduce: unescape token data to get proper pass throuh | Adrian Thurston | 2017-07-26 | 1 | -1/+26 |
| | |||||
* | added a reducer that can read the streaming postfix format | Adrian Thurston | 2017-07-25 | 1 | -30/+227 |
| | |||||
* | migrated from GPLv2 to MIT license | Adrian Thurston | 2016-12-13 | 1 | -17/+18 |
| | |||||
* | an automated include convention improvement from Peter Reijnders | Adrian Thurston | 2016-12-13 | 1 | -18/+4 |
| | |||||
* | use tree_child in the reduction commit | Adrian Thurston | 2016-03-23 | 1 | -1/+1 |
| | | | | Otherwise ignores and attributes will put the walks out of sync. | ||||
* | host adapters now have unique names are are accessed with func pointers | Adrian Thurston | 2016-02-19 | 1 | -10/+10 |
| | | | | | This eliminates symbol collisions present when linking multiple colm programs into the same executable. | ||||
* | clear the data trees as well as parse trees during reduction | Adrian Thurston | 2015-12-02 | 1 | -0/+3 |
| | | | | | This change brings memory consumption in line with a ragel+kelbt parse for large grammars and inputs. | ||||
* | allow omission of location in reductions | Adrian Thurston | 2015-11-30 | 1 | -10/+108 |
| | | | | | | | There is code in here for omission of location and data in reductions. Unfortunately we cannot enable the omission of data unless we make changes to the backtracking. In the current implementation we push the token data with an mcopy from the data in the token. | ||||
* | reducer: cursor through rhs elements instead of starting from zero | Adrian Thurston | 2015-11-22 | 1 | -20/+90 |
| | |||||
* | added line directives reduction code generator | Adrian Thurston | 2015-11-21 | 1 | -1/+8 |
| | |||||
* | stash reduction class in program | Adrian Thurston | 2015-11-05 | 1 | -7/+1 |
| | |||||
* | split reducers into their own class | Adrian Thurston | 2015-11-05 | 1 | -55/+75 |
| | | | | Previously selected with a runtime int. Using reduction name as the class name. | ||||
* | allow access to rhs elements by number | Adrian Thurston | 2015-11-01 | 1 | -31/+57 |
| | |||||
* | allow multiple reducers | Adrian Thurston | 2015-10-21 | 1 | -3/+11 |
| | | | | selection is currently manual using a numberical identifier | ||||
* | some bug fixes in construction of the reducer | Adrian Thurston | 2015-10-20 | 1 | -0/+1 |
| | |||||
* | reduction actions: add loc reference, elim duplicate labels | Adrian Thurston | 2015-10-08 | 1 | -18/+119 |
| | |||||
* | declare lhs and rhs vars before use | Adrian Thurston | 2015-10-07 | 1 | -33/+86 |
| | |||||
* | load and generate accessors for $$ and $rhsel | Adrian Thurston | 2015-10-07 | 1 | -0/+219 |