Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lift all source code into src/ dirinto-src | Adrian Thurston | 2020-10-18 | 135 | -1/+47688 |
| | |||||
* | replced bare send syntax whith << and <- forms | Adrian Thurston | 2020-07-18 | 2 | -4/+9 |
| | | | | | | Elimintates associated ambiguity between extending statements and starting a new one. Bare send was a nice idea, but it is too much for the language to bear. | ||||
* | allow colm-command (-w) to be a full path | Adrian Thurston | 2020-04-14 | 1 | -3/+7 |
| | | | | Don't try and compute the path to the command when it is already specified. | ||||
* | correct prodNum as we combine productions to implement [...] | Adrian Thurston | 2020-04-14 | 3 | -6/+12 |
| | | | | refs #112 | ||||
* | renamed DefList and LelDefList to the more accurate ProdList, LelProdList | Adrian Thurston | 2020-04-12 | 15 | -112/+112 |
| | |||||
* | first cut of a redefine statement | Adrian Thurston | 2020-04-12 | 6 | -49/+136 |
| | | | | | | | | 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 | ||||
* | making exported vars available from C code | Adrian Thurston | 2020-04-10 | 4 | -0/+62 |
| | | | | | | 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. | ||||
* | use a static link with libcolm.a when running out of the source tree | Adrian Thurston | 2020-03-22 | 1 | -2/+4 |
| | | | | | | | | | | A dynamic link is proving complicated on OSX. When the package is configured to install to a new install location, but make install hasn't happened yet the link fails This may indicate we are not getting the code we think we are. We can eschew all these risks with a static link and reserve dynamic linking for when we are running from the installed location. This patch also includes some testing fixes | ||||
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 98 | -6/+59322 |
| | |||||
* | added config.h.in~ to gitignore | Adrian Thurston | 2020-01-31 | 1 | -0/+1 |
| | |||||
* | cmake: restore project | Konstantin Podsvirov | 2019-10-23 | 3 | -0/+22 |
| | |||||
* | the config.h file now goes to src | Adrian Thurston | 2019-09-09 | 2 | -0/+10 |
| | | | | | | | | Any piece of the system may need to use config.h. Put that in /src and add -Isrc to CPPFLAGS. The colm package uses defs.h for configuration. It gets installed because some public headers depend on it. | ||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 92 | -58489/+0 |
| | |||||
* | merging aapl src dirs: added CmpStr and CmpString to colm/aapl | Adrian Thurston | 2019-09-08 | 4 | -11/+11 |
| | | | | | | | | CmpStr is defined in colm/*.h so we need to also move it aside when we add it to aapl. With this commit there are no more diffs between the aapl src dirs, with the exception of a three files added to the aapl-repos package. Will use this as the definitive version. | ||||
* | cmake export from project directory | Konstantin Podsvirov | 2019-08-06 | 2 | -9/+8 |
| | |||||
* | cmake export from build tree | Konstantin Podsvirov | 2019-07-24 | 2 | -0/+3 |
| | |||||
* | support _IN_ _EX_ indentation in string accumulators | Adrian Thurston | 2019-05-25 | 7 | -50/+65 |
| | |||||
* | pushing the trim decision to run-time | Adrian Thurston | 2019-05-24 | 8 | -36/+139 |
| | | | | | | | | | The trim and no-trim operators are both now in the expression. In places where we want the print mechanism to decide if it trims or not, we lift the trim operator out of the expression and into the send expression, then pass it to the print and send instructions. This way the stream or input (parser) can control the trim (auto_trim feature) with the expression overriding the default. | ||||
* | added a get option to retrieve auto_trim from bytecode | Adrian Thurston | 2019-05-23 | 5 | -26/+44 |
| | |||||
* | added and auto_trim flag to stream anad input | Adrian Thurston | 2019-05-22 | 7 | -4/+64 |
| | | | | | When set to true, all tree prints to the stream or sends to the input will result in a trim. Achieved by passing trim to the generic print. | ||||
* | version bump to 0.13.0.7 | Adrian Thurston | 2019-05-14 | 1 | -1/+1 |
| | |||||
* | patch for cmake - colm | Kram | 2019-05-01 | 1 | -1/+1 |
| | |||||
* | can't send parse errors to cerr as text | Adrian Thurston | 2019-03-01 | 1 | -2/+3 |
| | | | | Fix from Wictor Lund. | ||||
* | allow referencing a tree in reduction actions | Adrian Thurston | 2018-12-17 | 5 | -9/+78 |
| | | | | syntax is $*N | ||||
* | use -Wl,--no-undefined only on linux | Adrian Thurston | 2018-12-13 | 1 | -1/+5 |
| | | | | refs #253 | ||||
* | disabled the experimental postfix reduce | Adrian Thurston | 2018-12-13 | 1 | -2/+3 |
| | | | | | | | | Considered using this as a means of transmitting parsed frontend to common reducer in Ragel ... way too error prone though. May revive later on, however the C++ wrapper for FILE is not standard. refs #251 | ||||
* | don't use reported line as index when tracking line lenths | Adrian Thurston | 2018-12-12 | 2 | -9/+17 |
| | | | | | Starting line may not always be 1, for example when we split a stream. Want the freedom to report arbitrary lines. | ||||
* | make tree_to_str available in the library | Adrian Thurston | 2018-12-12 | 3 | -19/+21 |
| | |||||
* | transfer locations once we find some data | Adrian Thurston | 2018-12-12 | 1 | -3/+4 |
| | | | | | If we don't wait for data we may get the location at the end of an empty stream. | ||||
* | stream: track line lengths and use to restore during push back | Adrian Thurston | 2018-12-12 | 2 | -4/+39 |
| | |||||
* | make it optional to clean trees as we reduce | Adrian Thurston | 2018-12-12 | 4 | -4/+14 |
| | | | | | Was always freeing trees after each reduction action. Can now turn this off and have the trees underneath what we have reduced available. | ||||
* | make location file name and column available in Colm code | Adrian Thurston | 2018-12-02 | 7 | -24/+86 |
| | |||||
* | use rpath for linking when running from installed | Adrian Thurston | 2018-07-15 | 1 | -1/+2 |
| | | | | | Was doing this for source based invocations, will also do for installed invocations. | ||||
* | removed the buffers from structs, not needed anymore | Adrian Thurston | 2018-07-14 | 1 | -14/+0 |
| | | | | | | These where there to allow for structs to be treated like trees during the split, without crashing, but likely resulting in an unstable system. Served their purpose, now gone. | ||||
* | some optimization of undo_commit: don't always create runbufs | Adrian Thurston | 2018-07-13 | 1 | -4/+21 |
| | |||||
* | don't create an empty run buf every time we hit stream end | Adrian Thurston | 2018-07-13 | 2 | -26/+11 |
| | |||||
* | fix for optimized append wherby we were not respecting run_buf->offset | Adrian Thurston | 2018-07-13 | 3 | -46/+74 |
| | |||||
* | some improvements to the (still broken) optimized append | Adrian Thurston | 2018-07-13 | 3 | -42/+90 |
| | | | | Split up the optimized append between input struct and stream. | ||||
* | delegate splitting to the stream_impl class | Adrian Thurston | 2018-07-13 | 3 | -62/+72 |
| | |||||
* | various input cleanup, removed line info from input_impl_seq | Adrian Thurston | 2018-07-12 | 3 | -179/+121 |
| | |||||
* | split stream funcs out of input.c | Adrian Thurston | 2018-07-12 | 4 | -574/+621 |
| | |||||
* | some work on optimized input append, still disabled | Adrian Thurston | 2018-07-12 | 1 | -35/+84 |
| | |||||
* | split SOURCE type into SOURCE for opened files and ACCUM for RT text | Adrian Thurston | 2018-07-12 | 2 | -72/+73 |
| | |||||
* | some function name changes, added disabled optimizations | Adrian Thurston | 2018-07-12 | 1 | -71/+101 |
| | |||||
* | freeing leaked bufs from input.c | Adrian Thurston | 2018-07-11 | 2 | -21/+38 |
| | |||||
* | replace eof_sent in input interface with bit in pda_run | Adrian Thurston | 2018-07-10 | 7 | -25/+18 |
| | |||||
* | some cleanup of eof interface | Adrian Thurston | 2018-07-10 | 4 | -27/+13 |
| | | | | | Still have two bools concerning eof. Can't unify these yet ... need break down the two concepts to try to unify. | ||||
* | eof funcs can come out of stream interface | Adrian Thurston | 2018-07-10 | 2 | -52/+27 |
| | |||||
* | eos_sent can be removed from input/stream | Adrian Thurston | 2018-07-10 | 1 | -2/+0 |
| | |||||
* | improvements to free bytecodes, bytecode def cleanup | Adrian Thurston | 2018-07-10 | 4 | -36/+23 |
| |