Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | with-colm build: need to make tar dir, added a check for the colm bin | Adrian Thurston | 2019-12-22 | 2 | -4/+9 | |
| | ||||||
* | testing: fixed EXTRA_DIST in test/aapl.d/ | Adrian Thurston | 2019-12-21 | 2 | -3/+2 | |
| | ||||||
* | testing: added missing *.exp files to dist, don't configure with crack | Adrian Thurston | 2019-12-21 | 2 | -1/+9 | |
| | ||||||
* | fixes for the build-test action | Adrian Thurston | 2019-12-20 | 1 | -2/+2 | |
| | | | | Would be great to be able to test these before checking in and pushing. | |||||
* | fixed dist: removed timed from Makefile | Adrian Thurston | 2019-12-20 | 1 | -1/+1 | |
| | ||||||
* | build-test action: also unpack and test the dist | Adrian Thurston | 2019-12-20 | 1 | -0/+19 | |
| | ||||||
* | testing: merged runtests and timed, removed system variation from some tests | Adrian Thurston | 2019-12-20 | 8 | -87/+102 | |
| | ||||||
* | testing: added a configure check for ASM tests | Adrian Thurston | 2019-12-19 | 2 | -3/+44 | |
| | | | | | Addded a configure check to see if the ASM tests are appropriate. If we can build a basic ASM file with .rodata references, assume we can run the tests. | |||||
* | testing: list the tests that failed | Adrian Thurston | 2019-12-19 | 2 | -2/+3 | |
| | ||||||
* | don't run objective-c tests if gnustep config is not available | Adrian Thurston | 2019-12-18 | 2 | -1/+12 | |
| | ||||||
* | testing: propagate internal and test case failures to exit status | Adrian Thurston | 2019-12-18 | 2 | -6/+24 | |
| | ||||||
* | configure: verify that julia is able to run programs | Adrian Thurston | 2019-12-18 | 1 | -0/+14 | |
| | | | | | | Julia requires a large virtual address space and if a system limits address space size with ulimit then julia will abort. Catch it in configure, rather than resulting in failed tests. | |||||
* | merge remote-tracking branch 'konstantin/cmake' | Adrian Thurston | 2019-12-17 | 3 | -10/+39 | |
|\ | ||||||
| * | cmake: restore project | Konstantin Podsvirov | 2019-12-16 | 3 | -10/+39 | |
| | | | | | | | | Partially fix #87 | |||||
* | | build-test CI: need to disable manual building | Adrian Thurston | 2019-12-17 | 1 | -1/+1 | |
| | | ||||||
* | | need to call autogen.sh for build-test github action | Adrian Thurston | 2019-12-17 | 1 | -0/+2 | |
| | | ||||||
* | | added build-testing github workflow | Adrian D. Thurston | 2019-12-17 | 1 | -0/+17 | |
|/ | ||||||
* | loadcolm cannot be shared by bootstrap0 and colm | Adrian Thurston | 2019-12-15 | 6 | -2872/+2880 | |
| | | | | | | | | | | | | Attempting to do so results in the following circular dependency: loadcolm.cc -> if3.h -> boostrap2 -> loadcolm.cc Fix this by using the source file loadfinal.cc, which is not is not compiled directly, but rather included in sources. It is used for both bootstrap2 and colm, but these programs each use separate gen/if[23].h headers, so this file is included by distinct source files that each bring in the appropriate dependency, then include this file. | |||||
* | build system fixes | Adrian Thurston | 2019-12-15 | 1 | -8/+15 | |
| | | | | | | | | | | | 1. The version.h file needs to be listed in BUILT_SOURCES ahead of it's use in a sources list. 2. The gen/if[123].h files, even though they are listed in BUILT_SOURCES, are not getting built ahead of their use in include files. Solution here is to list dependency explicitly. See note in source file. refs #87 | |||||
* | go grammar: added initial (small) testing files and utf8.lm | Adrian Thurston | 2019-12-15 | 7 | -18/+1656 | |
| | ||||||
* | testing left-recursive lists <* and <+ and sublists in productions | Adrian Thurston | 2019-12-14 | 5 | -4/+88 | |
| | | | | | | | Using a transformation pass in prog.lm to create definitions for left-recursive productions and sub-productions. So far just a sketch. Not all production element forms are transformed and there can only be one sub-production in a whole program. refs #74 refs #83 refs #84 | |||||
* | colm: generate an archive (using makefile) when outputing multiple files | Adrian Thurston | 2019-12-14 | 2 | -22/+42 | |
| | | | | | | | | Using a build step that generates multiple files is not convenient to use with automake because it prevents us from using BUILT_SOURCES and requries that we specify some dependencies manually. Testing out the idea of building an archive, rather than multiple files, then using separate make rules to pull out the individual files. | |||||
* | colm: added an extra bootstrap stage, allowing transformations | Adrian Thurston | 2019-12-13 | 3 | -31/+58 | |
| | | | | | | Added a third bootstrap program. This program can accept a colm grammar in colm, plus transformation also in colm, allowing us to implement additional syntax/semantics using colm transformations. | |||||
* | go grammar: added lexical definitions and semi insertion | Adrian Thurston | 2019-12-13 | 4 | -118/+185 | |
| | | | | | Ooof this makes a big output file. May need to do something about it. refs #82 | |||||
* | go grammar: started with the unicode definitions | Adrian Thurston | 2019-12-11 | 8 | -1/+327 | |
| | | | | | Generating the utf8 encoded unicode defintitions that are referenced in the Go specification. Can start to build the grammar with these definitions on hand. | |||||
* | colm: add -R option, which allows hex ranges to cross 0 | Adrian Thurston | 2019-12-11 | 4 | -8/+31 | |
| | | | | | | This is a quick hack to address issue #81. Since colm uses signed alphabets it is not possible to specify ranges that cross zero in hex, which is desirable for utf8. For example 0x20 .. 0xa0 will throw an error in a signed char mode. | |||||
* | added C++ and Python grammars, taken from test suite | Adrian Thurston | 2019-12-01 | 12 | -6/+3260 | |
| | | | | | These both need to be updated and tested for code in the wild. They were originally developed to showcase colm features. | |||||
* | moved grammars out to their own dirs | Adrian Thurston | 2019-12-01 | 13 | -23/+40 | |
| | | | | | We also want some testing/validation support for each grammar. This dir will get quite messy if we move files. | |||||
* | rust grammar: a proper implementation of raw strings | Adrian Thurston | 2019-11-30 | 1 | -8/+41 | |
| | ||||||
* | rust grammar: handle floats specified with just a trailing dot | Adrian Thurston | 2019-11-30 | 1 | -1/+8 | |
| | | | | let a = 0. + 1.- 2.3; | |||||
* | rust grammar: partial impl of floats | Adrian Thurston | 2019-11-29 | 1 | -2/+10 | |
| | ||||||
* | allow use of token keyword for literal defs | Adrian Thurston | 2019-11-29 | 2 | -2/+6 | |
| | | | | refs #79 | |||||
* | updated EXTRA_DIST in test/ragel.d and fixed rlparse COLM ref | Adrian Thurston | 2019-11-29 | 2 | -19/+32 | |
| | ||||||
* | allow backtick literals to have an end quote. | Adrian Thurston | 2019-11-28 | 4 | -54/+59 | |
| | | | | | | | | | | | | | | Rather than exclude ? + and *, exclude ` from literals and allow backtick literals to be end quoted. Allows us to follow the literal with an operator without using a space between the two, which is very unnatural. Can write: [`,`?]. If we forget to the end quote it we end up with literal that (probably) does not exist. It should generate an error, rather than silently give us something we don't want. Note that ] is still excluded from literals in positions 2+. | |||||
* | revert mod to rust grammar to take advantage of ? excluded from ` lits | Adrian Thurston | 2019-11-28 | 1 | -47/+47 | |
| | | | | | | This reverts some aspects of bb02b4be1b9db09c27cbd11df28a89e5b1ed332f. There were some other changes in this commit we want to keep, so it was undone manually. | |||||
* | revert "exclude ? from position 2+ of literal token" | Adrian Thurston | 2019-11-28 | 5 | -25/+9 | |
| | | | | This reverts commit bd8de42f05975c262a6ecd156d8a6fbc50aa0de5. | |||||
* | revert "updated test suite for exclusion of ? from pos 2+ of ` lits" | Adrian Thurston | 2019-11-28 | 4 | -9/+13 | |
| | | | | This reverts commit 38f0495adf51690aa7b71800a907e2e59da49651. | |||||
* | ragel tests: fixed hardcoding of first_final | Adrian Thurston | 2019-11-28 | 2 | -2/+2 | |
| | | | | | | | This was hardcoded from initial translation from C. Caused a failure once the patters were changed Also added strings3.rl to extra dist | |||||
* | updated test suite for exclusion of ? from pos 2+ of ` lits | Adrian Thurston | 2019-11-24 | 4 | -13/+9 | |
| | ||||||
* | fixes for running the test suite out of a "make dist" tarball | Adrian Thurston | 2019-11-24 | 19 | -107/+5566 | |
| | | | | | Currently disabled the test dirs that are not automake based because they do not work with make dist. | |||||
* | declaring stable version 0.13.1 of colm and 7.0.1 of ragel | Adrian Thurston | 2019-11-18 | 3 | -8/+12 | |
| | | | | | Packing these up in colm-suite version 1.0.1. Using a separate version number for the contaning package. | |||||
* | ragel pcre: collecting verbs, atomic group, catpure reset, and backref | Adrian Thurston | 2019-11-17 | 1 | -19/+139 | |
| | ||||||
* | pass the UTF8 BOM through to the output | Adrian Thurston | 2019-11-14 | 16 | -9/+61 | |
| | | | | refs #23 | |||||
* | rust grammar: right-recursive statement list kills performance | Adrian Thurston | 2019-11-14 | 1 | -2/+6 | |
| | | | | This adds to the argument for issue #74. | |||||
* | rust grammar: removed an ambiguity that really slows down parsing | Adrian Thurston | 2019-11-14 | 1 | -2/+1 | |
| | | | | | Ambiguity between [ a.b( c ) ] and [ a.b ] ( c ) was causing unnecessary backtracking. | |||||
* | Merge pull request #77 from HalCanary/minor_spelling_fix_indices | Adrian Thurston | 2019-11-13 | 1998 | -4886/+4886 | |
|\ | | | | | [minor] fix spelling of "indices" | |||||
| * | [minor] fix spelling of "indices" | Hal Canary | 2019-11-12 | 1998 | -4886/+4886 | |
|/ | ||||||
* | ragel pcre: handling backrefs and octals | Adrian Thurston | 2019-11-12 | 1 | -0/+79 | |
| | ||||||
* | ragel pcre: parsing and storing quantifiers | Adrian Thurston | 2019-11-12 | 1 | -17/+124 | |
| | ||||||
* | ragel pcre: added some basic literal forms | Adrian Thurston | 2019-11-11 | 1 | -3/+59 | |
| |