summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* documented the major items for 0.9colm-0.90.9colm-0.9Adrian Thurston2013-02-191-9/+19
|
* brought back declaration of clearPdaRun, which went missing in some cleanupAdrian Thurston2013-02-131-4/+3
|
* bumped version to 0.9, approaching releaseAdrian Thurston2013-02-121-2/+2
|
* removed RegionGraphDictEl, can just use RegionDef directlyAdrian Thurston2013-02-124-42/+17
|
* updated examples for namespace and context syntax changesAdrian Thurston2013-02-1228-33/+33
|
* remove namespace and context name from end of those blocksAdrian Thurston2013-02-121-7/+2
|
* cleanup in parser: pass localFrame to CodeBlockAdrian Thurston2013-02-112-13/+8
|
* removed unused defines for upper and lower masksAdrian Thurston2013-02-111-2/+0
|
* split stream::pull into WV and WCAdrian Thurston2013-02-111-3/+3
| | | | | To do this we need to make the call code generation aware of 'isCustom'. The isCustom code gen needs to also respect pd->revertOn.
* the FsmRun struct is now contained in PdaRunAdrian Thurston2013-02-104-15/+13
| | | | | Still accessing it with a pointer though, instead of changing all the access points.
* can't use IN_INPUT_PULL_WC just yetAdrian Thurston2013-02-101-1/+1
| | | | | | The input variable is a local, which is normally not reverted, but because it is a stream it has to have revert code made for it. Might have to add a new class of vars here, locals that need reverting.
* Merge remote-tracking branch 'origin/copy-on-consume'Adrian Thurston2013-02-1040-503/+755
|\
| * additional test for stream pull out of the parsing codecopy-on-consumeAdrian Thurston2013-02-103-0/+5
| |
| * support stream pull outside of a parserAdrian Thurston2013-02-109-23/+56
| |
| * added the WC and WV context for stdin/stdout/sterr getAdrian Thurston2013-02-101-1/+7
| |
| * write the skip-token label only if it is usedAdrian Thurston2013-02-103-5/+17
| |
| * completed removed FsmRun from InputStream interfaceAdrian Thurston2013-02-094-11/+7
| |
| * removed FsmRun arg from getData and getParseBlock input interfacesAdrian Thurston2013-02-094-21/+16
| |
| * removal of fsmRun arg from a number of stream interface functionsAdrian Thurston2013-02-093-18/+18
| |
| * converted resetToken to tak PdaRunAdrian Thurston2013-02-093-4/+5
| |
| * check return value of write call, suppresses warningAdrian Thurston2013-02-091-1/+4
| |
| * removed the FsmRun arg from the parseLoop callAdrian Thurston2013-02-094-9/+10
| |
| * store FsmRun inside PdaRun, remove from ParserAdrian Thurston2013-02-096-15/+18
| |
| * merged call to newToken into initPdaRun, made it staticAdrian Thurston2013-02-094-4/+2
| |
| * merged initFsmRun into initPdaRunAdrian Thurston2013-02-094-12/+10
| |
| * removed the fsmrun.h header, which was emptyAdrian Thurston2013-02-0923-60/+2
| |
| * put the data fetch at the top of the scanToken loopAdrian Thurston2013-02-091-40/+34
| | | | | | | | | | Now that we are copying into FSM on consume, it makes sense to get buffer blocks at the top of the scan token loop.
| * don't allocate new runbufs for every match pulled from a streamAdrian Thurston2013-02-091-65/+79
| |
| * the eof marker is now a single bit rather than a pointerAdrian Thurston2013-02-075-18/+19
| |
| * Merge branch 'copy-on-consume' of ssh://complang.org/var/git/colm into ↵Adrian Thurston2013-02-071-2/+0
| |\ | | | | | | | | | copy-on-consume
| | * eliminated duplicate definition of StreamImpl typedefAdrian Thurston2013-02-071-2/+0
| | |
| * | took skip out of the getData interface, not neededAdrian Thurston2013-02-064-9/+9
| | |
| * | getData continues until length data is copiedAdrian Thurston2013-02-063-90/+48
| | | | | | | | | | | | | | | | | | The getData function now continues to fetch data until length data is copied or there is no more data. Don't need to call it in a loop, or pass in a skip argument.
| * | made the input stream functions staticAdrian Thurston2013-02-062-51/+21
| |/
| * return the amount copied from getDataAdrian Thurston2013-02-054-111/+63
| | | | | | | | | | | | Was returning this via a pointer passed as an arg and returning the type of data block. Since getData is now used only for copying data after a successful match, we only need the length copied.
| * keep tokend as an int, not pointerAdrian Thurston2013-02-045-21/+37
| | | | | | | | | | Since we are no longer maintaining a contiguous token buffer during scanning we cannot use a pointer for tokend. Turn it into an offset (toklen).
| * renamed FsmRun "have" to toklen, compute it in fsmExecuteAdrian Thurston2013-02-044-21/+28
| |
| * don't touch p in the FSM execution, wrecks the have computationAdrian Thurston2013-02-033-7/+10
| |
| * don't check tokstart in stream pull, no longer relevantAdrian Thurston2013-02-031-2/+2
| |
| * working out appropriate usage of p, pe with get parse blockAdrian Thurston2013-02-031-11/+16
| |
| * refraining from copying in getParsBlock, basics workingAdrian Thurston2013-02-035-114/+56
| |
| * return pointer to data bclok from getParseBlockAdrian Thurston2013-02-024-10/+25
| | | | | | | | The next step is to use this pointer instead of the scanBuf to do the scanning.
| * forked the getData input function into getParseBlockAdrian Thurston2013-02-024-2/+262
| | | | | | | | | | After forking we can rework this function to return a pointer to a parse block, instead of copying data in.
| * the include1 test now functions on the eos branchAdrian Thurston2013-01-281-0/+19
| |
| * Merge branch 'copy-on-consume' into eosAdrian Thurston2013-01-2811-93/+159
| |\
| | * added empty expected output for the yet-to-work include1.lm testAdrian Thurston2013-01-281-0/+0
| | |
| | * removed the attach/detach callsAdrian Thurston2013-01-285-67/+2
| | | | | | | | | | | | Still need a clearBuffered call in the undoConsume, not entirely sure why.
| | * repeatedly call getData in match extractionAdrian Thurston2013-01-271-0/+7
| | | | | | | | | | | | | | | The getData interface was originally designed to stop on buffer boundaries. Need to call it in a loop when using it in extractMatch.
| | * test case for nested streamsAdrian Thurston2013-01-275-0/+118
| | |
| | * separate scanner buf from the token consume bufAdrian Thurston2013-01-272-26/+32
| | |