Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added a coding conventions document | Adrian Thurston | 2017-01-02 | 1 | -0/+66 |
| | |||||
* | minor fixes: a missing cast, no comma at enum end, no redefined typedefs | Peter Reijnders | 2016-12-19 | 7 | -21/+10 |
| | |||||
* | correct name of realm names var, use var instead of strings | Peter Reijnders | 2016-12-19 | 3 | -11/+11 |
| | |||||
* | added autoconf and automake code for building asciidoc manual | Adrian Thurston | 2016-12-19 | 4 | -1/+39 |
| | |||||
* | docs: split code from prose | Peter Reijnders | 2016-12-19 | 19 | -184/+212 |
| | |||||
* | rough documentation outline | Peter Reijnders | 2016-12-19 | 31 | -0/+714 |
| | |||||
* | fixed type of strtol return val in lexFactorRepNum | Adrian Thurston | 2016-12-19 | 1 | -1/+1 |
| | | | | Patch from Peter Reijnders | ||||
* | fixed class vs struct inconsistency for FsmCodeGen | Adrian Thurston | 2016-12-19 | 1 | -1/+1 |
| | |||||
* | usage improvements from Peter Reijnders | Adrian Thurston | 2016-12-19 | 1 | -2/+12 |
| | |||||
* | migrated from GPLv2 to MIT license | Adrian Thurston | 2016-12-13 | 122 | -2719/+2178 |
| | |||||
* | an automated include convention improvement from Peter Reijnders | Adrian Thurston | 2016-12-13 | 77 | -434/+392 |
| | |||||
* | call ldconfig in a postinst, since we now export a shared lib | Adrian Thurston | 2016-12-05 | 1 | -0/+6 |
| | |||||
* | if an or block returns null then return lambda fsm | Adrian Thurston | 2016-10-29 | 1 | -0/+4 |
| | |||||
* | removed clones of cons-item-list resolve | Adrian Thurston | 2016-10-29 | 2 | -37/+23 |
| | |||||
* | some name improvements in colm grammar | Adrian Thurston | 2016-10-01 | 2 | -34/+34 |
| | |||||
* | auto-trim in print, send and construct, disable with @ | Adrian Thurston | 2016-10-01 | 8 | -11/+70 |
| | | | | | | | | | | | | | | 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. | ||||
* | if matching a ref, return a tree type | Adrian Thurston | 2016-09-23 | 1 | -0/+5 |
| | | | | A match will turn a ref into a tree. Need to return a tree type. | ||||
* | added colm_error for extracting the error string | Adrian Thurston | 2016-08-23 | 2 | -0/+13 |
| | |||||
* | added a function for retrieving the reducer context | Adrian Thurston | 2016-08-01 | 2 | -0/+6 |
| | |||||
* | test suite removed from colm.git, now maintained in test-colm | Adrian Thurston | 2016-07-31 | 168 | -27949/+0 |
| | |||||
* | implemented a const-string define option -Ename=val | Adrian Thurston | 2016-07-28 | 8 | -53/+180 |
| | |||||
* | check include paths when opening includes | Adrian Thurston | 2016-07-28 | 1 | -2/+15 |
| | |||||
* | test suite: link to proper libcolm and set LD_LIBRARY_PATH | Adrian Thurston | 2016-07-24 | 3 | -4/+6 |
| | |||||
* | version bump to 0.13.0.4colm-0.13.0.4 | Adrian Thurston | 2016-07-11 | 1 | -2/+2 |
| | |||||
* | main needs to use -lcolm now | Adrian Thurston | 2016-07-06 | 1 | -2/+2 |
| | |||||
* | don't build 'p' and 'd' versions of the lib (production & debug), just libcolm | Adrian Thurston | 2016-06-29 | 2 | -13/+8 |
| | |||||
* | fix a spello which caused a compilation failure | Jan Engelhardt | 2016-06-29 | 1 | -1/+1 |
| | |||||
* | build libcolm shared and use -release ld option | Jan Engelhardt | 2016-06-29 | 2 | -9/+12 |
| | |||||
* | commit shift count needs to be initialized to -1 | Adrian Thurston | 2016-03-23 | 2 | -0/+12 |
| | | | | | An initial value of zero for commit shift count means we can erroneously fail a parse when we back up to zero shifts. | ||||
* | use tree_child in the reduction commit | Adrian Thurston | 2016-03-23 | 2 | -2/+2 |
| | | | | Otherwise ignores and attributes will put the walks out of sync. | ||||
* | removed stream name transfer hack that was necessary before managed names | Adrian Thurston | 2016-03-17 | 1 | -7/+3 |
| | | | | | Removed name transfer hack that is no longer necessary and now is a bug. Neglected to remove this when the name management was added. | ||||
* | extract stream file names so we can use them after the colm program is deleted | Adrian Thurston | 2016-03-16 | 4 | -0/+16 |
| | |||||
* | added missing free in system function | Adrian Thurston | 2016-03-10 | 1 | -1/+3 |
| | |||||
* | manage file name allocations and allow them to be exported | Adrian Thurston | 2016-03-09 | 5 | -7/+55 |
| | | | | | | | File names used in locations need to live beyond a program delete, but allocating them when exporting locations is too costly. Instead manage them in the colm program and allow them to be exported so they can live beyond the colm program. Will do something similar with the token text. | ||||
* | clear any collect data from streams | Adrian Thurston | 2016-03-07 | 1 | -0/+5 |
| | |||||
* | new stream objects can now collect text, accessible with ->tree (str type) | Adrian Thurston | 2016-03-07 | 8 | -4/+84 |
| | | | | | This is much faster than send to a line parser and then extracting the tree just to convert it to txt. | ||||
* | compute correct position information in the top-level stream | Adrian Thurston | 2016-03-07 | 1 | -6/+8 |
| | | | | This will give us correct line information when parsing out of a string. | ||||
* | prep code for managing stream name in the stream destructor | Adrian Thurston | 2016-03-02 | 5 | -28/+30 |
| | | | | | | | 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. | ||||
* | plug a small string leak | Adrian Thurston | 2016-03-01 | 1 | -0/+1 |
| | |||||
* | added a fail-parsing flag that allows immediate abort from reduction actions | Adrian Thurston | 2016-03-01 | 2 | -0/+17 |
| | | | | | 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 | 11 | -50/+81 |
| | | | | | This eliminates symbol collisions present when linking multiple colm programs into the same executable. | ||||
* | bump version to 0.13.0.3colm-0.13.0.3 | Adrian Thurston | 2016-01-28 | 1 | -3/+3 |
| | |||||
* | removed spurrious message introduced in prev commit | Adrian Thurston | 2015-12-30 | 1 | -1/+1 |
| | |||||
* | when pushing data in front of a stream, source the location | Adrian Thurston | 2015-12-26 | 1 | -2/+17 |
| | | | | | When pushing data onto a stream in front of a source with locaiton information, grab that location information. | ||||
* | added the $$ operator, which converts tree-to-str with attrs | Adrian Thurston | 2015-12-15 | 7 | -8/+53 |
| | |||||
* | clear the data trees as well as parse trees during reduction | Adrian Thurston | 2015-12-02 | 3 | -6/+18 |
| | | | | | 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 | 11 | -42/+276 |
| | | | | | | | 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. | ||||
* | location fix for red action | Adrian Thurston | 2015-11-30 | 1 | -2/+1 |
| | |||||
* | added an option, -b, for specifying the name of the program object | Adrian Thurston | 2015-11-27 | 5 | -6/+22 |
| | | | | | This also triggers the omission of C adapter funcs, which need to be present only once in a binary that includes a colm code. | ||||
* | reducer: cursor through rhs elements instead of starting from zero | Adrian Thurston | 2015-11-22 | 1 | -20/+90 |
| |