Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replace eof_sent in input interface with bit in pda_run | Adrian Thurston | 2018-07-10 | 1 | -4/+0 |
| | |||||
* | some cleanup of eof interface | Adrian Thurston | 2018-07-10 | 1 | -12/+5 |
| | | | | | Still have two bools concerning eof. Can't unify these yet ... need break down the two concepts to try to unify. | ||||
* | more separation of input and stream | Adrian Thurston | 2018-07-10 | 1 | -51/+37 |
| | |||||
* | separating the input from stream type | Adrian Thurston | 2018-07-08 | 1 | -5/+5 |
| | |||||
* | some improvements to the the stream funcs | Adrian Thurston | 2018-07-07 | 1 | -42/+40 |
| | |||||
* | some better organization of the stream funcs | Adrian Thurston | 2018-07-06 | 1 | -15/+24 |
| | |||||
* | converted ctinput.cc to C conventions to match input.c | Adrian Thurston | 2018-07-06 | 1 | -92/+57 |
| | |||||
* | skip arg to get_parse_block needs to be a pointer | Adrian Thurston | 2018-07-04 | 1 | -12/+12 |
| | | | | | | Previously, all the pushed back text went to the top-level stream and it was okay to not persist between data calls. Since we started pushing back to the sub-streams we need to persist this using a pointer in the interface. | ||||
* | use stream_impl_ct directly | Adrian Thurston | 2018-07-02 | 1 | -8/+60 |
| | | | | Don't put it behind a stream_impl_seq | ||||
* | added colm_program as an arg to input functions | Adrian Thurston | 2018-06-25 | 1 | -15/+15 |
| | | | | need this to perform input logging | ||||
* | added location information to stream interfaces | Adrian Thurston | 2018-06-18 | 1 | -0/+7 |
| | | | | | Last of the interface making, allows us to strip down stream_impl into just funcs pointer, making it entirely abstract. | ||||
* | wrapped eof_sent in stream funcs | Adrian Thurston | 2018-06-18 | 1 | -2/+21 |
| | |||||
* | added close_stream to stream funcs | Adrian Thurston | 2018-06-18 | 1 | -2/+2 |
| | |||||
* | added print_tree to stream funcs | Adrian Thurston | 2018-06-18 | 1 | -2/+2 |
| | | | | | Selects between file and collect. Will want to also ensure only called on a "data" stream_impl. | ||||
* | added stream funcs for collect and flush | Adrian Thurston | 2018-06-18 | 1 | -0/+4 |
| | |||||
* | some org of stream_funcs | Adrian Thurston | 2018-06-18 | 1 | -9/+23 |
| | |||||
* | moved stream destructor code to respective callbacks | Adrian Thurston | 2018-06-18 | 1 | -2/+2 |
| | |||||
* | use a define to declare multiple stream funcs | Adrian Thurston | 2018-06-18 | 1 | -20/+22 |
| | | | | | Using this technique so we don't need to cast individual functions and don't lose type checking on the signatures. | ||||
* | added destructor to stream functions | Adrian Thurston | 2018-06-18 | 1 | -0/+10 |
| | |||||
* | removed unused prg and sp args from consume_data stream func | Adrian Thurston | 2018-06-18 | 1 | -4/+2 |
| | |||||
* | specialize stream impl for compile-time parsing | Adrian Thurston | 2018-06-17 | 1 | -21/+38 |
| | |||||
* | cast stream funcs so we can specialize stream_impl structs | Adrian Thurston | 2018-06-17 | 1 | -12/+12 |
| | |||||
* | declare types for the stream funcs | Adrian Thurston | 2018-06-17 | 1 | -46/+0 |
| | | | | | | | Going to experiment with specializing the stream_impl struct to compile-time and run-time uses. Will cast the functions to so we don't need to ever cast the args. This makes for some convenient code, but we lose compiler support in checking the signature of the stream functions. | ||||
* | 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 | -6/+7 |
| | |||||
* | prep code for managing stream name in the stream destructor | Adrian Thurston | 2016-03-02 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | dynamically size runbufs from extract_token | Adrian Thurston | 2015-11-12 | 1 | -3/+4 |
| | | | | Allows large tokens. Note there are other places this is needed. | ||||
* | put parse tree allocator struct into pda_run as a pointer, allowing override | Adrian Thurston | 2015-10-05 | 1 | -1/+1 |
| | |||||
* | fix for putting back to the compile-time input streams | Adrian Thurston | 2015-06-27 | 1 | -2/+17 |
| | | | | Need to be able to cross back over buffer boundaries. | ||||
* | removed the fd-based IO funcs, just using FILE structs | Adrian Thurston | 2015-06-21 | 1 | -4/+4 |
| | | | | | IO should be buffered for performance, we do many small prints when we iterate trees. | ||||
* | large scale symbol renaming in C codecolm-barracuda-v3 | Adrian Thurston | 2015-05-22 | 1 | -43/+43 |
| | | | | using _ conventions for C, camelCase of C++ | ||||
* | naming convention improvements | Adrian Thurston | 2015-05-17 | 1 | -1/+1 |
| | |||||
* | more application of C naming conventions | Adrian Thurston | 2015-05-15 | 1 | -10/+10 |
| | |||||
* | naming convention improvements | Adrian Thurston | 2015-05-15 | 1 | -29/+32 |
| | |||||
* | merged FsmRun and PdaRun into pda_run, eliminated typedef | Adrian Thurston | 2015-05-10 | 1 | -4/+5 |
| | |||||
* | cleanup of the coroutine code | Adrian Thurston | 2015-05-10 | 1 | -1/+1 |
| | |||||
* | always emit the host-call function | Adrian Thurston | 2015-04-01 | 1 | -5/+0 |
| | |||||
* | first cut of C extensions | Adrian Thurston | 2015-04-01 | 1 | -0/+5 |
| | |||||
* | code movement and conventions | Adrian Thurston | 2015-02-07 | 1 | -2/+3 |
| | |||||
* | function name cleanup | Adrian Thurston | 2015-01-27 | 1 | -2/+2 |
| | |||||
* | 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 parsedata.h -> compiler.h | Adrian Thurston | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | removed GPL license file and stripped GPL headers | Adrian Thurston | 2014-10-22 | 1 | -17/+0 |
| | |||||
* | downref embedded streams when they are consumed | Adrian Thurston | 2014-07-16 | 1 | -2/+3 |
| | |||||
* | some code cleanup: Form and constructor arg order | Adrian Thurston | 2014-01-05 | 1 | -4/+4 |
| | |||||
* | trying out name "Form" for abstract syntax tree types | Adrian Thurston | 2013-12-30 | 1 | -4/+4 |
| | |||||
* | dead code removal, name name improvements | Adrian Thurston | 2013-12-29 | 1 | -3/+3 |
| | |||||
* | some dead code removal and name improvements | Adrian Thurston | 2013-12-29 | 1 | -5/+5 |
| | |||||
* | renamed colm dir to src | Adrian Thurston | 2013-06-08 | 1 | -0/+497 |
| | | | | | | Renamed 'colm' dir to 'src'. To allow colm to work out of the installed location or the source tree, while the installed includes reference <colm/include.h>, a symlink to '..' is placed at src/include/colm. |