Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | renamed DefList and LelDefList to the more accurate ProdList, LelProdList | Adrian Thurston | 2020-04-12 | 1 | -12/+12 |
| | |||||
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+1263 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -1247/+0 |
| | |||||
* | can't send parse errors to cerr as text | Adrian Thurston | 2019-03-01 | 1 | -2/+3 |
| | | | | Fix from Wictor Lund. | ||||
* | separating the input from stream type | Adrian Thurston | 2018-07-08 | 1 | -3/+3 |
| | |||||
* | reusing stream impls when parsing from 'input' | Adrian Thurston | 2018-07-04 | 1 | -0/+2 |
| | | | | | | | | To detect parsing from a top level input and to avoid appending it to a parser's top level (thus creating a tree), added a new type for input so we can replace the parser's top level. This change forces us to a two level structure where stream seq is at the top and stream data underneath. Requires us to hack the destructor so that we don't multiple delete the stream impl. | ||||
* | use stream_impl_ct directly | Adrian Thurston | 2018-07-02 | 1 | -9/+1 |
| | | | | Don't put it behind a stream_impl_seq | ||||
* | added colm_program as an arg to input functions | Adrian Thurston | 2018-06-25 | 1 | -2/+2 |
| | | | | need this to perform input logging | ||||
* | some cleanup of types and names in the input subsystem | Adrian Thurston | 2018-06-17 | 1 | -1/+1 |
| | |||||
* | allow switching on production numbers | Adrian Thurston | 2018-03-09 | 1 | -1/+3 |
| | | | | | Added a form to case statements that accepts a production name instead of a pattern. | ||||
* | updated Copyright years | Adrian Thurston | 2018-03-04 | 1 | -1/+1 |
| | |||||
* | migrated from GPLv2 to MIT license | Adrian Thurston | 2016-12-13 | 1 | -17/+19 |
| | |||||
* | an automated include convention improvement from Peter Reijnders | Adrian Thurston | 2016-12-13 | 1 | -13/+6 |
| | |||||
* | extract stream file names so we can use them after the colm program is deleted | Adrian Thurston | 2016-03-16 | 1 | -0/+9 |
| | |||||
* | prep code for managing stream name in the stream destructor | Adrian Thurston | 2016-03-02 | 1 | -3/+3 |
| | | | | | | | Requires strduping static names, and also copying names when stealing location information when a stream is pushed onto a stream. Can't yet delete (strings need after colm program is deleted). Need a solution for delated delete of a program's strings. | ||||
* | host adapters now have unique names are are accessed with func pointers | Adrian Thurston | 2016-02-19 | 1 | -6/+5 |
| | | | | | This eliminates symbol collisions present when linking multiple colm programs into the same executable. | ||||
* | allow omission of location in reductions | Adrian Thurston | 2015-11-30 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | added an option, -b, for specifying the name of the program object | Adrian Thurston | 2015-11-27 | 1 | -2/+3 |
| | | | | | This also triggers the omission of C adapter funcs, which need to be present only once in a binary that includes a colm code. | ||||
* | load and generate accessors for $$ and $rhsel | Adrian Thurston | 2015-10-07 | 1 | -143/+0 |
| | |||||
* | collect and emit reduction action items | Adrian Thurston | 2015-10-06 | 1 | -3/+22 |
| | |||||
* | generate the union and size parse tree according to it | Adrian Thurston | 2015-10-05 | 1 | -2/+35 |
| | |||||
* | put reducer code in its own file, use local parse tree pool | Adrian Thurston | 2015-10-05 | 1 | -3/+31 |
| | |||||
* | traverse both parse tree and real tree during reduce | Adrian Thurston | 2015-10-05 | 1 | -5/+10 |
| | |||||
* | added syntax dedicated to reductions | Adrian Thurston | 2015-10-05 | 1 | -3/+4 |
| | | | | | This avoids interferrence with existing parsing code. Calling the commit/reduce code only if the reduce construct is used. | ||||
* | load reduction actions and generate a commit containing them | Adrian Thurston | 2015-10-04 | 1 | -0/+69 |
| | |||||
* | set debug realms when parsing patterns and replacements | Adrian Thurston | 2015-06-27 | 1 | -0/+2 |
| | |||||
* | large scale symbol renaming in C codecolm-barracuda-v3 | Adrian Thurston | 2015-05-22 | 1 | -7/+7 |
| | | | | using _ conventions for C, camelCase of C++ | ||||
* | more application of C naming conventions | Adrian Thurston | 2015-05-15 | 1 | -10/+10 |
| | |||||
* | naming convention improvements | Adrian Thurston | 2015-05-15 | 1 | -4/+4 |
| | |||||
* | some naming cleanup | Adrian Thurston | 2015-05-10 | 1 | -1/+1 |
| | |||||
* | merged FsmRun and PdaRun into pda_run, eliminated typedef | Adrian Thurston | 2015-05-10 | 1 | -2/+2 |
| | |||||
* | cleanup of the coroutine code | Adrian Thurston | 2015-05-10 | 1 | -2/+2 |
| | |||||
* | code cleanup and some fixes for iter unwind since splitting unwind/destroy | Adrian Thurston | 2015-05-10 | 1 | -18/+24 |
| | |||||
* | added stack pointer to the extension func arg list | Adrian Thurston | 2015-04-03 | 1 | -2/+2 |
| | |||||
* | always emit the host-call function | Adrian Thurston | 2015-04-01 | 1 | -37/+38 |
| | |||||
* | first cut of C extensions | Adrian Thurston | 2015-04-01 | 1 | -0/+48 |
| | |||||
* | generalized loopCleanup code to a stack unwind code vector | Adrian Thurston | 2015-03-22 | 1 | -1/+0 |
| | | | | | Going to use this for general stack unwinding at return, iterator destroy and possibly exceptions as well. | ||||
* | code movement and conventions | Adrian Thurston | 2015-02-07 | 1 | -1/+1 |
| | |||||
* | first cut of value-based ints, test cases pass | Adrian Thurston | 2015-01-27 | 1 | -2/+0 |
| | |||||
* | function name cleanup | Adrian Thurston | 2015-01-27 | 1 | -3/+3 |
| | |||||
* | revert "removed GPL license file and stripped GPL headers" | Adrian Thurston | 2015-01-23 | 1 | -0/+17 |
| | | | | | | | | | | This reverts commit f04d3ede7dbb6d3edd6a9865ebf88c5e6d82f18e. Conflicts: src/codegen.cc src/ctinput.cc src/exports.cc src/fsmcodegen.cc | ||||
* | renamed argv0 to arg0, fixed the leak | Adrian Thurston | 2015-01-10 | 1 | -2/+2 |
| | |||||
* | fixes for the pattern and constructor parsers | Adrian Thurston | 2015-01-10 | 1 | -2/+3 |
| | |||||
* | don't allocate a constructor for parse statements | Adrian Thurston | 2015-01-04 | 1 | -10/+7 |
| | | | | Just need a consItemList for the list of items we are going to parse. | ||||
* | no longer allocating a langEl to generics | Adrian Thurston | 2015-01-04 | 1 | -10/+14 |
| | | | | enerics are now structs. Also added the TYPE_GERERIC unique type. | ||||
* | make stream and parser overlay struct | Adrian Thurston | 2015-01-02 | 1 | -1/+2 |
| | |||||
* | parser converted to struct type | Adrian Thurston | 2015-01-02 | 1 | -1/+1 |
| | | | | Got a basic compile/run working with a struct-based parser object. | ||||
* | rolling over to struct type for stream | Adrian Thurston | 2014-12-28 | 1 | -2/+1 |
| | |||||
* | started converting stream to object type | Adrian Thurston | 2014-12-26 | 1 | -7/+5 |
| | |||||
* | converted the global object to a struct | Adrian Thurston | 2014-12-25 | 1 | -0/+2 |
| |