summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 'bind' as a declarative statementAraq2011-10-102-0/+15
|
* new syntactic construct: a{i}Araq2011-10-081-1/+2
|
* slurp uses path; unidecode is improved and threadsafeAraq2011-10-081-0/+9
|
* Basic unit testing facilities (suites, fixtures, cases)Zahary Karadjov2011-10-071-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 ↵Araq2011-10-071-1/+0
| | | | evaluation
* bugfix: overloading resolution for typeofAraq2011-09-271-0/+7
|
* bugfix: $ escaping in interpolatedFragmentsAraq2011-09-261-6/+10
|
* bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments ↵Araq2011-09-261-10/+7
| | | | optimized; tstringinterp.nim now works
* renamed optional to discardableAraq2011-09-241-3/+3
|
* implemented optional pragma for implicit discardAraq2011-09-241-0/+13
|
* more fixes to get rid of tyPureObjectAraq2011-09-241-4/+4
|
* fixed some newly introduced bugsAraq2011-09-212-22/+59
|
* using statement (ala C#) implemented as macro (added as test).Zahary Karadjov2011-09-202-18/+109
| | | | simplified the usage of the interpolatedFragments iterator.
* Moved the parseAST magics to evals.nimZahary Karadjov2011-09-201-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 Karadjov2011-09-201-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 libraryZahary Karadjov2011-09-201-20/+3
|
* attempt to fix tester.nim file handle leakAraq2011-08-291-0/+1
|
* more occurences of 'pure' proc pragma fixedAraq2011-08-201-1/+1
|
* locks now in their own core moduleAraq2011-08-203-8/+2
|
* small bugfix for evalAraq2011-08-191-0/+27
|
* inlining of 'var openarray' iterators now workAraq2011-08-181-1/+1
|
* added xmltree.innerText; fixes #49Araq2011-08-151-0/+66
|
* further tests for var T result type; ttables test now fails :-(Araq2011-08-101-0/+3
|
* added system.slurp for easy embedding of resourcesAraq2011-08-101-0/+6
|
* modifyable results for generics; teventemitter worksAraq2011-08-091-7/+10
|
* fixes #35, fixes #43Araq2011-08-081-3/+5
|
* json code generation works againAraq2011-08-072-5/+7
|
* support for C++ code generation; importcpp and importobjc pragmasAraq2011-08-071-0/+4
|
* fixes #42Araq2011-08-041-0/+35
|
* anonymous procs implemented; however no closure support yetAraq2011-08-011-0/+12
|
* documentation for 'var T' as return typeAraq2011-08-011-4/+6
|
* 'var T' for iteratorsAraq2011-07-311-0/+29
|
* void type improvements; documentation improvementsAraq2011-07-312-8/+25
|
* void type for genericsAraq2011-07-311-0/+13
|
* 'is' operator for generic codeAraq2011-07-311-0/+13
|
* preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵Araq2011-07-312-3/+3
| | | | generated C code)
* Merge branch 'master' of git@github.com:Araq/NimrodAraq2011-07-301-28/+28
|\
| * tests/tester.nim: HTML-encode the expected results and actual results before ↵Keita Haga2011-07-301-28/+28
| | | | | | | | writing them out
* | bugfix: forwarding of generic procs now worksAraq2011-07-301-0/+11
|/
* bugfix: 'final' not passed to genericAraq2011-07-293-17/+18
|
* Merge pull request #41 from Amrykid/masterAraq2011-07-271-3/+3
|\ | | | | Updated events.nim
| * Renamed new* to init*.Amrykid2011-07-271-2/+2
| | | | | | | | | | | | | | Added example code for documentation. Fixed a small documentation issue. Rewrote newEventEmitter... Updated test.
| * Updated events.nim to use TEventEmitter instead of PEventEmitter.Amrykid2011-07-271-1/+1
| |
* | bugfixes; step one for 'var T' as return type supportAraq2011-07-285-0/+91
|/
* bugfixes; added events module, sequtils moduleAraq2011-07-262-0/+103
|
* old pointer deref operator completely removedAraq2011-07-232-0/+68
|
* tests repaired; serious typo in the allocator fixed; fixes #32Araq2011-07-224-5/+5
|
* bugfix: proper cache for generic instantiationsAraq2011-07-211-0/+19
|
* first steps to explicit channels for thread communication; added mainThreadIdAraq2011-07-161-5/+3
|
* preparations for 0.8.12Araq2011-07-1043-3/+64
|