Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `do' keyword in the grammar for lambda blocks | Zahary Karadjov | 2012-02-10 | 1 | -1/+1 |
| | |||||
* | further steps for closure support | Araq | 2012-02-08 | 1 | -1/+2 |
| | |||||
* | further steps to closure support | Araq | 2012-02-06 | 1 | -2/+12 |
| | |||||
* | bugfix: tests/reject/tnoinst.nim is now rejected properly | Araq | 2012-01-13 | 1 | -0/+2 |
| | |||||
* | removed '^ deprecated' message | Araq | 2012-01-10 | 1 | -3/+1 |
| | |||||
* | implicit invokation of items/pairs iterators | Araq | 2012-01-08 | 1 | -1/+2 |
| | |||||
* | year 2012 for most copyright headers | Araq | 2012-01-02 | 1 | -1/+1 |
| | |||||
* | codegen uses alias analysis to generate better code | Araq | 2011-12-10 | 1 | -6/+0 |
| | |||||
* | alias analysis as required for the code gen and the HLO | Araq | 2011-12-08 | 1 | -22/+12 |
| | |||||
* | 'assert' is now implemented without compiler magic | Araq | 2011-12-04 | 1 | -0/+6 |
| | |||||
* | implemented 'let' statement | Araq | 2011-11-29 | 1 | -1/+2 |
| | |||||
* | bugfix: 'when' sections in generic objects now work, so TThread[void] compiles | Araq | 2011-11-20 | 1 | -5/+6 |
| | |||||
* | macros and templates can be expanded anywhere where a type is expected. | Zahary Karadjov | 2011-11-18 | 1 | -22/+21 |
| | | | | | This allows for various type selection algorithms to be implemented. See tests / accept / compile / ttypeselectors.nim for examples. | ||||
* | bugfix: s[1..n] = @[] produced wrong C code | Araq | 2011-11-14 | 1 | -4/+13 |
| | |||||
* | fixes #59 | Araq | 2011-11-02 | 1 | -0/+3 |
| | |||||
* | better code generation for constant aggregates | Araq | 2011-11-02 | 1 | -12/+10 |
| | |||||
* | compilation cache: slurped files are a dependency too | Araq | 2011-10-30 | 1 | -1/+3 |
| | |||||
* | compilation cache: various bugfixes; works for the compiler itself | Araq | 2011-10-27 | 1 | -4/+2 |
| | |||||
* | compilation cache: mostly working; generics not yet | Araq | 2011-10-25 | 1 | -3/+6 |
| | |||||
* | 'bind' as a declarative statement | Araq | 2011-10-10 | 1 | -1/+2 |
| | |||||
* | new syntactic construct: a{i} | Araq | 2011-10-08 | 1 | -6/+12 |
| | |||||
* | slurp uses path; unidecode is improved and threadsafe | Araq | 2011-10-08 | 1 | -1/+1 |
| | |||||
* | Cleaned up the circular dependecies and remaining issues | Zahary Karadjov | 2011-10-07 | 1 | -20/+5 |
| | | | | Changed: The []= operator for strings and sequences is now capable of splicing | ||||
* | getAst works correctly with existing AST values as template/macro arguments | Zahary Karadjov | 2011-10-07 | 1 | -11/+37 |
| | |||||
* | code generator supports constant sequences; more consistent compile time ↵ | Araq | 2011-10-07 | 1 | -21/+23 |
| | | | | evaluation | ||||
* | bugfix: overloading resolution for typeof | Araq | 2011-09-27 | 1 | -6/+8 |
| | |||||
* | renamed optional to discardable | Araq | 2011-09-24 | 1 | -1/+1 |
| | |||||
* | implemented optional pragma for implicit discard | Araq | 2011-09-24 | 1 | -2/+4 |
| | |||||
* | l-values are preserved modulo type distinction | Araq | 2011-09-24 | 1 | -0/+4 |
| | |||||
* | beginning of a taint mode; type system enhancements | Araq | 2011-09-24 | 1 | -1/+1 |
| | |||||
* | fixed some newly introduced bugs | Araq | 2011-09-21 | 1 | -4/+3 |
| | |||||
* | using statement (ala C#) implemented as macro (added as test). | Zahary Karadjov | 2011-09-20 | 1 | -1/+1 |
| | | | | simplified the usage of the interpolatedFragments iterator. | ||||
* | Moved the parseAST magics to evals.nim | Zahary Karadjov | 2011-09-20 | 1 | -36/+6 |
| | | | | | | | | | | | | | | 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. | ||||
* | Quick Fix: | Zahary Karadjov | 2011-09-20 | 1 | -1/+1 |
| | | | | | | | | | | | Constant expressions used in when statements and tuple indexing are properly evaluated now Even further step tested to be OK: ```nimrod proc semConstExpr(c: PContext, n: PNode): PNode = result = semAndEvalConstExpr(c, n) ``` | ||||
* | Initial implementation of the parseExpr, parseStmt, getAst macro routines: | Zahary Karadjov | 2011-09-20 | 1 | -12/+64 |
| | | | | | | | | | | | | | | | | | | 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/+7 |
| | |||||
* | bugfixes for generics; new threads implementation still broken | Araq | 2011-09-20 | 1 | -2/+3 |
| | |||||
* | finally got rid of nkPassAsOpenArray | Araq | 2011-08-16 | 1 | -2/+1 |
| | |||||
* | added system.slurp for easy embedding of resources | Araq | 2011-08-10 | 1 | -0/+16 |
| | |||||
* | support for C++ code generation; importcpp and importobjc pragmas | Araq | 2011-08-07 | 1 | -1/+1 |
| | |||||
* | 'var T' for iterators | Araq | 2011-07-31 | 1 | -0/+9 |
| | |||||
* | void type for generics | Araq | 2011-07-31 | 1 | -10/+0 |
| | |||||
* | 'is' operator for generic code | Araq | 2011-07-31 | 1 | -16/+7 |
| | |||||
* | preparation for new 'is' operator; breaks bootstrapping again, sorry (use ↵ | Araq | 2011-07-31 | 1 | -2/+22 |
| | | | | generated C code) | ||||
* | bugfix: 'final' not passed to generic | Araq | 2011-07-29 | 1 | -1/+1 |
| | |||||
* | bugfixes; step one for 'var T' as return type support | Araq | 2011-07-28 | 1 | -23/+65 |
| | |||||
* | old pointer deref operator completely removed | Araq | 2011-07-23 | 1 | -2/+2 |
| | |||||
* | bugfix: 'set' overloadable; further steps for multi threading support | Araq | 2011-07-08 | 1 | -26/+25 |
| | |||||
* | bugfix: shallowCopy should not break bootstrapping anymore; encodings.nim ↵ | Araq | 2011-06-21 | 1 | -5/+9 |
| | | | | for windows improved | ||||
* | zipfiles compiles again; added system.shallowCopy | Araq | 2011-06-20 | 1 | -66/+139 |
| |