summary refs log tree commit diff stats
path: root/tests/accept
Commit message (Collapse)AuthorAgeFilesLines
* got rid of 'accept' dir in the testsAraq2011-11-19261-8857/+0
|
* fixed some testsAraq2011-11-1910-64/+60
|
* macros and templates can be expanded anywhere where a type is expected.Zahary Karadjov2011-11-181-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 ↵Araq2011-11-151-1/+1
| | | | 'high' in eval context
* Merge branch 'master' of github.com:Araq/NimrodAraq2011-11-121-47/+0
|\
| * when running unit tests, the tester will print only failures using colorless ↵Zahary Karadjov2011-11-101-47/+0
| | | | | | | | output (this should be better for nimbuild)
* | added another test caseAraq2011-11-121-0/+10
|/
* GC tests now finally part of testsuiteAraq2011-11-101-5/+5
|
* operator precedence changed: assignment like operators are supported; ↵Araq2011-11-091-0/+11
| | | | escaping of operators with \ is supported
* bugfixes for the tester; the tester now supports running of single testsAraq2011-11-088-2/+8
|
* fixes #2Araq2011-11-021-3/+0
|
* small bugfixes to make more tests greenAraq2011-11-023-3/+7
|
* DLL generation may work againAraq2011-11-022-0/+19
|
* splicing tested and documentedAraq2011-10-281-0/+16
|
* eval context for macros lives as long as the current module is compiledAraq2011-10-281-0/+19
|
* compilation cache: mostly working; generics not yetAraq2011-10-252-0/+22
|
* '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
|
* more occurences of 'pure' proc pragma fixedAraq2011-08-201-1/+1
|
* locks now in their own core moduleAraq2011-08-201-2/+2
|
* small bugfix for evalAraq2011-08-191-0/+27
|
* inlining of 'var openarray' iterators now workAraq2011-08-181-0/+16
|
* 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
|
* 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)
* bugfix: forwarding of generic procs now worksAraq2011-07-301-0/+11
|