Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | include an extern C function in libfsm so we can use AC_CHECK_LIBHEADmaster | Adrian Thurston | 2023-03-12 | 1 | -0/+2 |
| | |||||
* | generate a check for EOF if there are from-state actions | Adrian Thurston | 2021-12-28 | 6 | -7/+7 |
| | | | | | | | | | From-state actions now execute on EOF, but we don't check for their presence when deciding if we should test against EOF. This led to from-state actions executing only if other conditions necessitating EOF-testing are present. Added the check. refs adrian-thurston/ragel#80 | ||||
* | can remove the now empty allocgen.cc | Adrian Thurston | 2021-11-07 | 1 | -1/+1 |
| | |||||
* | remaining parts of common.cc moved over to ragel | Adrian Thurston | 2021-11-07 | 4 | -338/+16 |
| | | | | This includes output filter, file name functions, and line directive generation | ||||
* | moved HostLang type and makeCodeGen funcs to ragel | Adrian Thurston | 2021-11-07 | 7 | -137/+22 |
| | |||||
* | moved the findAlphType code over to ragel | Adrian Thurston | 2021-11-07 | 4 | -54/+0 |
| | |||||
* | moved the C and ASM host types over to ragel | Adrian Thurston | 2021-11-07 | 2 | -81/+0 |
| | |||||
* | moved writeStatement into InputData in ragel | Adrian Thurston | 2021-11-07 | 2 | -92/+0 |
| | | | | | | Write statement belongs in ragel, but can't yet move out CodeGenData. It's at the base of many codegen classes that will live in colm. The functionality here needs to be lifted up out of the base. | ||||
* | C codegen: use the 'signed' prefix when specifying the size of the signed types | Adrian Thurston | 2021-11-06 | 1 | -4/+4 |
| | |||||
* | C codegen: use SCHAR_MIN and SCHAR_MAX for signed char host type | Adrian Thurston | 2021-11-06 | 1 | -1/+1 |
| | |||||
* | C codegen: decide char signedness based on value of CHAR_MIN | Adrian Thurston | 2021-11-06 | 1 | -12/+12 |
| | | | | | | | | | Decide signedness of "char" on at runtime (probably compile time) using a check on CHAR_MIN. This should work with cross compiling setups. With this approach, if you plan to use "char" on ARM you cannot literally specify outside the range 0-127 using decimal/hex. If you need that you can use "signed char" or "unsigned char". | ||||
* | allow the base expression in deref and offset to be an expression | Adrian Thurston | 2021-09-21 | 2 | -1/+14 |
| | | | | | | 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. | ||||
* | include version in libfsm library install path | Adrian Thurston | 2020-12-23 | 1 | -1/+1 |
| | |||||
* | lift all source code into src/ dirinto-src | Adrian Thurston | 2020-10-18 | 74 | -0/+29915 |