summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* *Pimped up* the test runner with colorful outputZahary Karadjov2011-10-072-7/+39
| | | | Added: terminal.styledEcho macro
* Cleaned up the circular dependecies and remaining issuesZahary Karadjov2011-10-073-41/+28
| | | | Changed: The []= operator for strings and sequences is now capable of splicing
* Basic unit testing facilities (suites, fixtures, cases)Zahary Karadjov2011-10-073-7/+187
| | | | | | | | 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-073-12/+25
| | | | evaluation
* bugfix: $ escaping in interpolatedFragmentsAraq2011-09-261-6/+12
|
* bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments ↵Araq2011-09-264-100/+80
| | | | optimized; tstringinterp.nim now works
* sockets.recv optimizations; stdlib now supports taint modeAraq2011-09-2411-73/+86
|
* renamed optional to discardableAraq2011-09-246-39/+49
|
* more fixes to get rid of tyPureObjectAraq2011-09-242-3/+3
|
* got rid of akPureObjectAraq2011-09-242-7/+6
|
* got rid of tyPureObject; broke bootstrapping; use generated C codeAraq2011-09-244-9/+8
|
* Merge branch 'master' of git@github.com:Araq/NimrodAraq2011-09-246-5/+40
|\
| * Fixed string concatenation and other bugs in the JS backend. Fixed a small ↵dom962011-09-236-5/+40
| | | | | | | | bug in the IRC module.
* | beginning of a taint mode; type system enhancementsAraq2011-09-246-81/+97
|/
* fixed some newly introduced bugsAraq2011-09-213-17/+19
|
* using statement (ala C#) implemented as macro (added as test).Zahary Karadjov2011-09-201-29/+40
| | | | simplified the usage of the interpolatedFragments iterator.
* Moved the parseAST magics to evals.nimZahary Karadjov2011-09-202-2/+98
| | | | | | | | | | | | | | 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.
* Some very small steps towards an uuid generation module.Zahary Karadjov2011-09-201-0/+30
| | | | I did some basic research on cross-platform UUID generation and didn't want to lose any information, so this code only represents what I learned (uuidMacTime should work tho).
* 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-0/+33
|
* Merge branch 'master' of github.com:Araq/NimrodAraq2011-09-202-63/+319
|\
| * lib/wrappers/sphinx.nim: fix typo, use 'shpinx' instead of 'sphinx'Keita Haga2011-09-091-63/+63
| |
| * Some improvements relating to the IRC module.dom962011-09-041-14/+16
| |
| * Added IRC module.dom962011-09-041-0/+254
| |
* | bugfixes for generics; new threads implementation still brokenAraq2011-09-204-31/+39
|/
* Merge branch 'master' of git@github.com:Araq/NimrodAraq2011-08-291-53/+53
|\
| * lib/pure/strutils.nim: fix doc comment for splitLinesKeita Haga2011-08-251-53/+53
| |
* | added actors.nim file; compiler not up for this taskAraq2011-08-291-0/+184
| |
* | new actors implementation for nimrod; compiler's generics still not up for ↵Araq2011-08-295-169/+85
| | | | | | | | the task though
* | attempt to fix tester.nim file handle leakAraq2011-08-291-0/+0
|/
* bugfix: fixed built-in 'reset'Araq2011-08-201-2/+2
|
* more occurences of 'pure' proc pragma fixedAraq2011-08-202-27/+28
|
* locks now in their own core moduleAraq2011-08-203-119/+163
|
* 'pure' is now 'noStackFrame' for procsAraq2011-08-191-6/+6
|
* implemented --nimcache config option; big clean up of magic wordsAraq2011-08-191-0/+15
|
* Merge pull request #51 from keitahaga/fix-typoAraq2011-08-161-46/+46
|\ | | | | Fix typo in cgi module; many thanks to keitahaga
| * lib/pure/cgi.nim: fix typo 'passwort' instead of 'password'Keita Haga2011-08-171-46/+46
| |
* | finally got rid of nkPassAsOpenArrayAraq2011-08-161-1/+1
|/
* Merge branch 'master' of git@github.com:Araq/NimrodAraq2011-08-151-37/+37
|\
| * lib/pure/terminal.nim: fixed bug where the styleReverse doesn't work on ↵Keita Haga2011-08-161-37/+37
| | | | | | | | Unix-like systems
* | added xmltree.innerText; fixes #49Araq2011-08-151-1/+10
|/
* bugfix: running for threadsAraq2011-08-121-1/+1
|
* added system.running for threadsAraq2011-08-111-0/+8
|
* added system.slurp for easy embedding of resourcesAraq2011-08-102-1/+23
|
* modifyable results for generics; teventemitter worksAraq2011-08-094-18/+65
|
* json code generation works againAraq2011-08-072-5/+6
|
* support for C++ code generation; importcpp and importobjc pragmasAraq2011-08-071-4/+4
|
* Fixed osproc.terminate for posix and improved some other osproc posix functions.dom962011-08-031-10/+19
|
* preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵Araq2011-07-312-1/+4
| | | | generated C code)
* fixed typo in events.nim; last commit fixed #39Araq2011-07-281-2/+2
|