Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved source files into commit repository | Adrian Thurston | 2020-03-14 | 1 | -0/+2139 |
| | |||||
* | moved the original colm src dir to /colm | Adrian Thurston | 2019-09-08 | 1 | -2139/+0 |
| | |||||
* | migrated from GPLv2 to MIT license | Adrian Thurston | 2016-12-13 | 1 | -17/+18 |
| | |||||
* | revert "removed GPL license file and stripped GPL headers" | Adrian Thurston | 2015-01-23 | 1 | -0/+17 |
| | | | | | | | | | | This reverts commit f04d3ede7dbb6d3edd6a9865ebf88c5e6d82f18e. Conflicts: src/codegen.cc src/ctinput.cc src/exports.cc src/fsmcodegen.cc | ||||
* | removed GPL license file and stripped GPL headers | Adrian Thurston | 2014-10-22 | 1 | -17/+0 |
| | |||||
* | renamed colm dir to src | Adrian Thurston | 2013-06-08 | 1 | -0/+2138 |
| | | | | | | Renamed 'colm' dir to 'src'. To allow colm to work out of the installed location or the source tree, while the installed includes reference <colm/include.h>, a symlink to '..' is placed at src/include/colm. | ||||
* | revert "moved 'colm' dir to 'src'" | Adrian Thurston | 2012-08-01 | 1 | -2694/+0 |
| | | | | | | | | | | | 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. | ||||
* | cleanup: 'accum' -> 'parser' | Adrian Thurston | 2012-07-28 | 1 | -1/+1 |
| | |||||
* | renamed Defintion to Production and added a static constructor | Adrian Thurston | 2012-07-23 | 1 | -12/+5 |
| | |||||
* | added static constructors for LangVarRef and cleaned up those calls | Adrian Thurston | 2012-07-22 | 1 | -13/+13 |
| | |||||
* | cleanup: removed Token from PdaRun | Adrian Thurston | 2012-07-22 | 1 | -4/+4 |
| | | | | | 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 | 1 | -19/+8 |
| | |||||
* | some cleanup of the parse tree data structs | Adrian Thurston | 2012-07-21 | 1 | -27/+30 |
| | |||||
* | 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 | 1 | -14/+13 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -18/+20 |
| | | | | | | 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 | 1 | -5/+5 |
| | |||||
* | a new parse statement syntax | Adrian Thurston | 2012-07-15 | 1 | -0/+39 |
| | | | | | | | | 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. | ||||
* | some fixes for the static constructor functions | Adrian Thurston | 2012-07-09 | 1 | -1/+1 |
| | |||||
* | static member constructors | Adrian Thurston | 2012-07-02 | 1 | -32/+32 |
| | |||||
* | more static member constructors | Adrian Thurston | 2012-07-02 | 1 | -38/+38 |
| | |||||
* | added a static member constructor for LangStmt | Adrian Thurston | 2012-07-02 | 1 | -21/+21 |
| | |||||
* | using static member functions for TypeRef construction | Adrian Thurston | 2012-07-02 | 1 | -20/+20 |
| | |||||
* | more static member constructor functions | Adrian Thurston | 2012-07-02 | 1 | -12/+12 |
| | |||||
* | more static member functions for consing parse tree elements | Adrian Thurston | 2012-07-02 | 1 | -19/+18 |
| | |||||
* | using static constructors for creating Expression | Adrian Thurston | 2012-07-01 | 1 | -6/+6 |
| | | | | | 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 | 1 | -0/+2677 |