Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -2/+4 |
| | | | | * fixes #11847 | ||||
* | revert changes | Andrii Riabushenko | 2019-07-25 | 1 | -2/+2 |
| | |||||
* | fixes #11826 | Andrii Riabushenko | 2019-07-25 | 1 | -2/+2 |
| | |||||
* | Offsetof fixes (#11690) | Arne Döring | 2019-07-09 | 1 | -44/+3 |
| | | | | | | | | * first fixes * more tests and fixes * code normalization | ||||
* | fixes #11610 (#11659) | Andreas Rumpf | 2019-07-05 | 1 | -0/+2 |
| | |||||
* | fixes #7937 (#11244) | Andreas Rumpf | 2019-05-14 | 1 | -3/+4 |
| | |||||
* | added system.unown to make 'owned' sane to use in practice; later on we ↵ | Araq | 2019-04-29 | 1 | -0/+35 |
| | | | | might change the type inference rules to make it more convenient | ||||
* | more destructor based changes (#10885) | Andreas Rumpf | 2019-03-23 | 1 | -0/+5 |
| | | | | | | | | | | | * 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 | ||||
* | fixes #10807 (#10814) | cooldome | 2019-03-12 | 1 | -5/+5 |
| | | | | | * fixes #10807 * use nkAddr instead of nkHiddenAddr | ||||
* | 32 bit fixes (#10608) | Arne Döring | 2019-02-13 | 1 | -3/+11 |
| | |||||
* | Stop useless suggestion of unsafeAddr (#10598) | LemonBoy | 2019-02-08 | 1 | -1/+6 |
| | | | Fixes #10594 | ||||
* | Finalizer proc must be global (#10388) | LemonBoy | 2019-01-22 | 1 | -0/+5 |
| | | | Fixes #10376 | ||||
* | fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 ↵ | Timothee Cour | 2018-12-30 | 1 | -2/+3 |
| | | | | | | | (#10131) * fix typetraits.`$` regression https://github.com/c-blake/cligen/issues/84 * add test | ||||
* | revives: Move typetraits.`$` to system. Fixes #5827 (#10071) | Timothee Cour | 2018-12-30 | 1 | -1/+1 |
| | | | | | | * Move typetraits.`$` to system. Fixes #5827. * revive PR; adjust code to make sure everything works and add tests * fix tests/concepts/tstackconcept.nim * address comments | ||||
* | fixes #9868 | Araq | 2018-12-11 | 1 | -2/+0 |
| | |||||
* | fixes #7365 | alaviss | 2018-11-26 | 1 | -1/+1 |
| | |||||
* | Fixes multiple bugs with sink arguments (#9802) | cooldome | 2018-11-26 | 1 | -1/+1 |
| | | | | | | * fixes #9781 * fix spacing | ||||
* | Of operator in vm fixes [backport] (#9717) | cooldome | 2018-11-15 | 1 | -1/+7 |
| | | | | | | * fixes #9701 * fixes #9702 * optimize of statement to bool | ||||
* | fixes #9610 | Andreas Rumpf | 2018-11-03 | 1 | -17/+13 |
| | |||||
* | fixes #9498, typeof is for everybody | Araq | 2018-10-25 | 1 | -3/+9 |
| | |||||
* | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 1 | -2/+55 |
| | |||||
* | fixes #7827, bindSym enhancement (#8499) | andri lim | 2018-08-02 | 1 | -1/+66 |
| | | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym | ||||
* | Do not consider enums with holes as ordinals (#8264) | LemonBoy | 2018-07-12 | 1 | -1/+1 |
| | | | | | | Make the compiler behave consistently with respect to what's written in the manual. Fixes #1239 | ||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -2/+2 |
| | | | | around explicitly | ||||
* | refactoring: fewer global variables | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -5/+1 |
| | |||||
* | 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 | -1/+1 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 1 | -0/+4 |
|\ | |||||
| * | A motivating example for the new `bindSym` behavior. | Zahary Karadjov | 2018-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The example is a proof-of-concept logging library, allowing you to define lexically-scoped environments where certain logging attributes are applied automatically to all logging statements. fixes tmacro1 (use of `bindSym` inside static blocks) | ||||
| * | Better support for treating templates and macros as symbols. | Zahary Karadjov | 2018-05-07 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to pass a template or a macro to another macro which can then inspect the implementation of the former template/macro using `getImpl`. Since templates can be freely redefined, this allows you to treat their symbols as compile-time variables that have lexical scope. A motivating PoC example for a logging library taking advantage of this will be provided in the next commit. Implementation details: * The name of a template or a macro will be consider a symbol if the template/macro requires parameters * For parameterless templates/macros, you can use `bindSym`, which was extended to also work outside of compile-time procs. | ||||
* | | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 1 | -21/+21 |
| | | |||||
* | | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -14/+14 |
|/ | |||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -1/+1 |
| | |||||
* | Add column number to instantiation info (#7376) | PMunch | 2018-04-12 | 1 | -0/+3 |
| | | | | | | | | | | | | | | * Add column number to instantiation info Instantiation info left out column number for no good reason. This adds it in as the third element of the tuple. * Fix test that failed and added change to changelog An assertion test failed because it was declaring a type that was expected to be populated by instantiationInfo with the old signature. Also added the changes to the changelog as it is a breaking change. | ||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -2/+2 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-11-18 | 1 | -1/+1 |
| | |||||
* | wip | Andreas Rumpf | 2017-11-02 | 1 | -1/+3 |
| | |||||
* | remove old implementation of the roof operator; make tests green again; ↵ | Andreas Rumpf | 2017-10-29 | 1 | -31/+1 |
| | | | | close #6292 | ||||
* | destructors: work in progress | Araq | 2017-10-26 | 1 | -3/+8 |
| | |||||
* | added typetraits.supportsCopyMem | Andreas Rumpf | 2017-10-17 | 1 | -1/+6 |
| | |||||
* | low/high/of are now overloadable operations | Andreas Rumpf | 2017-08-30 | 1 | -0/+36 |
| | |||||
* | introduce a pre-processing pass for the concept bodies | Zahary Karadjov | 2017-06-20 | 1 | -2/+2 |
| | | | | | | | fixes #4982 fixes #3805 close #3414 | ||||
* | Allow tyOr,tyAnd and tyNot to be constructed in more contexts | Zahary Karadjov | 2017-04-28 | 1 | -16/+32 |
| | |||||
* | use lower-case proc names | Zahary Karadjov | 2017-03-24 | 1 | -4/+4 |
| | |||||
* | new type traits: `GenericHead` and `StripGenericParams` | Zahary Karadjov | 2017-03-24 | 1 | -2/+35 |
| | |||||
* | implement the special treatment of explicit type params in concepts | Zahary Karadjov | 2017-03-24 | 1 | -1/+1 |
| | |||||
* | big compiler refactoring; avoid globals for multi method dispatcher generation | Andreas Rumpf | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | recursive modules are only detected to improve error messages | Andreas Rumpf | 2016-11-24 | 1 | -1/+1 |
| |