summary refs log tree commit diff stats
path: root/compiler/semtypinst.nim
Commit message (Collapse)AuthorAgeFilesLines
* 'noStackFrame' implies 'naked' in the generated C codeAraq2013-10-061-0/+1
|
* minor improvement towards tgenericshardcasesZahary Karadjov2013-08-281-2/+6
|
* pass-through of static int generic params to arrays when late instantiation ↵Zahary Karadjov2013-08-231-0/+6
| | | | is disabled
* Experimental support for delayed instantiation of genericsZahary Karadjov2013-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | 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.
* implemented large parts of the 'not nil' checkingAraq2013-06-091-0/+2
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* remove any traces of the old global generics cacheZahary Karadjov2013-01-271-67/+48
|
* minor bug fixes to make some tests greenZahary Karadjov2013-01-211-1/+0
|
* store the instantiation cache in the generic symbolZahary Karadjov2012-11-281-24/+32
|
* fixes #211Zahary Karadjov2012-10-131-0/+4
| | | | transf: fix a clang compilation error when lineDir:on is used
* syntax compatibility between do blocks and stmt blocksZahary Karadjov2012-10-041-1/+2
| | | | | | | | | | | | 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
* the `is` operator now works with type classes and type variablesZahary Karadjov2012-10-031-1/+2
| | | | | bugfixes: the DLL tests were failing on Mac OS X, due to an incorrect DynlibFormat
* better error handling for better idetools supportAraq2012-07-291-1/+2
|
* more fixes for new integer promotion rules; fixes #152; fixes #157; fixes ↵Araq2012-07-091-6/+0
| | | | #156; fixes #155
* 'addSon' for types deprecated for 'int literal type' analysisAraq2012-07-091-3/+5
|
* implicit generics types as return types. removed the error message for ↵Zahary Karadjov2012-04-211-1/+2
| | | | capturing incorrect uses of ``proc``
* made built-in types primary expressions to allow infix operators to be used ↵Zahary Karadjov2012-04-201-1/+2
| | | | with them
* generic types can be used like type classes. distinct can be applied to type ↵Zahary Karadjov2012-03-251-0/+1
| | | | classes.
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* bugfix: 'when' sections in generic objects now work, so TThread[void] compilesAraq2011-11-201-16/+46
|
* compilation cache: various bugfixes; works for the compiler itselfAraq2011-10-271-1/+2
|
* compilation cache: mostly working; generics not yetAraq2011-10-251-5/+5
|
* bugfixes for generics; new threads implementation still brokenAraq2011-09-201-30/+70
|
* added xmltree.innerText; fixes #49Araq2011-08-151-4/+11
|
* support for C++ code generation; importcpp and importobjc pragmasAraq2011-08-071-2/+0
|
* fixes #42Araq2011-08-041-29/+39
|
* bugfix: 'final' not passed to genericAraq2011-07-291-7/+8
|
* bugfix: typeinfo generation for tuplesAraq2011-06-191-5/+5
|
* big repo cleanupAraq2011-04-121-0/+151