Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | renamed DefList and LelDefList to the more accurate ProdList, LelProdList | Adrian Thurston | 2020-04-12 | 1 | -13/+13 |
| | |||||
* | first cut of a redefine statement | Adrian Thurston | 2020-04-12 | 1 | -15/+17 |
| | | | | | | | | Redefine happens during declaration. The existing langEl is removed from the map and a newly-declared lel replaces it. If the new list of productions references [...] the productions from the previous lel are moved into the new one, in its place. A copy would be preferrable, as move may require some fixup, but move gives an initial functional implementation. refs #112 | ||||
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+1128 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -1122/+0 |
| | |||||
* | reusing stream impls when parsing from 'input' | Adrian Thurston | 2018-07-04 | 1 | -2/+11 |
| | | | | | | | | 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. | ||||
* | added stds, a list of streams, used for bare sends | Adrian Thurston | 2018-05-13 | 1 | -0/+8 |
| | |||||
* | allow a prod-name case clause to also have a pattern | Adrian Thurston | 2018-03-11 | 1 | -2/+3 |
| | |||||
* | allow switching on production numbers | Adrian Thurston | 2018-03-09 | 1 | -4/+12 |
| | | | | | 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 |
| | |||||
* | added a read_reduce statement to call postfix reducer | Adrian Thurston | 2017-07-27 | 1 | -4/+4 |
| | | | | Triggers the generation of the reducer. Accepts a stream. | ||||
* | fixed type of strtol return val in lexFactorRepNum | Adrian Thurston | 2016-12-19 | 1 | -1/+1 |
| | | | | Patch from Peter Reijnders | ||||
* | 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 | -8/+4 |
| | |||||
* | split reducers into their own class | Adrian Thurston | 2015-11-05 | 1 | -4/+7 |
| | | | | Previously selected with a runtime int. Using reduction name as the class name. | ||||
* | added syntax dedicated to reductions | Adrian Thurston | 2015-10-05 | 1 | -4/+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/+15 |
| | |||||
* | working on a commit that can execute reduction actions | Adrian Thurston | 2015-10-04 | 1 | -2/+5 |
| | | | | | | 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). | ||||
* | allow globals to be declared in namespaces | Adrian Thurston | 2015-08-09 | 1 | -40/+39 |
| | |||||
* | now scoping functions inside the namespaces they are declared in | Adrian Thurston | 2015-08-09 | 1 | -26/+29 |
| | |||||
* | cleanup in the list and map types | Adrian Thurston | 2015-06-14 | 1 | -6/+4 |
| | |||||
* | now creating list and map el structures in the declare pass | Adrian Thurston | 2015-06-07 | 1 | -30/+2 |
| | |||||
* | some nameing cleanup around list and list el | Adrian Thurston | 2015-06-06 | 1 | -3/+3 |
| | |||||
* | replacing list and map with vlist and vmap | Adrian Thurston | 2015-06-06 | 1 | -4/+34 |
| | |||||
* | fixed identification of tree map keys, which fixes the key downrefcolm-barracuda-v2colm-barracuda-v1 | Adrian Thurston | 2015-04-19 | 1 | -1/+1 |
| | |||||
* | first cut of C extensions | Adrian Thurston | 2015-04-01 | 1 | -0/+12 |
| | |||||
* | code cleanup and movement | Adrian Thurston | 2015-02-15 | 1 | -6/+5 |
| | |||||
* | some code cleanup, clone removal | Adrian Thurston | 2015-02-13 | 1 | -0/+31 |
| | |||||
* | 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 | ||||
* | support recursive list elements references | Adrian Thurston | 2015-01-18 | 1 | -1/+1 |
| | | | | The search for list_el invoked a recursive evaluation of the types. | ||||
* | set the argv_el id when creating the structs | Adrian Thurston | 2015-01-11 | 1 | -3/+5 |
| | |||||
* | some work on list access and traversal | Adrian Thurston | 2015-01-05 | 1 | -0/+1 |
| | |||||
* | Context renamed to StructDef | Adrian Thurston | 2015-01-05 | 1 | -6/+5 |
| | |||||
* | some cleanup in the parser/loader | Adrian Thurston | 2015-01-05 | 1 | -3/+3 |
| | |||||
* | push towards embedded list elements | Adrian Thurston | 2015-01-04 | 1 | -1/+56 |
| | |||||
* | some name changing context -> struct | Adrian Thurston | 2015-01-04 | 1 | -14/+14 |
| | |||||
* | don't allocate a constructor for parse statements | Adrian Thurston | 2015-01-04 | 1 | -9/+4 |
| | | | | Just need a consItemList for the list of items we are going to parse. | ||||
* | cleanup in the struct declaration | Adrian Thurston | 2015-01-03 | 1 | -14/+9 |
| | |||||
* | merged StructDef and Context structs | Adrian Thurston | 2015-01-03 | 1 | -10/+5 |
| | |||||
* | some cleanup in the struct declaration | Adrian Thurston | 2015-01-03 | 1 | -7/+6 |
| | |||||
* | removed the context form, can only declare structs now | Adrian Thurston | 2015-01-02 | 1 | -19/+3 |
| | |||||
* | rolling over to struct type for stream | Adrian Thurston | 2014-12-28 | 1 | -1/+22 |
| | |||||
* | converted the global object to a struct | Adrian Thurston | 2014-12-25 | 1 | -3/+7 |
| | |||||
* | hacked together some struct (non-tree) semantics | Adrian Thurston | 2014-12-19 | 1 | -0/+16 |
| | | | | Can new, get and set non-tree objects (very limited features). | ||||
* | added struct, struct field and corresponding instructions | Adrian Thurston | 2014-12-14 | 1 | -2/+3 |
| | | | | | Can new and set/get the fields of a struct. Still using underlying tree object to implement. | ||||
* | some name shortening | Adrian Thurston | 2014-12-14 | 1 | -2/+3 |
| | |||||
* | eliminated more of the bools from ObjectField | Adrian Thurston | 2014-12-14 | 1 | -2/+0 |
| | |||||
* | specify the type of the ObjectField when it is created | Adrian Thurston | 2014-12-13 | 1 | -6/+9 |
| | | | | When creating an ObjectField, specify the internal type for use later on. | ||||
* | renamed parsedata.h -> compiler.h | Adrian Thurston | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | removed object-based typerefs for generics | Adrian Thurston | 2014-11-08 | 1 | -1/+1 |
| | |||||
* | cleanup in the TypeRef type enum | Adrian Thurston | 2014-11-08 | 1 | -2/+2 |
| |