Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quick Fix: | Zahary Karadjov | 2011-09-20 | 2 | -2/+2 |
| | | | | | | | | | | | Constant expressions used in when statements and tuple indexing are properly evaluated now Even further step tested to be OK: ```nimrod proc semConstExpr(c: PContext, n: PNode): PNode = result = semAndEvalConstExpr(c, n) ``` | ||||
* | Initial implementation of the parseExpr, parseStmt, getAst macro routines: | Zahary Karadjov | 2011-09-20 | 4 | -33/+112 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Added AST introspection routines as a part of the standard library | Zahary Karadjov | 2011-09-20 | 2 | -1/+8 |
| | |||||
* | bugfixes for generics; new threads implementation still broken | Araq | 2011-09-20 | 12 | -84/+187 |
| | |||||
* | locks now in their own core module | Araq | 2011-08-20 | 1 | -8/+4 |
| | |||||
* | 'pure' is now 'noStackFrame' for procs | Araq | 2011-08-19 | 2 | -7/+9 |
| | |||||
* | small bugfix for eval | Araq | 2011-08-19 | 1 | -1/+1 |
| | |||||
* | documentation for --nimcache option | Araq | 2011-08-19 | 1 | -0/+1 |
| | |||||
* | implemented --nimcache config option; big clean up of magic words | Araq | 2011-08-19 | 5 | -185/+153 |
| | |||||
* | inlining of 'var openarray' iterators now work | Araq | 2011-08-18 | 2 | -25/+48 |
| | |||||
* | bugfix topenarrayrepr works again | Araq | 2011-08-16 | 1 | -1/+2 |
| | |||||
* | finally got rid of nkPassAsOpenArray | Araq | 2011-08-16 | 11 | -71/+49 |
| | |||||
* | added xmltree.innerText; fixes #49 | Araq | 2011-08-15 | 3 | -29/+32 |
| | |||||
* | added system.running for threads | Araq | 2011-08-11 | 1 | -10/+5 |
| | |||||
* | bugfix: #line generation for windows | Araq | 2011-08-11 | 1 | -2/+2 |
| | |||||
* | further tests for var T result type; ttables test now fails :-( | Araq | 2011-08-10 | 1 | -2/+1 |
| | |||||
* | added system.slurp for easy embedding of resources | Araq | 2011-08-10 | 4 | -21/+28 |
| | |||||
* | modifyable results for generics; teventemitter works | Araq | 2011-08-09 | 2 | -10/+14 |
| | |||||
* | fixes #35, fixes #43 | Araq | 2011-08-08 | 2 | -2/+4 |
| | |||||
* | json code generation works again | Araq | 2011-08-07 | 2 | -4/+4 |
| | |||||
* | support for C++ code generation; importcpp and importobjc pragmas | Araq | 2011-08-07 | 20 | -171/+247 |
| | |||||
* | fixes #42 | Araq | 2011-08-04 | 3 | -117/+91 |
| | |||||
* | anonymous procs implemented; however no closure support yet | Araq | 2011-08-01 | 3 | -5/+14 |
| | |||||
* | documentation for 'var T' as return type | Araq | 2011-08-01 | 1 | -14/+11 |
| | |||||
* | 'var T' for iterators | Araq | 2011-07-31 | 4 | -5/+41 |
| | |||||
* | void type improvements; documentation improvements | Araq | 2011-07-31 | 1 | -0/+1 |
| | |||||
* | void type for generics | Araq | 2011-07-31 | 2 | -12/+6 |
| | |||||
* | 'is' operator for generic code | Araq | 2011-07-31 | 2 | -21/+12 |
| | |||||
* | preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵ | Araq | 2011-07-31 | 9 | -21/+44 |
| | | | | generated C code) | ||||
* | attempt to improve 'suggest' feature | Araq | 2011-07-30 | 2 | -8/+11 |
| | |||||
* | Merge branch 'master' of git@github.com:Araq/Nimrod | Araq | 2011-07-30 | 2 | -13/+13 |
|\ | |||||
| * | c2nim,pas2nim: use the stdout.writeln to display the "unknown option" message | Keita Haga | 2011-07-29 | 2 | -2/+2 |
| | | |||||
| * | c2nim,pas2nim: bugfix: --out:FILE option does not work as documented | Keita Haga | 2011-07-29 | 2 | -11/+11 |
| | | |||||
* | | bugfix: forwarding of generic procs now works | Araq | 2011-07-30 | 4 | -42/+55 |
|/ | |||||
* | bugfix: 'final' not passed to generic | Araq | 2011-07-29 | 6 | -62/+50 |
| | |||||
* | bugfixes; step one for 'var T' as return type support | Araq | 2011-07-28 | 17 | -58/+119 |
| | |||||
* | Merge branch 'master' of github.com:Araq/Nimrod | Araq | 2011-07-26 | 1 | -181/+181 |
|\ | |||||
| * | pas2nim: nhashes library doesn't exist | Keita Haga | 2011-07-25 | 1 | -181/+181 |
| | | |||||
* | | bugfixes; added events module, sequtils module | Araq | 2011-07-26 | 2 | -5/+7 |
| | | |||||
* | | doc improvements; added lazarus example | Araq | 2011-07-24 | 2 | -17/+17 |
|/ | |||||
* | old pointer deref operator completely removed | Araq | 2011-07-23 | 7 | -18/+13 |
| | |||||
* | bugfix: proper cache for generic instantiations | Araq | 2011-07-21 | 7 | -79/+53 |
| | |||||
* | first steps to explicit channels for thread communication; added mainThreadId | Araq | 2011-07-16 | 5 | -41/+41 |
| | |||||
* | 0.8.12 bugfix: some files not in download package | Araq | 2011-07-11 | 2 | -1/+2 |
| | |||||
* | preparations for 0.8.12 | Araq | 2011-07-10 | 7 | -16/+38 |
| | |||||
* | bugfix: 'set' overloadable; further steps for multi threading support | Araq | 2011-07-08 | 13 | -88/+117 |
| | |||||
* | bugfix: subranges in generics properly detected | Araq | 2011-06-29 | 1 | -2/+4 |
| | |||||
* | tests are green again | Araq | 2011-06-28 | 1 | -4/+5 |
| | |||||
* | importCompilerProc pragma introduced because the hacks for typeinfo.nim did ↵ | Araq | 2011-06-27 | 5 | -11/+26 |
| | | | | not suffice | ||||
* | second attempt to fix code gen for pegs.nim | Araq | 2011-06-26 | 2 | -5/+1 |
| |