summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* with-colm build: need to make tar dir, added a check for the colm binAdrian Thurston2019-12-222-4/+9
|
* testing: fixed EXTRA_DIST in test/aapl.d/Adrian Thurston2019-12-212-3/+2
|
* testing: added missing *.exp files to dist, don't configure with crackAdrian Thurston2019-12-212-1/+9
|
* fixes for the build-test actionAdrian Thurston2019-12-201-2/+2
| | | | Would be great to be able to test these before checking in and pushing.
* fixed dist: removed timed from MakefileAdrian Thurston2019-12-201-1/+1
|
* build-test action: also unpack and test the distAdrian Thurston2019-12-201-0/+19
|
* testing: merged runtests and timed, removed system variation from some testsAdrian Thurston2019-12-208-87/+102
|
* testing: added a configure check for ASM testsAdrian Thurston2019-12-192-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 failedAdrian Thurston2019-12-192-2/+3
|
* don't run objective-c tests if gnustep config is not availableAdrian Thurston2019-12-182-1/+12
|
* testing: propagate internal and test case failures to exit statusAdrian Thurston2019-12-182-6/+24
|
* configure: verify that julia is able to run programsAdrian Thurston2019-12-181-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 Thurston2019-12-173-10/+39
|\
| * cmake: restore projectKonstantin Podsvirov2019-12-163-10/+39
| | | | | | | | Partially fix #87
* | build-test CI: need to disable manual buildingAdrian Thurston2019-12-171-1/+1
| |
* | need to call autogen.sh for build-test github actionAdrian Thurston2019-12-171-0/+2
| |
* | added build-testing github workflowAdrian D. Thurston2019-12-171-0/+17
|/
* loadcolm cannot be shared by bootstrap0 and colmAdrian Thurston2019-12-156-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 fixesAdrian Thurston2019-12-151-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.lmAdrian Thurston2019-12-157-18/+1656
|
* testing left-recursive lists <* and <+ and sublists in productionsAdrian Thurston2019-12-145-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 filesAdrian Thurston2019-12-142-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 transformationsAdrian Thurston2019-12-133-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 insertionAdrian Thurston2019-12-134-118/+185
| | | | | Ooof this makes a big output file. May need to do something about it. refs #82
* go grammar: started with the unicode definitionsAdrian Thurston2019-12-118-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 0Adrian Thurston2019-12-114-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 suiteAdrian Thurston2019-12-0112-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 dirsAdrian Thurston2019-12-0113-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 stringsAdrian Thurston2019-11-301-8/+41
|
* rust grammar: handle floats specified with just a trailing dotAdrian Thurston2019-11-301-1/+8
| | | | let a = 0. + 1.- 2.3;
* rust grammar: partial impl of floatsAdrian Thurston2019-11-291-2/+10
|
* allow use of token keyword for literal defsAdrian Thurston2019-11-292-2/+6
| | | | refs #79
* updated EXTRA_DIST in test/ragel.d and fixed rlparse COLM refAdrian Thurston2019-11-292-19/+32
|
* allow backtick literals to have an end quote.Adrian Thurston2019-11-284-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 ` litsAdrian Thurston2019-11-281-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 Thurston2019-11-285-25/+9
| | | | This reverts commit bd8de42f05975c262a6ecd156d8a6fbc50aa0de5.
* revert "updated test suite for exclusion of ? from pos 2+ of ` lits"Adrian Thurston2019-11-284-9/+13
| | | | This reverts commit 38f0495adf51690aa7b71800a907e2e59da49651.
* ragel tests: fixed hardcoding of first_finalAdrian Thurston2019-11-282-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 ` litsAdrian Thurston2019-11-244-13/+9
|
* fixes for running the test suite out of a "make dist" tarballAdrian Thurston2019-11-2419-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 ragelAdrian Thurston2019-11-183-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 backrefAdrian Thurston2019-11-171-19/+139
|
* pass the UTF8 BOM through to the outputAdrian Thurston2019-11-1416-9/+61
| | | | refs #23
* rust grammar: right-recursive statement list kills performanceAdrian Thurston2019-11-141-2/+6
| | | | This adds to the argument for issue #74.
* rust grammar: removed an ambiguity that really slows down parsingAdrian Thurston2019-11-141-2/+1
| | | | | Ambiguity between [ a.b( c ) ] and [ a.b ] ( c ) was causing unnecessary backtracking.
* Merge pull request #77 from HalCanary/minor_spelling_fix_indicesAdrian Thurston2019-11-131998-4886/+4886
|\ | | | | [minor] fix spelling of "indices"
| * [minor] fix spelling of "indices"Hal Canary2019-11-121998-4886/+4886
|/
* ragel pcre: handling backrefs and octalsAdrian Thurston2019-11-121-0/+79
|
* ragel pcre: parsing and storing quantifiersAdrian Thurston2019-11-121-17/+124
|
* ragel pcre: added some basic literal formsAdrian Thurston2019-11-111-3/+59
|