Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | version bump for fix critical fix to parse tree clearingcolm-0.7 | Adrian Thurston | 2013-02-06 | 1 | -2/+2 |
| | |||||
* | proper, non-recursive implementation of clear parse tree | Adrian Thurston | 2013-02-06 | 1 | -17/+34 |
| | |||||
* | version 0.7.1 that fixes critical bugcolm-0.7.10.7.1 | Adrian Thurston | 2012-10-19 | 1 | -2/+2 |
| | |||||
* | fixed typo-bug in buffer growth in str collection | Adrian Thurston | 2012-10-19 | 1 | -1/+1 |
| | |||||
* | bump to 0.7colm-0.70.7 | Adrian Thurston | 2012-08-01 | 1 | -2/+2 |
| | |||||
* | avoid collisions between colm members and C++ impl members | Adrian Thurston | 2012-08-01 | 1 | -16/+16 |
| | | | | | Prefixed prg and tree with __ to avoid collisions with function members that come from colm attributes. | ||||
* | revert "moved 'colm' dir to 'src'" | Adrian Thurston | 2012-08-01 | 71 | -67/+66 |
| | | | | | | | | | | | Colm includes a library component with headers installed to a private dir inside include: $prefix/include/colm. We need our headers to reference each other using this colm prefix. This needs to be true for compiling our source and also for compiling external programs. It is conventient to have all the source in a directory called colm and then to use -I <source-root> when building colm. We use $prefix/include when building external programs. This reverts commit 247904a84430b8c9151fa6afb68f01b60afb92c9. | ||||
* | munmap (free) the stack, relevant to long-lived programs | Adrian Thurston | 2012-07-31 | 1 | -22/+24 |
| | |||||
* | pass program arguments to colmRunProgram instead of colmNewProgram. | Adrian Thurston | 2012-07-31 | 4 | -42/+47 |
| | | | | | Idea with this is to make it possible to re-use an allocated program for more than one invocation. | ||||
* | cleanup: 'accum' -> 'parser' | Adrian Thurston | 2012-07-28 | 6 | -39/+39 |
| | |||||
* | added .tree member and .eof() function to parser | Adrian Thurston | 2012-07-28 | 6 | -1/+66 |
| | | | | | The .tree is for fetching the built tree. The .eof() function is an alias of finish(), which is a little more precise with respect to functionality. | ||||
* | reassign bytecode values | Adrian Thurston | 2012-07-28 | 1 | -271/+270 |
| | | | | Have 38 or so values left. At e0 but some were skipped in 5. | ||||
* | renamed Defintion to Production and added a static constructor | Adrian Thurston | 2012-07-23 | 10 | -100/+91 |
| | |||||
* | added static constructors for LangVarRef and cleaned up those calls | Adrian Thurston | 2012-07-22 | 3 | -16/+36 |
| | |||||
* | cleanup: removed Token from PdaRun | Adrian Thurston | 2012-07-22 | 5 | -17/+17 |
| | | | | | Token is a data structure for the parser, not the collected parse tree. PdaLiteral now collects location and data. | ||||
* | cleanup in the parser and parse tree data structures | Adrian Thurston | 2012-07-22 | 2 | -52/+57 |
| | |||||
* | some cleanup of the parse tree data structs | Adrian Thurston | 2012-07-21 | 3 | -110/+112 |
| | |||||
* | fixed order of replacement element productions | Adrian Thurston | 2012-07-21 | 1 | -1/+2 |
| | | | | | | Had a code_expr ahead of a literal element in "stuff". Since code_expr allows a string we were getting the wrong tree. Note that accum has code_expr first because we want the strings. Going to need to sort this out! | ||||
* | minor cleanup around parsing | Adrian Thurston | 2012-07-16 | 5 | -20/+19 |
| | |||||
* | cleanup in strings/accum/repl lists | Adrian Thurston | 2012-07-16 | 1 | -32/+24 |
| | | | | They are all now right recursive like accum. | ||||
* | accum list needs to be right recursive | Adrian Thurston | 2012-07-16 | 1 | -1/+1 |
| | | | | | Necessary to achieve correct ambiguity resolution. Right recursion gets us longer matches first. | ||||
* | updated tests to match send (accum) syntax change | Adrian Thurston | 2012-07-16 | 3 | -9/+9 |
| | | | | Must wrap items sent to a parser using []. | ||||
* | disabled the plain code_expr version of accumulate | Adrian Thurston | 2012-07-16 | 1 | -5/+5 |
| | | | | | Must use either "" or [] to wrap the items that go there. This is consistent with pattern matching and replacement. | ||||
* | moved the send (also old << syntax) to LangTerm | Adrian Thurston | 2012-07-16 | 4 | -118/+121 |
| | | | | | | The send belongs in the lang terms with the rest of the parsing, consing, matching, etc. Was in LangStmt only because there are some grammar issues to fix. The repl/accum/string definitions are a bit sloppy. | ||||
* | some cleanup of parse tree type names | Adrian Thurston | 2012-07-15 | 4 | -21/+22 |
| | |||||
* | a new parse statement syntax | Adrian Thurston | 2012-07-15 | 4 | -1/+209 |
| | | | | | | | | Added a parse statement constructs the parser, sends some text in the style of the send statement, then returns the parser. More can be sent. When done finish is called. The goal here is to eliminate the parse statements that return the parsed tree because there is no way to get the parse error. The parser is immediately destroyed. | ||||
* | test case covering fix for EXIT. | Adrian Thurston | 2012-07-09 | 3 | -0/+24 |
| | |||||
* | some fixes for the static constructor functions | Adrian Thurston | 2012-07-09 | 2 | -1/+11 |
| | |||||
* | fix for EXIT op: need to save the frame id for comparison | Adrian Thurston | 2012-07-09 | 1 | -1/+4 |
| | |||||
* | static member constructors | Adrian Thurston | 2012-07-02 | 5 | -149/+329 |
| | |||||
* | more static member constructors | Adrian Thurston | 2012-07-02 | 3 | -154/+236 |
| | |||||
* | added a static member constructor for LangStmt | Adrian Thurston | 2012-07-02 | 2 | -54/+164 |
| | |||||
* | using static member functions for TypeRef construction | Adrian Thurston | 2012-07-02 | 6 | -74/+146 |
| | |||||
* | more static member constructor functions | Adrian Thurston | 2012-07-02 | 2 | -21/+52 |
| | |||||
* | more static member functions for consing parse tree elements | Adrian Thurston | 2012-07-02 | 2 | -49/+104 |
| | |||||
* | using a cons function for Term | Adrian Thurston | 2012-07-01 | 3 | -23/+44 |
| | |||||
* | using static constructors for creating Expression | Adrian Thurston | 2012-07-01 | 4 | -18/+43 |
| | | | | | The advantage of static constructors is that we can use common constructors for initializing fields. | ||||
* | moved 'colm' dir to 'src' | Adrian Thurston | 2012-07-01 | 71 | -66/+67 |
| | |||||
* | improvements to the ragel and colm config-time checks | Adrian Thurston | 2012-07-01 | 2 | -21/+52 |
| | | | | | | Fixed the test of build_parsers that allows the ragel/colm check to function. Was checking for "true" when it should be a check for "yes". Added --with-* options for specifying where the packages are installed to. | ||||
* | set the pubdatecolm-0.60.6 | Adrian Thurston | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | moved away closed issues | Adrian Thurston | 2012-06-16 | 48 | -0/+0 |
| | |||||
* | converted issues to text and split by id | Adrian Thurston | 2012-06-09 | 79 | -1643/+824 |
| | |||||
* | cleanup of region creation | Adrian Thurston | 2012-05-29 | 2 | -61/+35 |
| | |||||
* | flattened the reg lang name tree down to a list for regions | Adrian Thurston | 2012-05-29 | 2 | -44/+14 |
| | |||||
* | only need regions in the name tree. | Adrian Thurston | 2012-05-28 | 2 | -138/+0 |
| | |||||
* | cleanup in token region code | Adrian Thurston | 2012-05-28 | 2 | -68/+27 |
| | | | | | Use the same name for the RegionDef and TokenRegion. Eventually should be able to unify these two structs. | ||||
* | don't need labels in the regular language tree | Adrian Thurston | 2012-05-28 | 2 | -30/+0 |
| | |||||
* | code cleanup | Adrian Thurston | 2012-05-28 | 4 | -251/+3 |
| | | | | | | | Eliminated the name resolution walk within the state machine. This is from ragel and is not needed. Also removed some top level code for constructing state machines not in a scanner. We don't have this in colm, all state machines are in a scanner. | ||||
* | code cleanup | Adrian Thurston | 2012-05-28 | 5 | -59/+42 |
| | | | | | The JoinOrLm structs are no longer needed. VarDef and RegionDef reference the Join and the TokenRegion, respectively. | ||||
* | specializing graph dicts and lists for regions and regular language defs | Adrian Thurston | 2012-05-28 | 6 | -77/+171 |
| | | | | | | Previously used a single graph dictionary for regions and regular language defs because we were derived from ragel. Splitting these The split goes down to VarDef and JoinOrLm. |