Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | VM: don't inject destructor calls, refs #7041 | Andreas Rumpf | 2018-11-06 | 1 | -13/+16 |
| | |||||
* | Transf minor code optimization (#9433) | cooldome | 2018-10-19 | 1 | -37/+12 |
| | |||||
* | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 1 | -22/+42 |
| | | | | | | | | | | | | | | | 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 | ||||
* | fixes #5519 | Araq | 2018-10-18 | 1 | -3/+6 |
| | |||||
* | fixes #7972 | Araq | 2018-10-18 | 1 | -10/+13 |
| | |||||
* | Field checks for everybody (#8957) | LemonBoy | 2018-10-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix transformation of yield in inline context (#9135) | LemonBoy | 2018-10-09 | 1 | -15/+28 |
| | | | | | | When the loop variables are part of the envP block it is not safe to use a nkFastAsgn. Fixes #2656 | ||||
* | Make the registered passes local to the ModuleGraph (#9259) | LemonBoy | 2018-10-09 | 1 | -1/+1 |
| | | | Closes #9068 | ||||
* | enable destructors for top level statements; needs to be documented | Andreas Rumpf | 2018-09-24 | 1 | -4/+4 |
| | |||||
* | Revert #7964 | LemonBoy | 2018-09-21 | 1 | -6/+5 |
| | | | | | | | Somehow the test case doesn't crash anymore and the regression in the doc generation is fixed. Fixes #9019 | ||||
* | fixes #1616; fixes 'nim doc' regressions | Andreas Rumpf | 2018-09-17 | 1 | -1/+2 |
| | |||||
* | Fix AST generation for case statements (#8908) | LemonBoy | 2018-09-07 | 1 | -1/+5 |
| | | | Fixes #7534 | ||||
* | fixes merge conflict | Andreas Rumpf | 2018-08-19 | 1 | -5/+6 |
|\ | |||||
| * | Fix unsound transform pass (#8633) | LemonBoy | 2018-08-14 | 1 | -0/+4 |
| | | | | | | | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime. | ||||
| * | Mysterious fix for #8550 (#8561) | LemonBoy | 2018-08-12 | 1 | -5/+2 |
| | | | | | | | | Replacing the `for` body with a nkEmpty node is not the right thing to do. | ||||
* | | more progress on destructor based strings | Andreas Rumpf | 2018-07-13 | 1 | -4/+4 |
|/ | |||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 1 | -0/+2 |
| | |||||
* | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -0/+46 |
| | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
* | fixes yet another merge conflict | Araq | 2018-06-11 | 1 | -1/+1 |
|\ | |||||
| * | Removed oldIterTranf feature | Yuriy Glukhov | 2018-06-10 | 1 | -1/+1 |
| | | |||||
* | | fixex merge conflicts | Araq | 2018-06-08 | 1 | -2/+6 |
|\| | |||||
| * | Merge branch 'devel' into yield-in-try | Yuriy Glukhov | 2018-05-15 | 1 | -52/+57 |
| |\ | |||||
| * | | Don't leak sem PContext into transf | Yuriy Glukhov | 2018-05-09 | 1 | -6/+5 |
| | | | |||||
| * | | Closure iter transformation | Yuriy Glukhov | 2018-05-09 | 1 | -11/+14 |
| | | | |||||
* | | | AST change: keep nkStaticStmt in the AST for incremental compilation support | Andreas Rumpf | 2018-06-03 | 1 | -1/+1 |
| | | | |||||
* | | | baby steps for incremental compilation | Andreas Rumpf | 2018-05-30 | 1 | -2/+2 |
| | | | |||||
* | | | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -3/+3 |
| | | | | | | | | | | | | around explicitly | ||||
* | | | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -3/+3 |
| | | | |||||
* | | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -4/+4 |
| | | | |||||
* | | | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -5/+5 |
| |/ |/| | |||||
* | | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -3/+3 |
| | | |||||
* | | transf and vmgen compile again | Andreas Rumpf | 2018-05-12 | 1 | -43/+46 |
|/ | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -3/+3 |
| | |||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -3/+3 |
| | |||||
* | Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) | cooldome | 2018-04-10 | 1 | -1/+1 |
| | |||||
* | Fix compiler crash on try expression with infix as (Fixes #7116) (#7112) | cooldome | 2018-01-29 | 1 | -1/+1 |
| | | | | | | * Fix compiler crash * make sure type is not lost | ||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -3/+3 |
| | |||||
* | symbol files: fixes the logic for multi-methods | Araq | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | first steps in adding template/macro calls to stack traces | Araq | 2017-12-21 | 1 | -1/+1 |
| | |||||
* | the documentation generator now supports ':test:' for the testing of test ↵ | Araq | 2017-11-28 | 1 | -1/+1 |
| | | | | snippets | ||||
* | fixes #6724 | Andreas Rumpf | 2017-11-19 | 1 | -3/+3 |
| | |||||
* | fixes new liftLocals pass | Andreas Rumpf | 2017-11-02 | 1 | -1/+1 |
| | |||||
* | implemented undocumented '.liftLocals' feature | Andreas Rumpf | 2017-11-02 | 1 | -1/+2 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -5/+5 |
| | |||||
* | make tests green again | Araq | 2017-10-26 | 1 | -3/+6 |
| | |||||
* | destructors: work in progress | Araq | 2017-10-26 | 1 | -0/+3 |
| | |||||
* | new destroyer pass works with procs too | Andreas Rumpf | 2017-10-13 | 1 | -4/+4 |
| | |||||
* | introduce --newruntime switch for the upcoming destructors and move semantics | Andreas Rumpf | 2017-10-13 | 1 | -3/+8 |
| | |||||
* | simple programs now work with the new destroyer pass | Andreas Rumpf | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | initial version of the new untested destructor pass | Andreas Rumpf | 2017-10-12 | 1 | -3/+3 |
| |