Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | got rid of 'accept' dir in the tests | Araq | 2011-11-19 | 261 | -8857/+0 |
| | |||||
* | fixed some tests | Araq | 2011-11-19 | 10 | -64/+60 |
| | |||||
* | macros and templates can be expanded anywhere where a type is expected. | Zahary Karadjov | 2011-11-18 | 1 | -0/+39 |
| | | | | | This allows for various type selection algorithms to be implemented. See tests / accept / compile / ttypeselectors.nim for examples. | ||||
* | bugfixes: objects still invalid for constants; fixed a typo concerning ↵ | Araq | 2011-11-15 | 1 | -1/+1 |
| | | | | 'high' in eval context | ||||
* | Merge branch 'master' of github.com:Araq/Nimrod | Araq | 2011-11-12 | 1 | -47/+0 |
|\ | |||||
| * | when running unit tests, the tester will print only failures using colorless ↵ | Zahary Karadjov | 2011-11-10 | 1 | -47/+0 |
| | | | | | | | | output (this should be better for nimbuild) | ||||
* | | added another test case | Araq | 2011-11-12 | 1 | -0/+10 |
|/ | |||||
* | GC tests now finally part of testsuite | Araq | 2011-11-10 | 1 | -5/+5 |
| | |||||
* | operator precedence changed: assignment like operators are supported; ↵ | Araq | 2011-11-09 | 1 | -0/+11 |
| | | | | escaping of operators with \ is supported | ||||
* | bugfixes for the tester; the tester now supports running of single tests | Araq | 2011-11-08 | 8 | -2/+8 |
| | |||||
* | fixes #2 | Araq | 2011-11-02 | 1 | -3/+0 |
| | |||||
* | small bugfixes to make more tests green | Araq | 2011-11-02 | 3 | -3/+7 |
| | |||||
* | DLL generation may work again | Araq | 2011-11-02 | 2 | -0/+19 |
| | |||||
* | splicing tested and documented | Araq | 2011-10-28 | 1 | -0/+16 |
| | |||||
* | eval context for macros lives as long as the current module is compiled | Araq | 2011-10-28 | 1 | -0/+19 |
| | |||||
* | compilation cache: mostly working; generics not yet | Araq | 2011-10-25 | 2 | -0/+22 |
| | |||||
* | 'bind' as a declarative statement | Araq | 2011-10-10 | 2 | -0/+15 |
| | |||||
* | new syntactic construct: a{i} | Araq | 2011-10-08 | 1 | -1/+2 |
| | |||||
* | slurp uses path; unidecode is improved and threadsafe | Araq | 2011-10-08 | 1 | -0/+9 |
| | |||||
* | Basic unit testing facilities (suites, fixtures, cases) | Zahary Karadjov | 2011-10-07 | 1 | -0/+47 |
| | | | | | | | | Added: PNimrodNode.lineinfo for better error messages from macros Added: seq.splice For easier use from templates and macros, except stament now supports the list of exception types to be supplied in nkBraket node (array literal). | ||||
* | code generator supports constant sequences; more consistent compile time ↵ | Araq | 2011-10-07 | 1 | -1/+0 |
| | | | | evaluation | ||||
* | bugfix: overloading resolution for typeof | Araq | 2011-09-27 | 1 | -0/+7 |
| | |||||
* | bugfix: $ escaping in interpolatedFragments | Araq | 2011-09-26 | 1 | -6/+10 |
| | |||||
* | bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments ↵ | Araq | 2011-09-26 | 1 | -10/+7 |
| | | | | optimized; tstringinterp.nim now works | ||||
* | renamed optional to discardable | Araq | 2011-09-24 | 1 | -3/+3 |
| | |||||
* | implemented optional pragma for implicit discard | Araq | 2011-09-24 | 1 | -0/+13 |
| | |||||
* | more fixes to get rid of tyPureObject | Araq | 2011-09-24 | 1 | -4/+4 |
| | |||||
* | fixed some newly introduced bugs | Araq | 2011-09-21 | 2 | -22/+59 |
| | |||||
* | using statement (ala C#) implemented as macro (added as test). | Zahary Karadjov | 2011-09-20 | 2 | -18/+109 |
| | | | | simplified the usage of the interpolatedFragments iterator. | ||||
* | Moved the parseAST magics to evals.nim | Zahary Karadjov | 2011-09-20 | 1 | -0/+82 |
| | | | | | | | | | | | | | | Added string interpolation helper routines in parserutils Added a proof-of-concept string interpolation user-land macros (currently, only as a test case): the interpolated expression could either be transformed to concat("literal string ", $(interpolated), " end") or "literal string $1 end" % [$(interpolated)] Added a very initial definition of Optional[T] generic type A new overload of ParseIdent was added in hope to get around the fact that the old one doesn't work correctly in macros, but the problem persists. | ||||
* | Initial implementation of the parseExpr, parseStmt, getAst macro routines: | Zahary Karadjov | 2011-09-20 | 1 | -2/+16 |
| | | | | | | | | | | | | | | | | | | 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 | 1 | -20/+3 |
| | |||||
* | more occurences of 'pure' proc pragma fixed | Araq | 2011-08-20 | 1 | -1/+1 |
| | |||||
* | locks now in their own core module | Araq | 2011-08-20 | 1 | -2/+2 |
| | |||||
* | small bugfix for eval | Araq | 2011-08-19 | 1 | -0/+27 |
| | |||||
* | inlining of 'var openarray' iterators now work | Araq | 2011-08-18 | 1 | -0/+16 |
| | |||||
* | further tests for var T result type; ttables test now fails :-( | Araq | 2011-08-10 | 1 | -0/+3 |
| | |||||
* | added system.slurp for easy embedding of resources | Araq | 2011-08-10 | 1 | -0/+6 |
| | |||||
* | modifyable results for generics; teventemitter works | Araq | 2011-08-09 | 1 | -7/+10 |
| | |||||
* | fixes #35, fixes #43 | Araq | 2011-08-08 | 1 | -3/+5 |
| | |||||
* | support for C++ code generation; importcpp and importobjc pragmas | Araq | 2011-08-07 | 1 | -0/+4 |
| | |||||
* | fixes #42 | Araq | 2011-08-04 | 1 | -0/+35 |
| | |||||
* | anonymous procs implemented; however no closure support yet | Araq | 2011-08-01 | 1 | -0/+12 |
| | |||||
* | documentation for 'var T' as return type | Araq | 2011-08-01 | 1 | -4/+6 |
| | |||||
* | 'var T' for iterators | Araq | 2011-07-31 | 1 | -0/+29 |
| | |||||
* | void type improvements; documentation improvements | Araq | 2011-07-31 | 2 | -8/+25 |
| | |||||
* | void type for generics | Araq | 2011-07-31 | 1 | -0/+13 |
| | |||||
* | 'is' operator for generic code | Araq | 2011-07-31 | 1 | -0/+13 |
| | |||||
* | preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵ | Araq | 2011-07-31 | 2 | -3/+3 |
| | | | | generated C code) | ||||
* | bugfix: forwarding of generic procs now works | Araq | 2011-07-30 | 1 | -0/+11 |
| |