summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
Commit message (Collapse)AuthorAgeFilesLines
* next steps for closure iteratorsAraq2014-01-221-2/+9
|
* parser support anon iteratorsAraq2014-01-201-2/+6
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-4/+6
|
* fixed #597Zahary Karadjov2014-01-021-1/+1
|
* clean-up some obsolete code; close #602Zahary Karadjov2013-12-311-10/+6
|
* Merge branch 'upstream' into develZahary Karadjov2013-12-291-6/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/ccgutils.nim compiler/msgs.nim compiler/sem.nim compiler/semexprs.nim compiler/seminst.nim compiler/semmagic.nim compiler/semstmts.nim compiler/semtypes.nim compiler/semtypinst.nim compiler/sigmatch.nim compiler/types.nim compiler/vmgen.nim lib/core/macros.nim lib/system.nim tests/reject/tenummix.nim web/news.txt
| * make more tests greenZahary Karadjov2013-12-291-2/+6
| |
* | case consistency: cs:partial bootstraps on windowsAraq2013-12-291-11/+11
| |
* | case consistency: next stepsAraq2013-12-291-6/+6
| |
* | case consistency part 4Araq2013-12-271-76/+76
| |
* | case consistency part 1Araq2013-12-271-5/+5
| |
* | new VM: passes more testsAraq2013-12-061-7/+12
| |
* | Merge branch 'master' into vm2Araq2013-12-051-17/+24
|\| | | | | | | | | Conflicts: compiler/sem.nim
| * fixes #696Araq2013-12-011-0/+2
| |
| * fixes #663Araq2013-11-191-9/+9
| |
| * Merge pull request #680 from Varriount/core/fix-generic-crashesAndreas Rumpf2013-11-191-2/+3
| |\ | | | | | | Prevent lambdas from crashing if given implicit generic parameters.
| | * Prevent lambdas from crashing if given implicit generic parameters.Clay Sweetser2013-11-181-2/+3
| | | | | | | | | | | | Fixes issues #599 and #641 (and possibly other generic-related issues)
| * | simple unit test and better documentation for the user defined type classesZahary Karadjov2013-11-171-6/+10
| |/
* | tcnstseq works againAraq2013-11-071-1/+3
| |
* | compiler bootstraps with new VMAraq2013-10-151-2/+2
|/
* improvements for TR macrosAraq2013-09-171-3/+8
|
* Merge branch 'type-classes' into upstreamZahary Karadjov2013-09-031-2/+9
|\
| * implemented delegators and improved the error messages of unmatched type classesZahary Karadjov2013-08-261-1/+8
| |
| * prevent eval crashes due to PContext-dependent ops not being available in ↵Zahary Karadjov2013-08-251-1/+1
| | | | | | | | evalConstExpr
* | fixes #554, fixes #179Araq2013-08-311-3/+6
| |
* | fixes #578Araq2013-08-301-1/+1
|/
* Experimental support for delayed instantiation of genericsZahary Karadjov2013-08-231-6/+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.
* Revert "Revert "static and default params for generics""Zahary Karadjov2013-08-191-1/+2
| | | | This reverts commit 0662ec4a434f4656b5afc486bc4ebaab82c52da6.
* 'nimrod pretty' usableAraq2013-07-311-1/+1
|
* fixes lots of regressionsAraq2013-06-291-1/+2
|
* var tuple unpacking works at compile timeAraq2013-06-281-5/+6
|
* improvements for 'not nil' checkingAraq2013-06-131-0/+8
|
* implemented large parts of the 'not nil' checkingAraq2013-06-091-1/+1
|
* implemented dataflow analysis; activate via --warning[Uninit]:onAraq2013-06-041-1/+1
|
* fixes #451Araq2013-06-041-1/+3
|
* Revert "static and default params for generics"Araq2013-05-271-2/+1
| | | | This reverts commit 46813bbe4e1423181521d4792b9af7593f48fa1f.
* static and default params for genericsZahary Karadjov2013-05-261-1/+2
|
* made some tests green; implemented 'from module import nil'Araq2013-05-191-3/+5
|
* made some tests greenAraq2013-05-191-1/+2
|
* fixes #433Araq2013-05-181-0/+2
|
* Merge branch 'master' of github.com:Araq/NimrodAraq2013-05-141-46/+84
|\
| * documented the ``noforward`` pragmaZahary Karadjov2013-05-121-2/+3
| |
| * merged the persistent scopes work with the delayed proc compilation strategyZahary Karadjov2013-05-121-13/+50
| |\
| | * added a ``noforward`` pragma that enables a new compilation strategyZahary Karadjov2013-05-111-11/+40
| | | | | | | | | | | | not requiring forward declarations on a per-module basis
| * | final fixes giving us a working compilerZahary Karadjov2013-05-121-3/+2
| | |
| * | get rid of ImportTablePos and ModuleTablePosZahary Karadjov2013-05-121-2/+3
| | |
| * | get rid of the SymTab* procs in astalgoZahary Karadjov2013-05-121-4/+4
| | |
| * | switch to a linked list of scopesZahary Karadjov2013-05-111-28/+28
| |/
* / 'inject' for 'for' loop variablesAraq2013-05-141-3/+7
|/
* Merge branch 'master' into newparserAraq2013-05-071-3/+0
|\