Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *Pimped up* the test runner with colorful output | Zahary Karadjov | 2011-10-07 | 2 | -7/+39 |
| | | | | Added: terminal.styledEcho macro | ||||
* | Cleaned up the circular dependecies and remaining issues | Zahary Karadjov | 2011-10-07 | 3 | -41/+28 |
| | | | | Changed: The []= operator for strings and sequences is now capable of splicing | ||||
* | Basic unit testing facilities (suites, fixtures, cases) | Zahary Karadjov | 2011-10-07 | 3 | -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 ↵ | Araq | 2011-10-07 | 3 | -12/+25 |
| | | | | evaluation | ||||
* | bugfix: $ escaping in interpolatedFragments | Araq | 2011-09-26 | 1 | -6/+12 |
| | |||||
* | bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments ↵ | Araq | 2011-09-26 | 4 | -100/+80 |
| | | | | optimized; tstringinterp.nim now works | ||||
* | sockets.recv optimizations; stdlib now supports taint mode | Araq | 2011-09-24 | 11 | -73/+86 |
| | |||||
* | renamed optional to discardable | Araq | 2011-09-24 | 6 | -39/+49 |
| | |||||
* | more fixes to get rid of tyPureObject | Araq | 2011-09-24 | 2 | -3/+3 |
| | |||||
* | got rid of akPureObject | Araq | 2011-09-24 | 2 | -7/+6 |
| | |||||
* | got rid of tyPureObject; broke bootstrapping; use generated C code | Araq | 2011-09-24 | 4 | -9/+8 |
| | |||||
* | Merge branch 'master' of git@github.com:Araq/Nimrod | Araq | 2011-09-24 | 6 | -5/+40 |
|\ | |||||
| * | Fixed string concatenation and other bugs in the JS backend. Fixed a small ↵ | dom96 | 2011-09-23 | 6 | -5/+40 |
| | | | | | | | | bug in the IRC module. | ||||
* | | beginning of a taint mode; type system enhancements | Araq | 2011-09-24 | 6 | -81/+97 |
|/ | |||||
* | fixed some newly introduced bugs | Araq | 2011-09-21 | 3 | -17/+19 |
| | |||||
* | using statement (ala C#) implemented as macro (added as test). | Zahary Karadjov | 2011-09-20 | 1 | -29/+40 |
| | | | | simplified the usage of the interpolatedFragments iterator. | ||||
* | Moved the parseAST magics to evals.nim | Zahary Karadjov | 2011-09-20 | 2 | -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 Karadjov | 2011-09-20 | 1 | -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 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 | -0/+33 |
| | |||||
* | Merge branch 'master' of github.com:Araq/Nimrod | Araq | 2011-09-20 | 2 | -63/+319 |
|\ | |||||
| * | lib/wrappers/sphinx.nim: fix typo, use 'shpinx' instead of 'sphinx' | Keita Haga | 2011-09-09 | 1 | -63/+63 |
| | | |||||
| * | Some improvements relating to the IRC module. | dom96 | 2011-09-04 | 1 | -14/+16 |
| | | |||||
| * | Added IRC module. | dom96 | 2011-09-04 | 1 | -0/+254 |
| | | |||||
* | | bugfixes for generics; new threads implementation still broken | Araq | 2011-09-20 | 4 | -31/+39 |
|/ | |||||
* | Merge branch 'master' of git@github.com:Araq/Nimrod | Araq | 2011-08-29 | 1 | -53/+53 |
|\ | |||||
| * | lib/pure/strutils.nim: fix doc comment for splitLines | Keita Haga | 2011-08-25 | 1 | -53/+53 |
| | | |||||
* | | added actors.nim file; compiler not up for this task | Araq | 2011-08-29 | 1 | -0/+184 |
| | | |||||
* | | new actors implementation for nimrod; compiler's generics still not up for ↵ | Araq | 2011-08-29 | 5 | -169/+85 |
| | | | | | | | | the task though | ||||
* | | attempt to fix tester.nim file handle leak | Araq | 2011-08-29 | 1 | -0/+0 |
|/ | |||||
* | bugfix: fixed built-in 'reset' | Araq | 2011-08-20 | 1 | -2/+2 |
| | |||||
* | more occurences of 'pure' proc pragma fixed | Araq | 2011-08-20 | 2 | -27/+28 |
| | |||||
* | locks now in their own core module | Araq | 2011-08-20 | 3 | -119/+163 |
| | |||||
* | 'pure' is now 'noStackFrame' for procs | Araq | 2011-08-19 | 1 | -6/+6 |
| | |||||
* | implemented --nimcache config option; big clean up of magic words | Araq | 2011-08-19 | 1 | -0/+15 |
| | |||||
* | Merge pull request #51 from keitahaga/fix-typo | Araq | 2011-08-16 | 1 | -46/+46 |
|\ | | | | | Fix typo in cgi module; many thanks to keitahaga | ||||
| * | lib/pure/cgi.nim: fix typo 'passwort' instead of 'password' | Keita Haga | 2011-08-17 | 1 | -46/+46 |
| | | |||||
* | | finally got rid of nkPassAsOpenArray | Araq | 2011-08-16 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of git@github.com:Araq/Nimrod | Araq | 2011-08-15 | 1 | -37/+37 |
|\ | |||||
| * | lib/pure/terminal.nim: fixed bug where the styleReverse doesn't work on ↵ | Keita Haga | 2011-08-16 | 1 | -37/+37 |
| | | | | | | | | Unix-like systems | ||||
* | | added xmltree.innerText; fixes #49 | Araq | 2011-08-15 | 1 | -1/+10 |
|/ | |||||
* | bugfix: running for threads | Araq | 2011-08-12 | 1 | -1/+1 |
| | |||||
* | added system.running for threads | Araq | 2011-08-11 | 1 | -0/+8 |
| | |||||
* | added system.slurp for easy embedding of resources | Araq | 2011-08-10 | 2 | -1/+23 |
| | |||||
* | modifyable results for generics; teventemitter works | Araq | 2011-08-09 | 4 | -18/+65 |
| | |||||
* | json code generation works again | Araq | 2011-08-07 | 2 | -5/+6 |
| | |||||
* | support for C++ code generation; importcpp and importobjc pragmas | Araq | 2011-08-07 | 1 | -4/+4 |
| | |||||
* | Fixed osproc.terminate for posix and improved some other osproc posix functions. | dom96 | 2011-08-03 | 1 | -10/+19 |
| | |||||
* | preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵ | Araq | 2011-07-31 | 2 | -1/+4 |
| | | | | generated C code) | ||||
* | fixed typo in events.nim; last commit fixed #39 | Araq | 2011-07-28 | 1 | -2/+2 |
| |