summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* changelog entries for 0.12.0colm-0.12.0Adrian Thurston2014-02-011-0/+35
|
* use the verb 'resolve' for typesAdrian Thurston2014-02-014-68/+68
|
* removed comma operator from expression listsAdrian Thurston2014-02-014-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 passAdrian Thurston2014-01-254-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_tokenAdrian Thurston2014-01-231-17/+0
|
* print function names in call op debug stmtsAdrian Thurston2014-01-231-2/+2
|
* added test case for make_treeAdrian Thurston2014-01-221-0/+13
|
* eliminated stack offset from make-token instructionAdrian Thurston2014-01-223-18/+18
|
* don't use sp offset for make_tree, removes need for contiguousAdrian Thurston2014-01-223-14/+14
|
* allow make_tree anywhereAdrian Thurston2014-01-221-2/+2
|
* don't use stack top offsets in print instructionsAdrian Thurston2014-01-221-19/+27
| | | | Eliminates need for contiguous instructions.
* the contiguous instruction also pushes a null valueAdrian Thurston2014-01-214-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 blockAdrian Thurston2014-01-211-4/+5
|
* added the system function, which calls C's systemAdrian Thurston2014-01-213-0/+26
|
* include collect-ignore tokens in exportAdrian Thurston2014-01-191-2/+2
|
* updated release informationAdrian Thurston2014-01-191-2/+2
|
* updated ni syntax, require - between def and kwAdrian Thurston2014-01-1910-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 Thurston2014-01-1810-47/+58
|
* don't interpret \ as escape in backtick literalsAdrian Thurston2014-01-141-3/+4
|
* updated test cases for syntax changes in parent commitAdrian Thurston2014-01-1471-1308/+1326
|
* added backtick lexical syntax for literal tokensAdrian Thurston2014-01-145-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 resolveAdrian Thurston2014-01-111-0/+1
|
* removed trees and iters from frame info,Adrian Thurston2014-01-086-149/+0
| | | | Using unified locals array now.
* use locals array for downref of local treesAdrian Thurston2014-01-071-8/+11
|
* some line folding and var reuseAdrian Thurston2014-01-061-26/+49
|
* added wrapper function for current namespaceAdrian Thurston2014-01-065-41/+36
|
* added function for the current contextAdrian Thurston2014-01-065-34/+25
|
* removed curScope from ObjectDef, track it in BaseParserAdrian Thurston2014-01-055-67/+69
|
* added checkRedecl and insertField to scope objectAdrian Thurston2014-01-053-4/+17
|
* removed popScope from ObjectDefAdrian Thurston2014-01-053-8/+1
|
* transfer objectDef to LangEl when creating literal token defsAdrian Thurston2014-01-051-7/+8
|
* moved curLocalFrame into the parser classAdrian Thurston2014-01-056-32/+32
|
* added a namespace item list definitionAdrian Thurston2014-01-052-2/+80
| | | | The namespace item doesn't allow statements in namespaces.
* eliminated curLocalFrame from the synthesis passAdrian Thurston2014-01-052-36/+26
|
* some code cleanup: Form and constructor arg orderAdrian Thurston2014-01-057-67/+69
|
* moved declare functions to declare.ccAdrian Thurston2014-01-042-460/+464
|
* moved some declaration code into the declaration pass funcAdrian Thurston2014-01-042-8/+9
|
* moved generic init code to declare function called on resove/creationAdrian Thurston2014-01-044-38/+29
|
* moved object init functions up to declare passAdrian Thurston2014-01-041-4/+5
|
* init token funcs/fields only for terms with object defsAdrian Thurston2014-01-043-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 tokensAdrian Thurston2014-01-041-1/+4
|
* moved init object functions up out of synthesis passAdrian Thurston2014-01-044-20/+16
|
* moved initEmptyScanners out of declare passAdrian Thurston2014-01-042-4/+2
|
* moved setPrecedence to resolve passAdrian Thurston2014-01-044-16/+16
|
* eliminated varDeclaration as a distinct passAdrian Thurston2014-01-044-14/+10
|
* moved the creation of match, input, ctx vars to declare passAdrian Thurston2014-01-042-72/+78
|
* use found UniqueType when consing type refs for repeat prodsAdrian Thurston2014-01-033-16/+16
|
* enabled parsed var ref and parsed type ref lookupsAdrian Thurston2014-01-031-7/+10
|
* moved parameter declaration into the declare passAdrian Thurston2014-01-031-9/+15
|
* some prep for lookup using parsed var ref namespaceAdrian Thurston2014-01-033-6/+19
|