Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initial implementation of the parseExpr, parseStmt, getAst macro routines: | Zahary Karadjov | 2011-09-20 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | small bugfix for eval | Araq | 2011-08-19 | 1 | -1/+1 |
| | |||||
* | finally got rid of nkPassAsOpenArray | Araq | 2011-08-16 | 1 | -1/+0 |
| | |||||
* | preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵ | Araq | 2011-07-31 | 1 | -3/+3 |
| | | | | generated C code) | ||||
* | bugfixes; step one for 'var T' as return type support | Araq | 2011-07-28 | 1 | -2/+3 |
| | |||||
* | implemented write access to s[i] for macros | Araq | 2011-06-21 | 1 | -19/+34 |
| | |||||
* | newStringOfCap implemented and used to optimize some procs | Araq | 2011-05-08 | 1 | -1/+7 |
| | |||||
* | const table support | Araq | 2011-04-29 | 1 | -14/+19 |
| | |||||
* | got rid of some arcane module names | Araq | 2011-04-21 | 1 | -1/+1 |
| | |||||
* | big repo cleanup | Araq | 2011-04-12 | 1 | -0/+1110 |