Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | remove remnants of tyIter | Jacek Sieka | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/devel' into compiler-cleanup | Jacek Sieka | 2016-08-17 | 1 | -2/+6 |
|\ | |||||
| * | Require ordinal or set argument to system.ord | Matthew Baulch | 2016-08-11 | 1 | -2/+6 |
| | | |||||
* | | remove unused stuff | Jacek Sieka | 2016-08-09 | 1 | -7/+0 |
|/ | |||||
* | fixes #4555 | Andreas Rumpf | 2016-08-02 | 1 | -1/+1 |
| | |||||
* | fixes #3548 | Andreas Rumpf | 2016-07-15 | 1 | -1/+4 |
| | |||||
* | fixes #4295 | Andreas Rumpf | 2016-06-07 | 1 | -1/+3 |
| | |||||
* | Removed error that disallows slices with negative indexes | bit | 2016-02-22 | 1 | -4/+0 |
| | |||||
* | fixes a critical bug concerning a[^1] rewritings | Andreas Rumpf | 2015-12-14 | 1 | -1/+1 |
| | |||||
* | fixes the most pressing regressions introduced by the new handling of a[i] ↵ | Araq | 2015-09-16 | 1 | -9/+16 |
| | | | | in the compiler | ||||
* | first attempt to fix 'a[i]' handling in generics | Araq | 2015-09-12 | 1 | -0/+34 |
| | |||||
* | Untyped pointers godegen changed. addr expression fixed. | Yuriy Glukhov | 2015-08-21 | 1 | -0/+2 |
| | |||||
* | added system.unsafeAddr | Araq | 2015-08-04 | 1 | -3/+3 |
| | |||||
* | system.locals is now a plugin for education | Araq | 2015-04-24 | 1 | -29/+0 |
| | |||||
* | fixes #2447 | Araq | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin ↵ | Araq | 2015-04-22 | 1 | -0/+7 |
| | | | | system to the compiler | ||||
* | fixes #2420; negative indexing for slicing is obsolete (breaking change!) | Araq | 2015-03-28 | 1 | -4/+4 |
| | |||||
* | disallow negative indexing | Araq | 2015-03-27 | 1 | -0/+13 |
| | |||||
* | implemented a[^1] notation | Araq | 2015-03-26 | 1 | -0/+30 |
| | |||||
* | fixes #1805 | Araq | 2015-03-21 | 1 | -8/+28 |
| | |||||
* | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
| |