Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Step2: fixes #13781, fixes #13805 (#13897) | cooldome | 2020-04-16 | 1 | -0/+7 |
| | | | | | | | | | * Fix sym owner in wrapper proc * threadpool changes * revert lowerings * add newFastMoveStmt * try fixing test by switching to cpp Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fixes #13708 (#13711) | cooldome | 2020-03-21 | 1 | -2/+2 |
| | | | | | | * fixes #13708 * differentiate between arc and rest of GC Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fixes #13368 (#13397) | cooldome | 2020-02-14 | 1 | -2/+3 |
| | |||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 1 | -1/+1 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | Sink to MemMove optimization in injectdestructors (#13002) | cooldome | 2020-01-02 | 1 | -2/+8 |
| | |||||
* | fixes #12989 (#12992) | cooldome | 2019-12-31 | 1 | -1/+0 |
| | | | | | | | * fixes #12989 * Revert "remove unwanted changes" This reverts commit 501829732a8e44deef2d815c303859efbe452cb5. | ||||
* | Revert "fixes #12989" | Andrii Riabushenko | 2019-12-31 | 1 | -0/+1 |
| | | | | This reverts commit 928c2fee06bd11a0901c5f563b4953788be76ae6. | ||||
* | fixes #12989 | Andrii Riabushenko | 2019-12-31 | 1 | -1/+0 |
| | |||||
* | ARC: fixes cycle detection and move the .cursor attribute into closures (#12872) | Andreas Rumpf | 2019-12-11 | 1 | -0/+1 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -76/+76 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | ARC: ported the GC tests over to --gc:arc | Araq | 2019-11-26 | 1 | -0/+1 |
| | |||||
* | Revert "ARC: another critical bugfix; temporary tuples we introduce for ↵ | narimiran | 2019-11-24 | 1 | -1/+0 |
| | | | | | | tuple unpackaging are not owning the data" This reverts commit 8b2f8f5430e8c328efe5bce94e397f15e3c501af. | ||||
* | ARC: another critical bugfix; temporary tuples we introduce for tuple ↵ | Araq | 2019-11-22 | 1 | -0/+1 |
| | | | | unpackaging are not owning the data | ||||
* | more arc improvements (#12690) | Andreas Rumpf | 2019-11-20 | 1 | -0/+8 |
| | | | | | * ARC: bugfix for =destroy for inherited objects * added code useful for debugging | ||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -5/+5 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | Support iterators returning lent T (#11938) | cooldome | 2019-08-31 | 1 | -2/+2 |
| | | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests | ||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -2/+2 |
| | | | | * fixes #11847 | ||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -1/+0 |
| | |||||
* | [refactoring] moves transformation for 'spawn' into its own spawn.nim ↵ | Araq | 2019-07-14 | 1 | -428/+15 |
| | | | | implementation | ||||
* | fixes #7057 | Andreas Rumpf | 2019-07-06 | 1 | -1/+1 |
| | |||||
* | [bugfix] owned closures (#11544) | Andreas Rumpf | 2019-06-20 | 1 | -0/+3 |
| | |||||
* | fixes #11215 | Araq | 2019-05-12 | 1 | -2/+2 |
| | |||||
* | rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227) | Arne Döring | 2019-05-11 | 1 | -2/+2 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | added lowerings.evalOnce | Araq | 2019-04-09 | 1 | -0/+16 |
| | |||||
* | 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 | ||||
* | added lowerings.genLen helper proc | Andreas Rumpf | 2019-03-14 | 1 | -0/+9 |
| | |||||
* | Tuple unpacking now works for `for` vars (#10152) | Neelesh Chandola | 2019-02-23 | 1 | -6/+14 |
| | | | | | | | | * Tuple unpacking now works for `for` vars * Give error if length of tuple vars != length of tuple * Fix error message showing wrong tuple length * unpacking now works now for mutable items * Update changelog | ||||
* | Destructors: more moves for tuples (#9808) | cooldome | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux | ||||
* | Field checks for everybody (#8957) | LemonBoy | 2018-10-09 | 1 | -12/+18 |
| | | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend | ||||
* | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -0/+12 |
| | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -37/+37 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+2 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -2/+2 |
| | |||||
* | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -9/+13 |
| | |||||
* | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -20/+24 |
| | |||||
* | lambda lifting compiles again | Andreas Rumpf | 2018-05-12 | 1 | -62/+62 |
| | |||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -2/+2 |
| | |||||
* | implemented undocumented '.liftLocals' feature | Andreas Rumpf | 2017-11-02 | 1 | -2/+4 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -2/+2 |
| | |||||
* | initial version of the new untested destructor pass | Andreas Rumpf | 2017-10-12 | 1 | -0/+11 |
| | |||||
* | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -1/+1 |
| | |||||
* | closures have an object type field so that we can perform correct deepCopy() ↵ | Andreas Rumpf | 2017-07-22 | 1 | -9/+11 |
| | | | | for the BoehmGC target | ||||
* | fixes tuple unpacking regression | Andreas Rumpf | 2017-04-26 | 1 | -1/+1 |
| | |||||
* | make nimble compile again | Andreas Rumpf | 2017-04-22 | 1 | -1/+1 |
| | |||||
* | make sighashes work in more cases | Andreas Rumpf | 2017-04-21 | 1 | -10/+54 |
| | |||||
* | attempt to make sighashes produce smaller diffs | Andreas Rumpf | 2017-04-19 | 1 | -1/+1 |
| | |||||
* | re-enable object name generation for less dependence on IDs | Araq | 2016-12-05 | 1 | -1/+2 |
| |