Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | test suite: various updates to allow running on OSX | Adrian Thurston | 2020-03-07 | 8 | -10/+16 |
| | |||||
* | Merge pull request #107 from computerquip/standalone-executables | Adrian D. Thurston | 2020-02-24 | 3 | -3/+32 |
|\ | | | | | add flag to support standalone executables | ||||
| * | add flag to support standalone executables | Zachary Lund | 2020-02-15 | 3 | -3/+32 |
|/ | |||||
* | osx linker will not accept -rpath=X, must use a space (achieved with a comma) | Adrian Thurston | 2020-01-31 | 1 | -1/+1 |
| | |||||
* | eliminate usage of --transform from tar -cf command | Adrian Thurston | 2020-01-31 | 1 | -2/+3 |
| | | | | | | | | Rather than using the --transform argument to tar to remove the .pack extension from the individual files when creating the tarball, simply rename the files after unpacking. The individual files will then live in the tarball with the .pack extension, but that's okay. The --transform argument is not available on osx tar. | ||||
* | added config.h.in~ to gitignore | Adrian Thurston | 2020-01-31 | 1 | -0/+1 |
| | |||||
* | use glibtoolize on darwin | Adrian Thurston | 2020-01-31 | 1 | -1/+9 |
| | |||||
* | colm: modified calling convention for colm wrapper | Adrian Thurston | 2020-01-09 | 18 | -177/+194 |
| | | | | | | | | Changed the calling convention for colm-wrap (formerly colm-pack) so that we can substitute the colm program, once packing is implemented there. Makes the new wrapper args compatible with the existing args for the colm binary. refs #85 | ||||
* | ragel: don't send \n before closing }%% | Adrian Thurston | 2020-01-09 | 13 | -13/+13 |
| | | | | | Sending a newline means a missing ; results in the error getting attributed to the next line. refs #103 | ||||
* | colm: use a string's location (if present) when pushing to an input | Adrian Thurston | 2020-01-09 | 6 | -44/+46 |
| | | | | refs #103 | ||||
* | colm: added outdent check on literal concatenations | Adrian Thurston | 2020-01-09 | 2 | -45/+97 |
| | | | | | | | | | | | | | | | | The colm language has an ambiguity between literal concatenations and distinct statements, where the first ends in string/accum/cons/pat and the second is a bare send. For example: match P "a b c d" "e f g h" Warn on some of these by checking for an outdent (relative to the first component) on top level concatenations. If the user does not outdent between separate intended statements we cannot help with this check. refs #95 | ||||
* | colm: eliminated the range-crosses-zero hack needed when alphtype was signed | Adrian Thurston | 2020-01-08 | 2 | -29/+4 |
| | | | | | | | In 900189a4d23f0180970f22479f44377973a2d330 we added an option to hack the parsing of hex literals to allow ranges that cross zero. This was necessary when alphtype was signed. Moving to an unsigned type eliminates the need for this. | ||||
* | colm: using an unsigned char as alph type in scanner | Adrian Thurston | 2020-01-08 | 15 | -96/+122 |
| | | | | | | | | | | | | | Switching to unsigned so we can reference chars with the high bit set in the way that is common when discussing utf and unicode: using hex chars. Negative values are really uncomfortable and don't lend themselves to specifying ranges. This change is for the parser and stream/input code only. The collected tree data still uses char, which makes it convenient to extract the data from a top-down or bottom-up load. If we change the tree type we need to cast the pointers all over the loading code. refs #104 refs #97 refs #81 | ||||
* | colm: removed flags field from the kid struct | Adrian Thurston | 2020-01-08 | 2 | -7/+9 |
| | | | | | We eliminated the use of this field some time ago, but never removed the field from the struct. | ||||
* | suppress unused variable warning for when --disable-debug is used | Adrian Thurston | 2020-01-07 | 1 | -3/+13 |
| | |||||
* | eliminated unused var warning when sizeof(int) != sizeof(long) | Adrian Thurston | 2020-01-05 | 1 | -0/+2 |
| | | | | refs #97 |