Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | changelog entries for 0.12.0colm-0.12.0 | Adrian Thurston | 2014-02-01 | 1 | -0/+35 |
| | |||||
* | use the verb 'resolve' for types | Adrian Thurston | 2014-02-01 | 4 | -68/+68 |
| | |||||
* | removed comma operator from expression lists | Adrian Thurston | 2014-02-01 | 4 | -5/+3 |
| | | | | | | | | If comma is allowed there will likely be large amounts of code written with it because it's so comon in other languages. It is only needed in a few cases, so for those we can resort to other techniques, such as using parens around expressions to isolate ('a') ('b'). This will prevent confusion when seeing code with and without commas. | ||||
* | call initField on all local frame fields before compile pass | Adrian Thurston | 2014-01-25 | 4 | -8/+49 |
| | | | | | | This makes the local frame size available before a function has been compiled. This is necessary for the contiguous instruction to work properly (function ref before definition). | ||||
* | can eliminate the contiguous stmt for print, make_tree and make_token | Adrian Thurston | 2014-01-23 | 1 | -17/+0 |
| | |||||
* | print function names in call op debug stmts | Adrian Thurston | 2014-01-23 | 1 | -2/+2 |
| | |||||
* | added test case for make_tree | Adrian Thurston | 2014-01-22 | 1 | -0/+13 |
| | |||||
* | eliminated stack offset from make-token instruction | Adrian Thurston | 2014-01-22 | 3 | -18/+18 |
| | |||||
* | don't use sp offset for make_tree, removes need for contiguous | Adrian Thurston | 2014-01-22 | 3 | -14/+14 |
| | |||||
* | allow make_tree anywhere | Adrian Thurston | 2014-01-22 | 1 | -2/+2 |
| | |||||
* | don't use stack top offsets in print instructions | Adrian Thurston | 2014-01-22 | 1 | -19/+27 |
| | | | | Eliminates need for contiguous instructions. | ||||
* | the contiguous instruction also pushes a null value | Adrian Thurston | 2014-01-21 | 4 | -3/+25 |
| | | | | | An initial push prevents a push-pop-push from clearing the contiguous block. This can happen easily when evaluating args (quals, expresssions, etc). | ||||
* | stack block pop: utilize the full space of the block | Adrian Thurston | 2014-01-21 | 1 | -4/+5 |
| | |||||
* | added the system function, which calls C's system | Adrian Thurston | 2014-01-21 | 3 | -0/+26 |
| | |||||
* | include collect-ignore tokens in export | Adrian Thurston | 2014-01-19 | 1 | -2/+2 |
| | |||||
* | updated release information | Adrian Thurston | 2014-01-19 | 1 | -2/+2 |
| | |||||
* | updated ni syntax, require - between def and kw | Adrian Thurston | 2014-01-19 | 10 | -33/+41 |
| | | | | | | | | literal `( -ni token id /'a'/ -ni This allows ni to appear in literal defs without an ambiguity beween left and right ignore. | ||||
* | new syntax for collect-ignore tokens: token <id> - | Adrian Thurston | 2014-01-18 | 10 | -47/+58 |
| | |||||
* | don't interpret \ as escape in backtick literals | Adrian Thurston | 2014-01-14 | 1 | -3/+4 |
| | |||||
* | updated test cases for syntax changes in parent commit | Adrian Thurston | 2014-01-14 | 71 | -1308/+1326 |
| | |||||
* | added backtick lexical syntax for literal tokens | Adrian Thurston | 2014-01-14 | 5 | -101/+241 |
| | | | | | | | | | | | | | | | Added a new syntax for literal tokens. A single backtick is starts the literal. Ends at whitespace or ] in second or greater position. The zero length token is now just a plain backtick. Removed comma as separator in literal statement. Single-quoted strings are now treated like double-quoted strings. They may appear in expressions and are concatenated with the other string forms. Allowing ',' in parameter and argument lists to separate arguments, eg foo('a', 'b'). | ||||
* | added missing type lookup in qual resolve | Adrian Thurston | 2014-01-11 | 1 | -0/+1 |
| | |||||
* | removed trees and iters from frame info, | Adrian Thurston | 2014-01-08 | 6 | -149/+0 |
| | | | | Using unified locals array now. | ||||
* | use locals array for downref of local trees | Adrian Thurston | 2014-01-07 | 1 | -8/+11 |
| | |||||
* | some line folding and var reuse | Adrian Thurston | 2014-01-06 | 1 | -26/+49 |
| | |||||
* | added wrapper function for current namespace | Adrian Thurston | 2014-01-06 | 5 | -41/+36 |
| | |||||
* | added function for the current context | Adrian Thurston | 2014-01-06 | 5 | -34/+25 |
| | |||||
* | removed curScope from ObjectDef, track it in BaseParser | Adrian Thurston | 2014-01-05 | 5 | -67/+69 |
| | |||||
* | added checkRedecl and insertField to scope object | Adrian Thurston | 2014-01-05 | 3 | -4/+17 |
| | |||||
* | removed popScope from ObjectDef | Adrian Thurston | 2014-01-05 | 3 | -8/+1 |
| | |||||
* | transfer objectDef to LangEl when creating literal token defs | Adrian Thurston | 2014-01-05 | 1 | -7/+8 |
| | |||||
* | moved curLocalFrame into the parser class | Adrian Thurston | 2014-01-05 | 6 | -32/+32 |
| | |||||
* | added a namespace item list definition | Adrian Thurston | 2014-01-05 | 2 | -2/+80 |
| | | | | The namespace item doesn't allow statements in namespaces. | ||||
* | eliminated curLocalFrame from the synthesis pass | Adrian Thurston | 2014-01-05 | 2 | -36/+26 |
| | |||||
* | some code cleanup: Form and constructor arg order | Adrian Thurston | 2014-01-05 | 7 | -67/+69 |
| | |||||
* | moved declare functions to declare.cc | Adrian Thurston | 2014-01-04 | 2 | -460/+464 |
| | |||||
* | moved some declaration code into the declaration pass func | Adrian Thurston | 2014-01-04 | 2 | -8/+9 |
| | |||||
* | moved generic init code to declare function called on resove/creation | Adrian Thurston | 2014-01-04 | 4 | -38/+29 |
| | |||||
* | moved object init functions up to declare pass | Adrian Thurston | 2014-01-04 | 1 | -4/+5 |
| | |||||
* | init token funcs/fields only for terms with object defs | Adrian Thurston | 2014-01-04 | 3 | -22/+3 |
| | | | | | | | Only initializing the token funcs/fields only if a terminal was created with an object def. This eliminates the need for "isUserTerm" field. This is motiviated by pass depedency reduction. Needed makeLangEls to be called before the token fields/funcs were added. | ||||
* | create object defs for literal tokens | Adrian Thurston | 2014-01-04 | 1 | -1/+4 |
| | |||||
* | moved init object functions up out of synthesis pass | Adrian Thurston | 2014-01-04 | 4 | -20/+16 |
| | |||||
* | moved initEmptyScanners out of declare pass | Adrian Thurston | 2014-01-04 | 2 | -4/+2 |
| | |||||
* | moved setPrecedence to resolve pass | Adrian Thurston | 2014-01-04 | 4 | -16/+16 |
| | |||||
* | eliminated varDeclaration as a distinct pass | Adrian Thurston | 2014-01-04 | 4 | -14/+10 |
| | |||||
* | moved the creation of match, input, ctx vars to declare pass | Adrian Thurston | 2014-01-04 | 2 | -72/+78 |
| | |||||
* | use found UniqueType when consing type refs for repeat prods | Adrian Thurston | 2014-01-03 | 3 | -16/+16 |
| | |||||
* | enabled parsed var ref and parsed type ref lookups | Adrian Thurston | 2014-01-03 | 1 | -7/+10 |
| | |||||
* | moved parameter declaration into the declare pass | Adrian Thurston | 2014-01-03 | 1 | -9/+15 |
| | |||||
* | some prep for lookup using parsed var ref namespace | Adrian Thurston | 2014-01-03 | 3 | -6/+19 |
| |