Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | l-values are preserved modulo type distinction | Araq | 2011-09-24 | 1 | -1/+2 |
| | |||||
* | using statement (ala C#) implemented as macro (added as test). | Zahary Karadjov | 2011-09-20 | 1 | -1/+2 |
| | | | | simplified the usage of the interpolatedFragments iterator. | ||||
* | Initial implementation of the parseExpr, parseStmt, getAst macro routines: | Zahary Karadjov | 2011-09-20 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | proc parseExpr*(s: string) : expr {.magic: "ParseExprToAst".} ## Compiles the passed string to its AST representation ## Expects a single expression proc parseStmt*(s: string) : stmt {.magic: "ParseStmtToAst".} ## Compiles the passed string to its AST representation ## Expects one or more statements proc getAst*(macroOrTemplate: expr): expr {.magic: "ExpandMacroToAst".} ## Obtains the AST nodes returned from a macro or template invocation ## example: ## macro FooMacro() = ## var ast = getAst(BarTemplate()) Handling of the node.toYaml magic moved to the evaluation engine. | ||||
* | preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵ | Araq | 2011-07-31 | 1 | -1/+1 |
| | | | | generated C code) | ||||
* | old pointer deref operator completely removed | Araq | 2011-07-23 | 1 | -5/+0 |
| | |||||
* | nicer error messages for used keywords as identifiers | Araq | 2011-06-19 | 1 | -3/+3 |
| | |||||
* | bugfix: empty object case branches produce an error | Araq | 2011-06-19 | 1 | -1/+5 |
| | |||||
* | bugfix: endless loop in parser; added sphinx wrapper | Araq | 2011-06-14 | 1 | -0/+1 |
| | |||||
* | lexer, parser cleanup; boehm gc for mac os x | Araq | 2011-05-17 | 1 | -63/+59 |
| | |||||
* | cleaned up the tests; fixes #30; fixes #26 | Araq | 2011-05-01 | 1 | -36/+8 |
| | |||||
* | slice support in system.nim; syntactic sugar for tables; cleanup of ↵ | Araq | 2011-04-23 | 1 | -49/+23 |
| | | | | grammar/parser | ||||
* | parser got rid of cruft | Araq | 2011-04-22 | 1 | -32/+9 |
| | |||||
* | slices are first class citizens | Araq | 2011-04-22 | 1 | -24/+17 |
| | |||||
* | grammar changes for table constructor: second part | Araq | 2011-04-21 | 1 | -1/+19 |
| | |||||
* | grammar changes for table constructor: first part | Araq | 2011-04-21 | 1 | -17/+24 |
| | |||||
* | got rid of some arcane module names | Araq | 2011-04-21 | 1 | -0/+1434 |