Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove all dependence on BUILT_SOURCES | Adrian Thurston | 2021-01-31 | 1 | -1/+0 |
| | | | | | Still running into issues on gentoo with BUILT_SOURCES. Instead make all the necessary dependencies explicit, using the source code files. | ||||
* | making exported vars available from C code | Adrian Thurston | 2020-04-10 | 1 | -0/+9 |
| | | | | | | Addes an array of exports to runtime data. Also declares each export as an integer. The value of the export can be passed to colm_get_gloal(). They are named colm_export_<export-name>. refs #116. | ||||
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+186 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -186/+0 |
| | |||||
* | make it optional to clean trees as we reduce | Adrian Thurston | 2018-12-12 | 1 | -0/+1 |
| | | | | | Was always freeing trees after each reduction action. Can now turn this off and have the trees underneath what we have reduced available. | ||||
* | some more separation of stream_t and input_t | Adrian Thurston | 2018-07-09 | 1 | -1/+1 |
| | |||||
* | separating the input from stream type | Adrian Thurston | 2018-07-08 | 1 | -2/+2 |
| | |||||
* | reusing stream impls when parsing from 'input' | Adrian Thurston | 2018-07-04 | 1 | -0/+1 |
| | | | | | | | | 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. | ||||
* | pass prg to colm_tree_upref and maintian first struct id | Adrian Thurston | 2018-06-15 | 1 | -0/+1 |
| | |||||
* | added stds, a list of streams, used for bare sends | Adrian Thurston | 2018-05-13 | 1 | -0/+2 |
| | |||||
* | allocate a unique struct id for streams | Adrian Thurston | 2018-05-05 | 1 | -0/+1 |
| | |||||
* | use disjoint sets for struct and lang-el identifiers | Adrian Thurston | 2018-05-04 | 1 | -0/+1 |
| | | | | | | | Using disjoint sets allows us to verify at runtime that we are not mixing trees and structs. Some of this is still left over from when we used trees for streams and lists and things. Need to build up some internal consistency checks. | ||||
* | 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 | -1/+1 |
| | | | | Triggers the generation of the reducer. Accepts a stream. | ||||
* | added a reducer that can read the streaming postfix format | Adrian Thurston | 2017-07-25 | 1 | -0/+1 |
| | |||||
* | allow program args to be passed in with lengths | Adrian Thurston | 2017-02-01 | 1 | -0/+1 |
| | | | | In this mode we can pass in binary data. | ||||
* | 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 | -2/+11 |
| | |||||
* | manage file name allocations and allow them to be exported | Adrian Thurston | 2016-03-09 | 1 | -0/+3 |
| | | | | | | | 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. | ||||
* | host adapters now have unique names are are accessed with func pointers | Adrian Thurston | 2016-02-19 | 1 | -0/+6 |
| | | | | | This eliminates symbol collisions present when linking multiple colm programs into the same executable. | ||||
* | allow omission of location in reductions | Adrian Thurston | 2015-11-30 | 1 | -0/+2 |
| | | | | | | | 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. | ||||
* | stash reduction class in program | Adrian Thurston | 2015-11-05 | 1 | -1/+2 |
| | |||||
* | large scale symbol renaming in C codecolm-barracuda-v3 | Adrian Thurston | 2015-05-22 | 1 | -63/+63 |
| | | | | using _ conventions for C, camelCase of C++ | ||||
* | more application of C naming conventions | Adrian Thurston | 2015-05-15 | 1 | -14/+14 |
| | |||||
* | naming convention improvements | Adrian Thurston | 2015-05-15 | 1 | -3/+3 |
| | |||||
* | improved naming, moved generated parser code to subdir gen | Adrian Thurston | 2015-05-10 | 1 | -14/+14 |
| | |||||
* | some naming cleanup | Adrian Thurston | 2015-05-10 | 1 | -15/+14 |
| | |||||
* | merged FsmRun and PdaRun into pda_run, eliminated typedef | Adrian Thurston | 2015-05-10 | 1 | -5/+5 |
| | |||||
* | cleanup, including removal of map and list element pools | Adrian Thurston | 2015-02-15 | 1 | -2/+0 |
| | |||||
* | 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 | -2/+0 |
| | |||||
* | set the argv_el id when creating the structs | Adrian Thurston | 2015-01-11 | 1 | -0/+1 |
| | |||||
* | improvements to list object semantics | Adrian Thurston | 2015-01-11 | 1 | -2/+2 |
| | |||||
* | make stream and parser overlay struct | Adrian Thurston | 2015-01-02 | 1 | -7/+0 |
| | |||||
* | some function renaming, global is now struct type | Adrian Thurston | 2014-12-25 | 1 | -1/+1 |
| | |||||
* | converted the global object to a struct | Adrian Thurston | 2014-12-25 | 1 | -0/+1 |
| | |||||
* | some renaming and cleanup | Adrian Thurston | 2014-12-25 | 1 | -6/+12 |
| | |||||
* | added structElInfo to the runtime data | Adrian Thurston | 2014-12-20 | 1 | -1/+6 |
| | | | | Storing size and can add trees offsets for downreffing on free. | ||||
* | hacked together some struct (non-tree) semantics | Adrian Thurston | 2014-12-19 | 1 | -0/+6 |
| | | | | Can new, get and set non-tree objects (very limited features). | ||||
* | removed GPL license file and stripped GPL headers | Adrian Thurston | 2014-10-22 | 1 | -17/+0 |
| | |||||
* | renamed colm dir to src | Adrian Thurston | 2013-06-08 | 1 | -0/+148 |
| | | | | | | 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. | ||||
* | revert "moved 'colm' dir to 'src'" | Adrian Thurston | 2012-08-01 | 1 | -128/+0 |
| | | | | | | | | | | | Colm includes a library component with headers installed to a private dir inside include: $prefix/include/colm. We need our headers to reference each other using this colm prefix. This needs to be true for compiling our source and also for compiling external programs. It is conventient to have all the source in a directory called colm and then to use -I <source-root> when building colm. We use $prefix/include when building external programs. This reverts commit 247904a84430b8c9151fa6afb68f01b60afb92c9. | ||||
* | moved 'colm' dir to 'src' | Adrian Thurston | 2012-07-01 | 1 | -0/+128 |