summary refs log tree commit diff stats
path: root/compiler/semtempl.nim
Commit message (Collapse)AuthorAgeFilesLines
* [refactoring] compiler: simplified markUsedAndreas Rumpf2019-08-081-1/+1
|
* [feature] detect unused importsAraq2019-07-171-1/+1
|
* Allow void macro result (#11286)Arne Döring2019-05-211-5/+0
| | | | | * allow void macro result * add test for void macro result type
* Fixes #9365 : let with exportC pragma in template. (#11235)Aditya Siram2019-05-141-0/+6
| | | | | | * Fixes #9365 : let with exportC pragma in template. * Fix according to comments.
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-5/+5
|
* Replace countup(x, y) with x .. yClyybber2019-05-071-4/+4
|
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-14/+14
|
* Fix loop tuple unpacking in templates (#11174)nc-x2019-05-051-1/+5
| | | | | | * Fix loop tuple unpacking in templates * Add test
* callsite lineinfe for stackTrace template (#10785)Arne Döring2019-04-181-3/+5
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-1/+1
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* it's spelt callsiteAndreas Rumpf2019-02-221-2/+3
|
* 32 bit fixes (#10608)Arne Döring2019-02-131-0/+4
|
* compiler/sem*: improve lineinfo for qualified and generic procs (#10427)alaviss2019-01-231-6/+7
| | | | | | | | | | | | | | | | Previously the compiler will believe these are where `newSeq` symbol starts: newSeq[int]() ^ system.newSeq[int]() ^ This commit moves them back to: newSeq[int]() ^ system.newSeq[int]() ^
* nimfind: improvementsAndreas Rumpf2018-11-151-0/+2
|
* added first version of a nimfind tool for the poor souls that don't have a ↵Andreas Rumpf2018-11-141-8/+12
| | | | good nimsuggest integretation
* fixes regressionsAraq2018-10-301-10/+8
|
* fixes unexpected transforming of runnableExamples (#9158)Steve Kellock2018-10-091-1/+3
|
* fixes #8052Araq2018-08-311-1/+1
|
* code cleanup: remove newScopeForIf switchAndreas Rumpf2018-07-041-2/+1
|
* implements a --nep1:on switch to make the compiler enforce the naming ↵Andreas Rumpf2018-06-131-4/+4
| | | | conventions outlined in NEP-1
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-7/+7
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-2/+2
|
* more modules compile againAndreas Rumpf2018-05-121-37/+40
|
* Implement custom annotations (#6987)cooldome2018-01-091-1/+4
|
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-2/+2
|
* minor breaking change: for loop bodies now get their own scopeAndreas Rumpf2017-11-051-0/+2
|
* remove old implementation of the roof operator; make tests green again; ↵Andreas Rumpf2017-10-291-18/+0
| | | | close #6292
* deprecated unary '<'Andreas Rumpf2017-10-291-4/+4
|
* first implementation of the 'func' keywordAndreas Rumpf2017-09-231-0/+2
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-2/+2
|
* fixes #5478Araq2017-03-061-4/+4
|
* make tests green againAndreas Rumpf2017-03-021-0/+4
|
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-241-5/+7
|\
| * fixes #5417Andreas Rumpf2017-02-241-5/+7
| |
* | big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-4/+4
|/
* fixes #5383Araq2017-02-161-1/+1
|
* Merge branch 'devel' into feature/3691Dominik Picheta2017-02-071-2/+9
|\
| * fixes #5285Andreas Rumpf2017-02-041-2/+9
| |
* | Adds `except T as ident` handling in semtempl.Dominik Picheta2017-02-061-1/+7
|/
* template+emit supports volatileRead and volatileWrite opsAndreas Rumpf2017-01-231-1/+3
|
* Fixes #5225 (#5243)Lolo Iccl2017-01-181-1/+8
| | | | | | | | | | * Fixes #5225 * Fixes #5225 * Fixes #5225 fix typo
* remove unused stuffJacek Sieka2016-08-091-29/+0
|
* fixes #4353Andreas Rumpf2016-08-041-4/+6
|
* fixes #4555Andreas Rumpf2016-08-021-1/+1
|
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-1/+1
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-2/+6
|
* Merge branch 'devel' into new-llAndreas Rumpf2016-01-141-4/+1
|\
| * fixes #3498Adam Strzelecki2015-10-301-4/+1
| | | | | | | | | | | | | | | | | | Previously it was not possible to use template arguments in template body as the symbols were not resolved correctly leading to Error: undeclared identifier: 'XX', eg.: template defaultOf[T](t: T): expr = (var d: T; d) echo defaultOf(1) #<- invalid identifier, but should output 0
* | first implementation of the new lambda-lifting pass; barely anything worksAndreas Rumpf2015-12-261-3/+1
|/
* fixes regression: NimForum compiles againAraq2015-09-211-24/+61
|