Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix forward declaration issues in template/macro context (#15091) | Clyybber | 2020-07-29 | 1 | -22/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | * Fix forward declaration issues in template/macro context * Correct forward declaration resolving for overloads * Remove old dead code * WIP consistent gensym ids * Minimize diff * Remove obsoleted hack * Add templInstCounter to give unique IDs to template instantiations * Remove obsoleted code * Eh, init in myOpen, not myProcess... * Remove optNimV019 * Add testcase for #13484 | ||||
* | fix codegen bug due to changing existing symbol declaration in template (#14666) | jcosborn | 2020-06-15 | 1 | -1/+1 |
| | |||||
* | fixes #12885 [backport] (#12895) | Andreas Rumpf | 2019-12-13 | 1 | -0/+4 |
| | |||||
* | Fixes #12832 (#12842) [backport] | Neelesh Chandola | 2019-12-08 | 1 | -0/+5 |
| | | | | | | * Fix #12832 * nimVm -> nimvm in json.nim * Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -159/+155 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | fixes #12193 (#12199) | Andreas Rumpf | 2019-09-16 | 1 | -2/+1 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -20/+20 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | fixes yet another gensym regression (#12145) | Andreas Rumpf | 2019-09-06 | 1 | -3/+3 |
| | |||||
* | fixes #12121 (#12126) | Andreas Rumpf | 2019-09-05 | 1 | -9/+24 |
| | |||||
* | improvement for 'unused import' warnings | Araq | 2019-09-02 | 1 | -0/+1 |
| | |||||
* | new gensym handling (#11985) | Andreas Rumpf | 2019-08-23 | 1 | -19/+43 |
| | | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package | ||||
* | [refactoring] compiler: simplified markUsed | Andreas Rumpf | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | [feature] detect unused imports | Araq | 2019-07-17 | 1 | -1/+1 |
| | |||||
* | Allow void macro result (#11286) | Arne Döring | 2019-05-21 | 1 | -5/+0 |
| | | | | | * allow void macro result * add test for void macro result type | ||||
* | Fixes #9365 : let with exportC pragma in template. (#11235) | Aditya Siram | 2019-05-14 | 1 | -0/+6 |
| | | | | | | * Fixes #9365 : let with exportC pragma in template. * Fix according to comments. | ||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -5/+5 |
| | |||||
* | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -4/+4 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -14/+14 |
| | |||||
* | Fix loop tuple unpacking in templates (#11174) | nc-x | 2019-05-05 | 1 | -1/+5 |
| | | | | | | * Fix loop tuple unpacking in templates * Add test | ||||
* | callsite lineinfe for stackTrace template (#10785) | Arne Döring | 2019-04-18 | 1 | -3/+5 |
| | |||||
* | more destructor based changes (#10885) | Andreas Rumpf | 2019-03-23 | 1 | -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 callsite | Andreas Rumpf | 2019-02-22 | 1 | -2/+3 |
| | |||||
* | 32 bit fixes (#10608) | Arne Döring | 2019-02-13 | 1 | -0/+4 |
| | |||||
* | compiler/sem*: improve lineinfo for qualified and generic procs (#10427) | alaviss | 2019-01-23 | 1 | -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: improvements | Andreas Rumpf | 2018-11-15 | 1 | -0/+2 |
| | |||||
* | added first version of a nimfind tool for the poor souls that don't have a ↵ | Andreas Rumpf | 2018-11-14 | 1 | -8/+12 |
| | | | | good nimsuggest integretation | ||||
* | fixes regressions | Araq | 2018-10-30 | 1 | -10/+8 |
| | |||||
* | fixes unexpected transforming of runnableExamples (#9158) | Steve Kellock | 2018-10-09 | 1 | -1/+3 |
| | |||||
* | fixes #8052 | Araq | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | code cleanup: remove newScopeForIf switch | Andreas Rumpf | 2018-07-04 | 1 | -2/+1 |
| | |||||
* | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 1 | -4/+4 |
| | | | | conventions outlined in NEP-1 | ||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -7/+7 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -2/+2 |
| | |||||
* | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -37/+40 |
| | |||||
* | Implement custom annotations (#6987) | cooldome | 2018-01-09 | 1 | -1/+4 |
| | |||||
* | first steps in adding template/macro calls to stack traces | Araq | 2017-12-21 | 1 | -2/+2 |
| | |||||
* | minor breaking change: for loop bodies now get their own scope | Andreas Rumpf | 2017-11-05 | 1 | -0/+2 |
| | |||||
* | remove old implementation of the roof operator; make tests green again; ↵ | Andreas Rumpf | 2017-10-29 | 1 | -18/+0 |
| | | | | close #6292 | ||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -4/+4 |
| | |||||
* | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -0/+2 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -2/+2 |
| | |||||
* | fixes #5478 | Araq | 2017-03-06 | 1 | -4/+4 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-03-02 | 1 | -0/+4 |
| | |||||
* | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-24 | 1 | -5/+7 |
|\ | |||||
| * | fixes #5417 | Andreas Rumpf | 2017-02-24 | 1 | -5/+7 |
| | | |||||
* | | big compiler refactoring; avoid globals for multi method dispatcher generation | Andreas Rumpf | 2017-02-22 | 1 | -4/+4 |
|/ | |||||
* | fixes #5383 | Araq | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into feature/3691 | Dominik Picheta | 2017-02-07 | 1 | -2/+9 |
|\ | |||||
| * | fixes #5285 | Andreas Rumpf | 2017-02-04 | 1 | -2/+9 |
| | | |||||
* | | Adds `except T as ident` handling in semtempl. | Dominik Picheta | 2017-02-06 | 1 | -1/+7 |
|/ |