Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor refactorings | Andreas Rumpf | 2019-12-27 | 1 | -9/+1 |
| | |||||
* | fixes #12669 | Araq | 2019-11-29 | 1 | -11/+26 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -44/+43 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | fix #12037 (#12089) | Clyybber | 2019-08-30 | 1 | -14/+3 |
| | |||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -29/+29 |
| | |||||
* | control flow graph: don't ignore yield statements | Araq | 2019-07-09 | 1 | -1/+1 |
| | |||||
* | fixes #11633 | Andreas Rumpf | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | increase dfa instruction limit (#11579) | cooldome | 2019-06-24 | 1 | -2/+2 |
| | |||||
* | [bugfix] owned closures (#11544) | Andreas Rumpf | 2019-06-20 | 1 | -2/+16 |
| | |||||
* | fixes #10963, disallow implicit mixing of strings and ints/floats (#11292) | Miran | 2019-05-21 | 1 | -1/+1 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | move analyser: fixes another critical bug | Araq | 2019-04-29 | 1 | -1/+1 |
| | |||||
* | make twidgets example green (#11135) | Andreas Rumpf | 2019-04-28 | 1 | -3/+9 |
| | |||||
* | fixes #11095 (#11104) | Andreas Rumpf | 2019-04-25 | 1 | -11/+28 |
| | | | * fixes #11095 | ||||
* | added a note about what to not do | Andreas Rumpf | 2019-04-19 | 1 | -0/+10 |
| | |||||
* | move analyser is smarter; refs #11053 | Andreas Rumpf | 2019-04-19 | 1 | -1/+4 |
| | |||||
* | DFA: We are not allowed to take ownership of parameters | Araq | 2019-04-17 | 1 | -1/+2 |
| | |||||
* | make move-analysis smarter; see tuse_ownedref_after_move test case | Araq | 2019-04-16 | 1 | -8/+30 |
| | |||||
* | dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵ | Araq | 2019-04-16 | 1 | -17/+56 |
| | | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix | ||||
* | compute sinks/assignments properly for for-loop iteration variables | Araq | 2019-04-08 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | explicit default values for a leaner codegen, .cursor variables for optimization | Andreas Rumpf | 2019-03-07 | 1 | -39/+0 |
| | |||||
* | dfa.nim: continues are bad | Andreas Rumpf | 2019-03-06 | 1 | -2/+3 |
| | |||||
* | introduce tfHasOwned for fast must-move checkings; removed tfAcyclic as the ↵ | Andreas Rumpf | 2019-03-05 | 1 | -1/+1 |
| | | | | GC has ignored this hint for quite some time now | ||||
* | DFA: fixes wrong 'def' instruction emission | Andreas Rumpf | 2019-03-05 | 1 | -5/+6 |
| | |||||
* | destructors/dfa: more documentation | Andreas Rumpf | 2019-03-04 | 1 | -3/+5 |
| | |||||
* | isLastRead regression fix (#10463) | cooldome | 2019-01-28 | 1 | -6/+9 |
| | | | | | | * fixes #10462 * add a test | ||||
* | control flow graphs: introduce 'join' points for easy analyses based on ↵ | Andreas Rumpf | 2019-01-23 | 1 | -152/+391 |
| | | | | abstract interpretation | ||||
* | improve vmgen.codeListing formatting (#10306) | Timothee Cour | 2019-01-15 | 1 | -1/+1 |
| | | | | | * improve vmgen.codeListing formatting * address comments | ||||
* | use control flow graph for sink params | Andrii Riabushenko | 2018-12-09 | 1 | -1/+1 |
| | |||||
* | destructors; fixes #9594 | Araq | 2018-11-02 | 1 | -2/+12 |
| | |||||
* | DFA: implement exception handling properly | Andreas Rumpf | 2018-10-14 | 1 | -2/+20 |
| | |||||
* | dfa.nim: clarify exception handling | Andreas Rumpf | 2018-10-13 | 1 | -1/+4 |
| | |||||
* | compiler: cleanup dfa.nim | Andreas Rumpf | 2018-10-12 | 1 | -21/+25 |
| | |||||
* | don't require an implementation for procs marked with .error; activate the ↵ | Araq | 2018-09-29 | 1 | -0/+1 |
| | | | | move optimizer for destructors | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -1/+2 |
| | |||||
* | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | transf and vmgen compile again | Andreas Rumpf | 2018-05-12 | 1 | -7/+7 |
| | |||||
* | lambda lifting compiles again | Andreas Rumpf | 2018-05-12 | 1 | -2/+2 |
| | |||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -1/+1 |
| | |||||
* | DFA: code cleanups and some support for consuming operations | Andreas Rumpf | 2017-12-27 | 1 | -109/+9 |
| | |||||
* | DFA attempt to capture the essence of linear types | Andreas Rumpf | 2017-12-23 | 1 | -2/+21 |
| | |||||
* | DFA works for simple examples | Andreas Rumpf | 2017-12-21 | 1 | -9/+17 |
| | |||||
* | next steps in giving Nim a decent DFA infrastructure | Araq | 2017-12-18 | 1 | -5/+83 |
| | |||||
* | Fixed koch warning when installing Nim. (#6898) | Gerke Max Preussner | 2017-12-12 | 1 | -3/+3 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -2/+2 |
| | |||||
* | initial version of the new untested destructor pass | Andreas Rumpf | 2017-10-12 | 1 | -4/+4 |
| |