Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make more tests green | Zahary Karadjov | 2013-12-29 | 1 | -6/+4 |
| | |||||
* | better integration of tyStatic into typeRel | Zahary Karadjov | 2013-12-25 | 1 | -1/+1 |
| | |||||
* | static params: expr[T] is now static[T] | Zahary Karadjov | 2013-12-19 | 1 | -3/+4 |
| | | | | | | | This introduces tyStatic and successfully bootstraps and handles few simple test cases. Static params within macros are no longer treated as PNimrodNodes - they are now equivalent to constants of the designated type. | ||||
* | fixes #708 | Zahary Karadjov | 2013-12-07 | 1 | -3/+1 |
| | | | | | | | It's unclear to me why for variables were treated as globals. This is likely to cause many problems, but in this particular case it was breaking the unittest/insepectArgs recursive function (the for loop variable has a different value in each stack frame) | ||||
* | support for multiple modules of the same name; niminst supports 'platforms'; ↵ | Araq | 2013-09-24 | 1 | -8/+11 |
| | | | | minor bugfixes | ||||
* | Add arity typetrait | Mark Flamer | 2013-09-02 | 1 | -0/+4 |
| | |||||
* | prevent eval crashes due to PContext-dependent ops not being available in ↵ | Zahary Karadjov | 2013-08-25 | 1 | -8/+1 |
| | | | | evalConstExpr | ||||
* | working code for simple cases of user-defined type classes | Zahary Karadjov | 2013-08-25 | 1 | -29/+3 |
| | |||||
* | pass-through of static int generic params to arrays when late instantiation ↵ | Zahary Karadjov | 2013-08-23 | 1 | -2/+1 |
| | | | | is disabled | ||||
* | Experimental support for delayed instantiation of generics | Zahary Karadjov | 2013-08-23 | 1 | -12/+10 |
| | | | | | | | | | | | | | | | | | | | | This postpones the semantic pass over the generic's body until the generic is instantiated. There are several pros and cons for this method and the capabilities that it enables may still be possible in the old framework if we teach it a few new trick. Such an attempt will follow in the next commits. pros: 1) It allows macros to be expanded during generic instantiation that will provide the body of the generic. See ``tmacrogenerics``. 2) The instantiation code is dramatically simplified. Dealing with unknown types in the generic's body pre-pass requires a lot of hacky code and error silencing in semTypeNode. See ``tgenericshardcases``. cons: 1) There is a performance penalty of roughly 5% when bootstrapping. 2) Certain errors that used to be detected in the previous pre-pass won't be detected with the new scheme until instantiation. | ||||
* | fixes token's column information | Araq | 2013-07-30 | 1 | -9/+2 |
| | |||||
* | added macros.genSym | Araq | 2013-07-24 | 1 | -0/+10 |
| | |||||
* | 'modules' module from 'main'; minor bugfixes | Araq | 2013-07-20 | 1 | -1/+0 |
| | |||||
* | refactorings for the eval engine; bugfix: clean templates as accessors | Araq | 2013-07-19 | 1 | -140/+114 |
| | |||||
* | fixes lots of regressions | Araq | 2013-06-29 | 1 | -5/+6 |
| | |||||
* | bugfix: typo | Araq | 2013-06-29 | 1 | -1/+1 |
| | |||||
* | got rid of debug calls | Araq | 2013-06-28 | 1 | -3/+1 |
| | |||||
* | some small performance improvement for the evaluator | Araq | 2013-06-28 | 1 | -36/+53 |
| | |||||
* | small REPL improvements | Araq | 2013-06-28 | 1 | -4/+5 |
| | |||||
* | var tuple unpacking works at compile time | Araq | 2013-06-28 | 1 | -30/+41 |
| | |||||
* | fixes #399 | Araq | 2013-05-18 | 1 | -1/+2 |
| | |||||
* | Update evals.nim | Billingsly Wetherfordshire | 2013-04-25 | 1 | -2/+2 |
| | |||||
* | fixes #368 | Araq | 2013-04-08 | 1 | -2/+4 |
| | |||||
* | bugfix evals.nim | Araq | 2013-04-07 | 1 | -2/+3 |
| | |||||
* | optimized evals.nim a bit | Araq | 2013-04-07 | 1 | -8/+8 |
| | |||||
* | Removes executable bit for text files. | Grzegorz Adam Hankiewicz | 2013-03-16 | 1 | -0/+0 |
| | |||||
* | first steps to implement object construction expressions | Araq | 2013-03-07 | 1 | -7/+25 |
| | |||||
* | made some tests green | Araq | 2013-03-04 | 1 | -3/+3 |
| | |||||
* | don't eval wrong code | Araq | 2013-02-24 | 1 | -1/+7 |
| | |||||
* | micro optimizations for the evaluation engine | Araq | 2013-02-14 | 1 | -29/+41 |
| | |||||
* | merged upstream master | Zahary Karadjov | 2013-01-27 | 1 | -46/+93 |
|\ | |||||
| * | fixes #293 | Araq | 2013-01-08 | 1 | -2/+2 |
| | | |||||
| * | next steps for FFI at compile time | Araq | 2013-01-02 | 1 | -8/+15 |
| | | |||||
| * | fixed a newly introduced c2nim bug; many untested improvements to the FFI at ↵ | Araq | 2012-12-31 | 1 | -4/+25 |
| | | | | | | | | compile time | ||||
| * | small examples work with the FFI | Araq | 2012-12-19 | 1 | -9/+8 |
| | | |||||
| * | first steps for FFI support at compile time | Araq | 2012-12-19 | 1 | -38/+58 |
| | | |||||
* | | CaaS in-memory caching | Zahary Karadjov | 2012-11-28 | 1 | -5/+4 |
| | | | | | | | | | | removed some redundant filepath params and variables and switched to canonical paths in most places | ||||
* | | caas is now drivable through stdin | Zahary Karadjov | 2012-11-28 | 1 | -5/+1 |
|/ | | | | | * added idetools --eval * streams.readLine recognises and applies the backspace character | ||||
* | next steps for first class iterators | Araq | 2012-11-26 | 1 | -1/+7 |
| | |||||
* | AST quasi-quoting for macros | Zahary Karadjov | 2012-11-11 | 1 | -1/+1 |
| | |||||
* | syntax compatibility between do blocks and stmt blocks | Zahary Karadjov | 2012-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | | See the section `do notation` in the manual for more info. * nkMacroStmt has been removed Macro statements are now mapped to regular nkCall nodes. The support for additional clauses (such as else, except, of, etc) have been restored - they will now appear as additional arguments for the nkCall node (as nkElse, nkExcept, etc nodes) * fixed some regressions in the `is` operator and semCompiles | ||||
* | next steps for 'compiler as a service' | Araq | 2012-10-03 | 1 | -1/+1 |
| | |||||
* | experimental support for querying the type of expressions within macros | Zahary Karadjov | 2012-10-03 | 1 | -2/+7 |
| | | | | normalised the line endings of macros.nim (minor edits otherwise) | ||||
* | the `is` operator now works with type classes and type variables | Zahary Karadjov | 2012-10-03 | 1 | -1/+25 |
| | | | | | bugfixes: the DLL tests were failing on Mac OS X, due to an incorrect DynlibFormat | ||||
* | improved support for typedesc values | Zahary Karadjov | 2012-09-25 | 1 | -3/+5 |
| | | | | | * can be stored in constants and variables (including in containers like sequences) * can be passed to and returned from macros | ||||
* | type trais used to work only on user-defined types. see #202 | Zahary Karadjov | 2012-09-13 | 1 | -2/+1 |
| | |||||
* | parameter passing works the same for macros and templates; use callsite ↵ | Araq | 2012-08-28 | 1 | -11/+33 |
| | | | | magic to access the invokation AST | ||||
* | bindSym suffices; no 'bind' for macros anymore | Araq | 2012-08-25 | 1 | -38/+5 |
| | |||||
* | implemented 'bind' for macros | Araq | 2012-08-24 | 1 | -0/+36 |
| | |||||
* | next steps to hygienic templates | Araq | 2012-08-20 | 1 | -2/+2 |
| |