summaryrefslogtreecommitdiff
path: root/colm/fsmrun.c
Commit message (Expand)AuthorAgeFilesLines
* Put the setting of the region into a function call.Adrian Thurston2011-11-201-10/+12
* Some cleanup. Don't need PdaRun::input2.Adrian Thurston2011-11-191-15/+12
* Use zero for the null region. Required shifting the array over by one.Adrian Thurston2011-11-191-10/+2
* Now attaching ignores when tokens are shifted. Allows better error reportingAdrian Thurston2011-11-191-96/+77
* Added another point where we will sending back ignore tokens. refs #333.Adrian Thurston2011-11-181-33/+41
* Now using the accumulated ignore stack when reporting some backtracking points.Adrian Thurston2011-11-171-13/+44
* Bit more cleanup.Adrian Thurston2011-11-161-2/+2
* The reverse execution factored out into the parse action call point. refs #332.Adrian Thurston2011-11-131-12/+0
* Added co routine stop points for the reverse code execution. Code remains to beAdrian Thurston2011-11-131-58/+118
* Factored out the PreEof blocks. There are actually no active test cases forAdrian Thurston2011-11-131-21/+14
* Generation actions successfully factored out. refs #332.Adrian Thurston2011-11-131-36/+23
* PcrGeneration entry point works. refs #332.Adrian Thurston2011-11-131-2/+2
* Some prep for parse co-routine entry points other than Reduction. Will need toAdrian Thurston2011-11-131-4/+19
* Somc cleanup of of the functions that call parseLoop WRT co-routines.Adrian Thurston2011-11-121-2/+1
* Don't use an enum for the parse co-routine state, just use a long. WillAdrian Thurston2011-11-121-3/+3
* Token generation actions factored out into the parse loop. Ready to go into theAdrian Thurston2011-11-081-34/+24
* Some refactoring for token generation action. refs #332.Adrian Thurston2011-11-081-49/+48
* Use only one enum for parsing entry and exit coroutine positions. ReducesAdrian Thurston2011-11-081-10/+10
* Undid r2581 since it busted the test suite and started with some simplerAdrian Thurston2011-11-081-10/+8
* Factored the reduction action into the bytecode loop. Next to fold theAdrian Thurston2011-11-071-51/+30
* More refactoring for eliminating recursive calls to the bytecode loop.Adrian Thurston2011-11-071-31/+27
* More refactoring of the parse loop so we can factor out reduction actions. Adrian Thurston2011-11-071-28/+25
* More refactoring, prep for factoring out reduction actions. refs #332.Adrian Thurston2011-11-071-93/+81
* Factored reduction execution out of parseToken. Took it one up to the caller.Adrian Thurston2011-11-061-3/+36
* Some more prep for factoring out the reduction action execution. Returning atAdrian Thurston2011-11-061-3/+24
* Some cleanup in prep for factoring the reduction action call out of the parseAdrian Thurston2011-11-061-51/+47
* Moved the 'input' variable from the parseToken function into pdaRun. This willAdrian Thurston2011-11-061-2/+6
* Added frameId to the call stack. Will use for stack unwinding so we canAdrian Thurston2011-11-061-8/+10
* Set debug realms from the -D arg, pass to the compiled program.Adrian Thurston2011-11-061-3/+3
* Added an export keyword for returning values to C++ code. Export makes a globalAdrian Thurston2011-11-011-1/+1
* Don't print parse errors. Store them and make them available. refs #331.Adrian Thurston2011-10-311-4/+33
* Give EOF tokens a location so that parse errors are better reported. refs #326.Adrian Thurston2011-10-301-4/+11
* More cleanup: removed prg from PdaRun. Now passed where needed (many places).Adrian Thurston2011-10-301-115/+115
* Cleanup: moving structs into the proper headers, new header for program struct,Adrian Thurston2011-10-301-44/+42
* The headers that get installed are now referenced using <colm/header.h> so thatAdrian Thurston2011-10-251-12/+12
* Memory leaks WRT parse errors. A couple debug statement improvements.Adrian Thurston2011-10-241-1/+2
* Cleanup WRT parser deletion.Adrian Thurston2011-10-241-1/+6
* Cleanup WRT error handling. refs #327Adrian Thurston2011-10-241-30/+22
* Cannot just exit on parse error. refs #327.Adrian Thurston2011-10-241-10/+17
* General improvments. KlangEl -> LangEl. Program execution functions.Adrian Thurston2011-10-231-1/+1
* Made the virtual machine stack macros consistently named. EliminatedAdrian Thurston2011-10-221-3/+3
* The exit command now causes cascading terminations. Can't just call exit(0) ifAdrian Thurston2011-10-091-3/+8
* Leaks and memory errors fixed. If a disappearing fsm run has run buffers theyAdrian Thurston2011-10-021-5/+13
* Improvements to the sending back of ignore tokens. Some awkward code redone.Adrian Thurston2011-10-021-43/+21
* Removed the token queue in PdaRun. Generated tokens are pushed onto the inputAdrian Thurston2011-10-021-70/+35
* Improved the names of the reverse code vectors. rcodeCollect for the executionAdrian Thurston2011-10-011-7/+7
* Instead of using go left and go right ignore list commands, use suppress flagsAdrian Thurston2011-10-011-63/+11
* Suppress the left and right ignore tokens during parsing. This can be optimizedAdrian Thurston2011-09-301-0/+59
* Last night's work. Added the go-left and go-right commands for ignore lists.Adrian Thurston2011-09-281-1/+0
* Setting the ignore list generation. refs #323.Adrian Thurston2011-09-281-6/+9