Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | version bump 0.14.50.14.5 | Adrian Thurston | 2021-01-03 | 1 | -2/+2 | |
| | | ||||||
* | | various refcount fixes | Adrian Thurston | 2021-01-03 | 8 | -54/+151 | |
|/ | | | | | | - added downref when undoing a tree push - using correct opcode for undoing pushing stream - added an upref when sending back ignored trees | |||||
* | version bump to 0.14.40.14.4 | Adrian Thurston | 2020-12-23 | 1 | -1/+1 | |
| | ||||||
* | removed duplicate version COLM_VERSION | Adrian Thurston | 2020-12-23 | 3 | -10/+5 | |
| | | | | | This was left over from the time colm and ragel were in one repos. Now just use VERSION and PUBDATE. | |||||
* | include version in libfsm library install path | Adrian Thurston | 2020-12-23 | 1 | -1/+1 | |
| | ||||||
* | added with_ignore(tree) iterator | Adrian Thurston | 2020-12-23 | 8 | -12/+73 | |
| | | | | | | | | | | | | This is identical to the basic tree iterator, except it visits ignore tokens. This makes it possible to rewrite comments, albeit, primitively. Constructors for tokens don't work right. Though we can set the data field. The following code can be used to turn comments into newlines: for I1: comment in with_ignore(Flux) { I1.data = "\n" } | |||||
* | version bump to 0.14.30.14.3 | Adrian Thurston | 2020-12-09 | 1 | -4/+4 | |
| | ||||||
* | updated expected output after bugfix in astring formatting | Adrian Thurston | 2020-12-09 | 1 | -1/+1 | |
| | ||||||
* | don't use InputLoc in GenAction so we can keep it trivial. | Adrian Thurston | 2020-12-09 | 3 | -4/+5 | |
| | ||||||
* | casting template type pointers to void* before passing to memmove funcs | Adrian Thurston | 2020-12-09 | 7 | -35/+38 | |
| | | | | | | | More recent compilers will now warn about moving and copying non-trivial types, due to the potential for internal pointers. This is a risk the libraries always had, and it is expected to not put those things into the containers. Casting to void* removes the new warnings and better expresses what the code is doing. | |||||
* | added config.h.in~ to git ignore list | Adrian Thurston | 2020-12-09 | 1 | -0/+1 | |
| | ||||||
* | need to re-issue va_start before the second vsnprintf | Adrian Thurston | 2020-12-09 | 1 | -0/+1 | |
| | ||||||
* | use fopencookie to avoid leaking FILE structs | Adrian Thurston | 2020-12-08 | 3 | -8/+85 | |
| | | | | | | | If we use fdopen for stdin/out/err we cannot close it to free the file struct without also closing the file descriptor. If fopencookie is available, use that to wrap the file descriptor, but allow closing without closing the fd. This is useful when embedding in long running programs. | |||||
* | dump_contents is only used when DEBUG is enabled | Adrian Thurston | 2020-12-07 | 1 | -0/+2 | |
| | | | | Wrap dump_contents in #ifdef DEBUG. | |||||
* | don't leak the stream_impl::line_len array | Adrian Thurston | 2020-12-07 | 1 | -0/+4 | |
| | ||||||
* | version bump to 0.14.20.14.2 | Adrian Thurston | 2020-11-25 | 1 | -4/+4 | |
| | ||||||
* | lift all source code into src/ dirinto-src | Adrian Thurston | 2020-10-18 | 137 | -8/+10 | |
| | ||||||
* | cgil: rust, catch and emit loop labels with 'l: while ... syntax | Adrian Thurston | 2020-10-13 | 1 | -4/+16 | |
| | ||||||
* | if using loop labels for breaking, don't put the label at the end also | Adrian Thurston | 2020-10-13 | 1 | -2/+3 | |
| | | | | This isn't tolerated in rust codegen, but other langs handled it ok. | |||||
* | some renaming of jobs and steps in github workflow | Adrian Thurston | 2020-10-13 | 1 | -4/+4 | |
| | ||||||
* | removed ragel examples left over from time repos were one | Adrian Thurston | 2020-10-10 | 26 | -3231/+0 | |
| | ||||||
* | rust uints don't have trailing 'u' on them | Adrian Thurston | 2020-10-10 | 1 | -1/+1 | |
| | ||||||
* | replced bare send syntax whith << and <- forms | Adrian Thurston | 2020-07-18 | 6 | -185/+191 | |
| | | | | | | 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. | |||||
* | added production redefinition tests | Adrian Thurston | 2020-05-11 | 6 | -1/+146 | |
| | ||||||
* | dist fix | Adrian Thurston | 2020-05-09 | 1 | -3823/+1 | |
| | ||||||
* | thinning out the test case set in rlhc.d | Adrian Thurston | 2020-05-05 | 3822 | -1781086/+0 | |
| | ||||||
* | added clean-local targets to remove workin dirs | Adrian Thurston | 2020-05-05 | 5 | -0/+14 | |
| | ||||||
* | bump version to 0.14.1colm-0.14.1 | Adrian Thurston | 2020-04-17 | 1 | -4/+4 | |
| | ||||||
* | 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. | |||||
* | include prefix in SED_SUBST, somehow got lost | Adrian Thurston | 2020-04-14 | 1 | -0/+1 | |
| | ||||||
* | 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 | 7 | -51/+138 | |
| | | | | | | | | 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. | |||||
* | minor dist fixes | Adrian Thurston | 2020-03-28 | 1 | -1/+1 | |
| | ||||||
* | split longest-match structs into components that live here and in ragel | Adrian Thurston | 2020-03-27 | 8 | -239/+177 | |
| | ||||||
* | trimming down parsedata.h and parsetree.h | Adrian Thurston | 2020-03-22 | 7 | -1177/+121 | |
| | | | | | These files belong in ragel, however there are some structs we need to keep here. Trim these files down to the bare so we can tease out what we need. | |||||
* | inputdata.h is an easy remove from libfsm | Adrian Thurston | 2020-03-22 | 15 | -386/+10 | |
| | ||||||
* | use a static link with libcolm.a when running out of the source tree | Adrian Thurston | 2020-03-22 | 3 | -4/+6 | |
| | | | | | | | | | | 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 | |||||
* | updated github workflow for basic package name colm, added -e to test/dist.sh | Adrian Thurston | 2020-03-21 | 2 | -5/+5 | |
| | ||||||
* | removed version.h from libfsm, updated the dist test | Adrian Thurston | 2020-03-21 | 6 | -32/+15 | |
| | ||||||
* | removal of some files only belonging in ragel, install libfsm to include/libfsm | Adrian Thurston | 2020-03-16 | 16 | -3572/+16 | |
| | ||||||
* | some cleanup of the configure.ac script | Adrian Thurston | 2020-03-15 | 1 | -49/+31 | |
| | ||||||
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 106 | -258/+233 | |
| | ||||||
* | moved ragel/ to libfsm/ | Adrian Thurston | 2020-03-14 | 90 | -3/+2 | |
| | ||||||
* | moved rlhc (now calling it cgil) to it's own place | Adrian Thurston | 2020-03-14 | 18 | -8/+12 | |
| | | | | cgil: Code Gen Intermediate Language | |||||
* | removing ragel source code, makefile definitions releated to ragel | Adrian Thurston | 2020-03-14 | 14 | -13043/+9 | |
| | ||||||
* | removed ragel docs, old makefiles, todo, vim, etc | Adrian Thurston | 2020-03-14 | 61 | -13191/+2 | |
| | ||||||
* | remove the ragel tests, export runtests for use by ragel | Adrian Thurston | 2020-03-08 | 176 | -28128/+3 | |
| | ||||||
* | forked off ragel, keeping libfsm and rlhc in colm repository | Adrian Thurston | 2020-03-08 | 78 | -4386/+54 | |
| | | | | | Split off ragel, leaving behind libfsm and the rlhc code. Intend to use both of those components in colm. |