Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | specify the min/max for char for both signed and unsignedarm-host-types | Adrian Thurston | 2021-10-30 | 1 | -1/+1 |
| | |||||
* | use the 'signed' prefix when specifying the size of the signed types | Adrian Thurston | 2021-10-30 | 1 | -4/+4 |
| | |||||
* | use SCHAR_MIN and SCHAR_MAX for signed char host type | Adrian Thurston | 2021-10-30 | 1 | -1/+1 |
| | |||||
* | decide char signedness based on value of CHAR_MIN | Adrian Thurston | 2021-10-30 | 1 | -12/+12 |
| | |||||
* | remove github action workflow, nowhere to run at present | Adrian Thurston | 2021-10-24 | 1 | -38/+0 |
| | |||||
* | allow the base expression in deref and offset to be an expression | Adrian Thurston | 2021-09-21 | 14 | -50/+63 |
| | | | | | | Previously allowed only identifier as the base. This is necessary to use the generated DATA() as the base in these expressions, which can be modified by access and therefore must be an expression. | ||||
* | bump version to 0.14.70.14.7 | Adrian Thurston | 2021-02-09 | 1 | -2/+2 |
| | |||||
* | fix: make string pointers from locals, not temp strings | Adrian Thurston | 2021-02-07 | 1 | -2/+5 |
| | | | | fixes #127 | ||||
* | moved creation of version.h and src/include/colm to configure | Adrian Thurston | 2021-02-07 | 2 | -70/+12 |
| | |||||
* | build fixes: gen/if[123].cc must depend on gen/if[123].h | Adrian Thurston | 2021-02-06 | 1 | -3/+3 |
| | |||||
* | remove all dependence on BUILT_SOURCES | Adrian Thurston | 2021-01-31 | 2 | -30/+97 |
| | | | | | Still running into issues on gentoo with BUILT_SOURCES. Instead make all the necessary dependencies explicit, using the source code files. | ||||
* | Merge pull request #124 from Grommish/pr | Adrian Thurston | 2021-01-18 | 1 | -0/+9 |
|\ | | | | | Correct for cross-compiling | ||||
| * | Correct for cross-compiling | Donald Hoskins | 2020-12-23 | 1 | -0/+9 |
| | | | | | | | | Signed-off-by: Donald Hoskins <grommish@gmail.com> | ||||
* | | version bump 0.14.60.14.6 | Adrian Thurston | 2021-01-18 | 1 | -1/+1 |
| | | |||||
* | | fix vm_pop_type for big-endian systems | Adrian Thurston | 2021-01-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Change the pop to cast the pointer and take the value using a pointer to the requested type, then return that tmp. Previously we were taking the value using the tree type, then casting the value. During the cast of the value the high bits are dropped, and that's where the value actually lives, when on a big-endian system. Didn't notice the problem on little-endian systems because it happens to work fine there. Fixes #126. | ||||
* | | 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 |
| |