Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+471 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -477/+0 |
| | |||||
* | replace eof_sent in input interface with bit in pda_run | Adrian Thurston | 2018-07-10 | 1 | -2/+2 |
| | |||||
* | more separation of input and stream | Adrian Thurston | 2018-07-10 | 1 | -1/+0 |
| | |||||
* | select between parser/plain stream at compile time, switch to "_" | Adrian Thurston | 2018-07-09 | 1 | -1/+1 |
| | | | | | | | | | Now that we have multiple parser using the same stream it is not responsible to set a pointer to parser from stream and rely on that to decide where to send (or to check if it is a simple stream). Back to making the decision at compile time. Also switching from "stds" to "_". | ||||
* | some more separation of stream_t and input_t | Adrian Thurston | 2018-07-09 | 1 | -4/+4 |
| | |||||
* | separating the input from stream type | Adrian Thurston | 2018-07-08 | 1 | -4/+4 |
| | |||||
* | reusing stream impls when parsing from 'input' | Adrian Thurston | 2018-07-04 | 1 | -1/+0 |
| | | | | | | | | 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. | ||||
* | balancing pushes and pulls | Adrian Thurston | 2018-06-25 | 1 | -2/+0 |
| | |||||
* | added colm_program as an arg to input functions | Adrian Thurston | 2018-06-25 | 1 | -4/+4 |
| | | | | need this to perform input logging | ||||
* | starting to separate run time stream impls from the base | Adrian Thurston | 2018-06-18 | 1 | -1/+1 |
| | | | | | Can't yet make it fully abstract since there are a number of instances direct access inside stream_impl. Need to put those behind some abstract functions. | ||||
* | some cleanup of types and names in the input subsystem | Adrian Thurston | 2018-06-17 | 1 | -1/+1 |
| | |||||
* | removed stopId from parse frag instruction | Adrian Thurston | 2018-05-15 | 1 | -1/+1 |
| | |||||
* | unified parse frag and finish | Adrian Thurston | 2018-05-15 | 1 | -4/+4 |
| | |||||
* | added an instruction for the final reduce commit | Adrian Thurston | 2018-05-15 | 1 | -0/+3 |
| | | | | | Was doing this in the parse finish instruction. Moving this out is the last change to make the frag and finish parses identical. | ||||
* | don't use parse finish to pull out parse result, use dedeicated instruction | Adrian Thurston | 2018-05-14 | 1 | -2/+4 |
| | | | | Working towards unifying the parse frag and parse finish instructions. | ||||
* | updated Copyright years | Adrian Thurston | 2018-03-04 | 1 | -1/+1 |
| | |||||
* | 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 | -3/+4 |
| | |||||
* | commit shift count needs to be initialized to -1 | Adrian Thurston | 2016-03-23 | 1 | -0/+6 |
| | | | | | An initial value of zero for commit shift count means we can erroneously fail a parse when we back up to zero shifts. | ||||
* | added a fail-parsing flag that allows immediate abort from reduction actions | Adrian Thurston | 2016-03-01 | 1 | -0/+3 |
| | | | | | This flag causes all alternate parsing paths to be aborted and pda_run to immedately fail. Tested with reduction actions. | ||||
* | host adapters now have unique names are are accessed with func pointers | Adrian Thurston | 2016-02-19 | 1 | -9/+0 |
| | | | | | 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/+1 |
| | | | | | 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 | -3/+7 |
| | | | | | | | 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. | ||||
* | dynamically size runbufs from extract_token | Adrian Thurston | 2015-11-12 | 1 | -1/+1 |
| | | | | Allows large tokens. Note there are other places this is needed. | ||||
* | split reducers into their own class | Adrian Thurston | 2015-11-05 | 1 | -2/+5 |
| | | | | Previously selected with a runtime int. Using reduction name as the class name. | ||||
* | declare lhs and rhs vars before use | Adrian Thurston | 2015-10-07 | 1 | -4/+3 |
| | |||||
* | generate the union and size parse tree according to it | Adrian Thurston | 2015-10-05 | 1 | -0/+2 |
| | |||||
* | put reducer code in its own file, use local parse tree pool | Adrian Thurston | 2015-10-05 | 1 | -2/+3 |
| | |||||
* | added syntax dedicated to reductions | Adrian Thurston | 2015-10-05 | 1 | -0/+9 |
| | | | | | This avoids interferrence with existing parsing code. Calling the commit/reduce code only if the reduce construct is used. | ||||
* | put parse tree allocator struct into pda_run as a pointer, allowing override | Adrian Thurston | 2015-10-05 | 1 | -0/+2 |
| | |||||
* | working on a commit that can execute reduction actions | Adrian Thurston | 2015-10-04 | 1 | -0/+2 |
| | | | | | | First track if the result is used. If not, we can remove parse trees at commit points. This is also the time to execute reduction actions so we can load as we parse. Not currently enabled (by way of omitting setting of not-used bit). | ||||
* | large scale symbol renaming in C codecolm-barracuda-v3 | Adrian Thurston | 2015-05-22 | 1 | -136/+136 |
| | | | | using _ conventions for C, camelCase of C++ | ||||
* | more application of C naming conventions | Adrian Thurston | 2015-05-15 | 1 | -35/+35 |
| | |||||
* | naming convention improvements | Adrian Thurston | 2015-05-15 | 1 | -44/+31 |
| | |||||
* | improved naming, moved generated parser code to subdir gen | Adrian Thurston | 2015-05-10 | 1 | -62/+56 |
| | |||||
* | some naming cleanup | Adrian Thurston | 2015-05-10 | 1 | -16/+16 |
| | |||||
* | merged FsmRun and PdaRun into pda_run, eliminated typedef | Adrian Thurston | 2015-05-10 | 1 | -52/+49 |
| | |||||
* | cleanup of the coroutine code | Adrian Thurston | 2015-05-10 | 1 | -9/+10 |
| | |||||
* | code cleanup and some fixes for iter unwind since splitting unwind/destroy | Adrian Thurston | 2015-05-10 | 1 | -0/+1 |
| | |||||
* | work in progress on a contiguous arg space prepared by caller | Adrian Thurston | 2015-03-28 | 1 | -1/+2 |
| | | | | Also fixed the tree downref in exit unwind. Not always a tree. | ||||
* | some more code improvements in pdarun | Adrian Thurston | 2015-02-07 | 1 | -3/+3 |
| | |||||
* | code movement and conventions | Adrian Thurston | 2015-02-07 | 1 | -12/+11 |
| | |||||
* | new backtrack-halt strategy: count shifts and checkpoint on commit | Adrian Thurston | 2015-02-07 | 1 | -0/+2 |
| | | | | | | Rather than count the number of retries present, which turns out to require lots of tests in various places. Just track shifts, regardless of retries. When comitting, store then, then only every backup to this point. | ||||
* | 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 | ||||
* | some function name improvements | Adrian Thurston | 2015-01-11 | 1 | -3/+0 |
| | |||||
* | various fixes for object semantics | Adrian Thurston | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | object semantics fixes for setting the parser context | Adrian Thurston | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | removed the generic pointer from LangEl | Adrian Thurston | 2015-01-05 | 1 | -4/+0 |
| | |||||
* | more rough work on object-based lists | Adrian Thurston | 2015-01-04 | 1 | -0/+1 |
| |