Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | assert we are not upreffing or downreffing structs | Adrian Thurston | 2018-06-15 | 1 | -0/+2 |
| | |||||
* | pass prg to colm_tree_upref and maintian first struct id | Adrian Thurston | 2018-06-15 | 1 | -17/+18 |
| | |||||
* | don't use parse finish to pull out parse result, use dedeicated instruction | Adrian Thurston | 2018-05-14 | 1 | -1/+2 |
| | | | | Working towards unifying the parse frag and parse finish instructions. | ||||
* | removed some commented-out code | Adrian Thurston | 2018-05-05 | 1 | -27/+4 |
| | |||||
* | replacing the void LEL with a keyword and TYPE_VOID (non-tree) | Adrian Thurston | 2018-05-04 | 1 | -8/+0 |
| | | | | | Using LEL was a hack to make it work quickly, usig a non-tree type is the proper solution. | ||||
* | updated Copyright years | Adrian Thurston | 2018-03-04 | 1 | -1/+1 |
| | |||||
* | split tree print code out to it's own file | Adrian Thurston | 2017-07-20 | 1 | -650/+0 |
| | |||||
* | started on a tree print in postfix notation | Adrian Thurston | 2017-07-20 | 1 | -0/+78 |
| | | | | | Postfix notation can be used as a streaming tree format as both an output and input. | ||||
* | minor fixes: a missing cast, no comma at enum end, no redefined typedefs | Peter Reijnders | 2016-12-19 | 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 | -12/+5 |
| | |||||
* | auto-trim in print, send and construct, disable with @ | Adrian Thurston | 2016-10-01 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Now automatically trimming when building trees and printing. This is consistent with the $ operator. Rationale is to standardize on the most commonly desired behaviour and provide options for the less-needed. Also much less likely to result in surprising output. There are many cases where test inputs won't have any surrounding ignores, making it easy to forget a trim is required. Then the occasional tree with surrounding ignores will give an undesired result. Better to standardize on trim, making the default behaviour more consistent. The trim can be turned off with the @ operator in front of an expression. | ||||
* | added the $$ operator, which converts tree-to-str with attrs | Adrian Thurston | 2015-12-15 | 1 | -4/+16 |
| | |||||
* | when tokens come from strings, init with a default location | Adrian Thurston | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | load and generate accessors for $$ and $rhsel | Adrian Thurston | 2015-10-07 | 1 | -0/+9 |
| | |||||
* | increment and decrement absolute indentation on _IN_ and _EX_ typescolm-barracuda-v5 | Adrian Thurston | 2015-06-28 | 1 | -12/+35 |
| | | | | | We can send these out when we are sending to a stream, or we can embed these types in parsers. | ||||
* | testing some indentation-normalization code | Adrian Thurston | 2015-06-21 | 1 | -0/+37 |
| | | | | | Want to be able to reformat indentation during code generation. This first bit of code will just flatten. Need to add indentation level tracking. | ||||
* | removed the fd-based IO funcs, just using FILE structs | Adrian Thurston | 2015-06-21 | 1 | -29/+28 |
| | | | | | 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 | -465/+465 |
| | | | | using _ conventions for C, camelCase of C++ | ||||
* | naming convention improvements | Adrian Thurston | 2015-05-17 | 1 | -85/+85 |
| | |||||
* | more application of C naming conventions | Adrian Thurston | 2015-05-15 | 1 | -275/+249 |
| | |||||
* | naming convention improvements | Adrian Thurston | 2015-05-15 | 1 | -10/+10 |
| | |||||
* | improved naming, moved generated parser code to subdir gen | Adrian Thurston | 2015-05-10 | 1 | -19/+19 |
| | |||||
* | merged FsmRun and PdaRun into pda_run, eliminated typedef | Adrian Thurston | 2015-05-10 | 1 | -1/+1 |
| | |||||
* | code cleanup and some fixes for iter unwind since splitting unwind/destroy | Adrian Thurston | 2015-05-10 | 1 | -6/+6 |
| | |||||
* | some warning fixes, CFLAGS default needs to be higher in configure.ac | Adrian Thurston | 2015-04-03 | 1 | -57/+7 |
| | |||||
* | removing casting from push/pop calls | Adrian Thurston | 2015-03-22 | 1 | -17/+17 |
| | |||||
* | some cleanup in the type macros | Adrian Thurston | 2015-03-21 | 1 | -13/+13 |
| | |||||
* | renamed push and pop to push_tree and pop_tree | Adrian Thurston | 2015-03-20 | 1 | -34/+34 |
| | |||||
* | implemented str.prefix and str.suffix | Adrian Thurston | 2015-03-01 | 1 | -15/+0 |
| | |||||
* | cleanup, including removal of map and list element pools | Adrian Thurston | 2015-02-15 | 1 | -1/+11 |
| | |||||
* | code cleanup and movement | Adrian Thurston | 2015-02-15 | 1 | -7/+0 |
| | |||||
* | first cut of value-based ints, test cases pass | Adrian Thurston | 2015-01-27 | 1 | -49/+45 |
| | |||||
* | function name cleanup | Adrian Thurston | 2015-01-27 | 1 | -47/+0 |
| | |||||
* | construct an input when creating a parser | Adrian Thurston | 2015-01-24 | 1 | -0/+1 |
| | | | | | No longer need a separate input construct step for parsers. Just create when constructing the parser. | ||||
* | 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 cleanup in the pointer | Adrian Thurston | 2015-01-18 | 1 | -21/+9 |
| | |||||
* | some function and type renaming | Adrian Thurston | 2015-01-18 | 1 | -4/+4 |
| | |||||
* | object-based maps: insert and find implementation | Adrian Thurston | 2015-01-17 | 1 | -17/+18 |
| | |||||
* | work on object-based lists | Adrian Thurston | 2015-01-05 | 1 | -58/+4 |
| | |||||
* | removed the generic pointer from LangEl | Adrian Thurston | 2015-01-05 | 1 | -64/+47 |
| | |||||
* | work on using embedded list element pointers | Adrian Thurston | 2015-01-04 | 1 | -21/+22 |
| | |||||
* | push towards embedded list elements | Adrian Thurston | 2015-01-04 | 1 | -1/+1 |
| | |||||
* | turning list elements into allocated objects | Adrian Thurston | 2015-01-04 | 1 | -3/+2 |
| | |||||
* | more rough work on object-based lists | Adrian Thurston | 2015-01-04 | 1 | -20/+6 |
| | |||||
* | cleanup in generics, using a single unique generic map | Adrian Thurston | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | some prep for detaching generics from lang elements | Adrian Thurston | 2015-01-03 | 1 | -23/+10 |
| | |||||
* | made list and map into structs | Adrian Thurston | 2015-01-02 | 1 | -52/+8 |
| | |||||
* | start using stream and parser structs | Adrian Thurston | 2015-01-02 | 1 | -4/+2 |
| | |||||
* | make stream and parser overlay struct | Adrian Thurston | 2015-01-02 | 1 | -35/+9 |
| |