summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request #41 from Amrykid/masterAraq2011-07-271-23/+36
|\ | | | | Updated events.nim
| * Removed 'unnecessary' whitespace.Amrykid2011-07-271-4/+4
| |
| * Renamed new* to init*.Amrykid2011-07-271-9/+24
| | | | | | | | | | | | | | Added example code for documentation. Fixed a small documentation issue. Rewrote newEventEmitter... Updated test.
| * Small edit to documentation.Amrykid2011-07-271-4/+2
| |
| * Updated events.nim to use TEventEmitter instead of PEventEmitter.Amrykid2011-07-271-18/+18
| |
* | bugfixes; step one for 'var T' as return type supportAraq2011-07-284-7/+19
|/
* bugfixes; added events module, sequtils moduleAraq2011-07-263-5/+151
|
* doc improvements; added lazarus exampleAraq2011-07-241-3/+3
|
* tests repaired; serious typo in the allocator fixed; fixes #32Araq2011-07-223-1/+8
|
* bugfix: proper cache for generic instantiationsAraq2011-07-219-347/+117
|
* shared untraced heap; bugfix: mem corruptions in message passing codeAraq2011-07-186-81/+136
|