Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+333 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -337/+0 |
| | |||||
* | make it optional to clean trees as we reduce | Adrian Thurston | 2018-12-12 | 1 | -0/+6 |
| | | | | | Was always freeing trees after each reduction action. Can now turn this off and have the trees underneath what we have reduced available. | ||||
* | use parser, not input, in the send instructions | Adrian Thurston | 2018-07-09 | 1 | -1/+1 |
| | |||||
* | updated Copyright years | Adrian Thurston | 2018-03-04 | 1 | -1/+1 |
| | |||||
* | Add CMake project | Konstantin Podsvirov | 2018-01-29 | 1 | -0/+2 |
| | | | | | | | | | | | | | Now implemented: - Bootstrap `colm` program from sources; - Install target `colm::coml` and `colm::libcolm` via CMake's `colm` package. Shadow build support via CMake. Tested with MSYS2 and MinGW-w64 on Windows and with GCC on Linux. Detected issue when sizeof(word_t) < sizeof(void*). | ||||
* | allow program args to be passed in with lengths | Adrian Thurston | 2017-02-01 | 1 | -1/+7 |
| | | | | In this mode we can pass in binary data. | ||||
* | removed obsolete include alloca.h | Adrian Thurston | 2017-01-14 | 1 | -1/+0 |
| | | | | patch from Peter Reijnders | ||||
* | 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 | -6/+5 |
| | |||||
* | added colm_error for extracting the error string | Adrian Thurston | 2016-08-23 | 1 | -0/+11 |
| | |||||
* | added a function for retrieving the reducer context | Adrian Thurston | 2016-08-01 | 1 | -0/+5 |
| | |||||
* | manage file name allocations and allow them to be exported | Adrian Thurston | 2016-03-09 | 1 | -0/+20 |
| | | | | | | | 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 | -1/+1 |
| | | | | | 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 | -2/+2 |
| | | | | Allows large tokens. Note there are other places this is needed. | ||||
* | stash reduction class in program | Adrian Thurston | 2015-11-05 | 1 | -0/+5 |
| | |||||
* | put parse tree allocator struct into pda_run as a pointer, allowing override | Adrian Thurston | 2015-10-05 | 1 | -2/+2 |
| | |||||
* | large scale symbol renaming in C codecolm-barracuda-v3 | Adrian Thurston | 2015-05-22 | 1 | -60/+60 |
| | | | | using _ conventions for C, camelCase of C++ | ||||
* | naming convention improvements | Adrian Thurston | 2015-05-17 | 1 | -17/+17 |
| | |||||
* | more application of C naming conventions | Adrian Thurston | 2015-05-15 | 1 | -28/+27 |
| | |||||
* | some naming cleanup | Adrian Thurston | 2015-05-10 | 1 | -6/+6 |
| | |||||
* | fixes for host-code function calls, added a couple test cases | Adrian Thurston | 2015-04-03 | 1 | -50/+0 |
| | | | | | | Calls into colm programs was broken since recent changes to calling conventions. Fixed and added a test case. Also added a test case for C extensions to colm programs. | ||||
* | renamed push and pop to push_tree and pop_tree | Adrian Thurston | 2015-03-20 | 1 | -7/+7 |
| | |||||
* | cleanup, including removal of map and list element pools | Adrian Thurston | 2015-02-15 | 1 | -15/+0 |
| | |||||
* | code cleanup and movement | Adrian Thurston | 2015-02-15 | 1 | -12/+2 |
| | |||||
* | first cut of value-based ints, test cases pass | Adrian Thurston | 2015-01-27 | 1 | -11/+11 |
| | |||||
* | function name improvements in bytecode | Adrian Thurston | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | renamed argv0 to arg0, fixed the leak | Adrian Thurston | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | made list and map into structs | Adrian Thurston | 2015-01-02 | 1 | -15/+0 |
| | |||||
* | start using stream and parser structs | Adrian Thurston | 2015-01-02 | 1 | -2/+0 |
| | |||||
* | don't downref the global streams, they are now structs | Adrian Thurston | 2014-12-28 | 1 | -4/+0 |
| | |||||
* | don't double free the global, add argv to parent as struct field | Adrian Thurston | 2014-12-25 | 1 | -7/+0 |
| | |||||
* | more function cleanup in struct fields | Adrian Thurston | 2014-12-25 | 1 | -3/+3 |
| | |||||
* | 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 | -23/+8 |
| | |||||
* | some renaming and cleanup | Adrian Thurston | 2014-12-25 | 1 | -10/+10 |
| | |||||
* | downref trees when deleting a struct | Adrian Thurston | 2014-12-20 | 1 | -0/+4 |
| | |||||
* | free the non-tree heap items on program exit | Adrian Thurston | 2014-12-20 | 1 | -0/+11 |
| | |||||
* | split tree free into tree and object free | Adrian Thurston | 2014-11-09 | 1 | -9/+14 |
| | |||||
* | removed GPL license file and stripped GPL headers | Adrian Thurston | 2014-10-22 | 1 | -17/+0 |
| | |||||
* | stack block pop: utilize the full space of the block | Adrian Thurston | 2014-01-21 | 1 | -4/+5 |
| | |||||
* | renamed colm dir to src | Adrian Thurston | 2013-06-08 | 1 | -0/+378 |
| | | | | | | 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 | -261/+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. | ||||
* | munmap (free) the stack, relevant to long-lived programs | Adrian Thurston | 2012-07-31 | 1 | -22/+24 |
| | |||||
* | pass program arguments to colmRunProgram instead of colmNewProgram. | Adrian Thurston | 2012-07-31 | 1 | -37/+42 |
| | | | | | Idea with this is to make it possible to re-use an allocated program for more than one invocation. | ||||
* | moved 'colm' dir to 'src' | Adrian Thurston | 2012-07-01 | 1 | -0/+254 |