Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | active.nim: fixes the import path so that compilation with --noNimblePath works | Andreas Rumpf | 2018-05-29 | 1 | -1/+1 |
| | |||||
* | more compiler API cleanups | Andreas Rumpf | 2018-05-28 | 3 | -28/+25 |
| | |||||
* | remove the last global variables in the C code generator | Andreas Rumpf | 2018-05-28 | 2 | -21/+19 |
| | |||||
* | rename 'nimrodVM' to 'nimVM' | Andreas Rumpf | 2018-05-28 | 3 | -7/+5 |
| | |||||
* | vm now free of global variables | Andreas Rumpf | 2018-05-28 | 3 | -16/+11 |
| | |||||
* | vm.nim: evalMacroCounter is not a global variable anymore | Andreas Rumpf | 2018-05-28 | 2 | -6/+6 |
| | |||||
* | jsgen refactoring: use graph.backend field instead of a global variable | Andreas Rumpf | 2018-05-28 | 1 | -11/+10 |
| | |||||
* | make dependency analyser free of global variables | Andreas Rumpf | 2018-05-28 | 2 | -10/+17 |
| | |||||
* | removed global variable from rstgen.nim | Andreas Rumpf | 2018-05-27 | 1 | -1/+0 |
| | |||||
* | cleanup compiler/prettybase to not use redudant global variables | Andreas Rumpf | 2018-05-27 | 5 | -86/+36 |
| | |||||
* | refactoring: make projectMainIdx typesafe | Andreas Rumpf | 2018-05-27 | 7 | -21/+17 |
| | |||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 40 | -352/+337 |
| | | | | around explicitly | ||||
* | refactoring: fewer global variables | Andreas Rumpf | 2018-05-27 | 6 | -43/+36 |
| | |||||
* | more refactoring | Andreas Rumpf | 2018-05-27 | 10 | -30/+32 |
| | |||||
* | implements --hint[globalvar]:on switch for quickly finding global variables | Andreas Rumpf | 2018-05-27 | 2 | -3/+7 |
| | |||||
* | Merge branch 'devel' into araq-big-refactoring | Andreas Rumpf | 2018-05-27 | 3 | -8/+10 |
|\ | |||||
| * | fix #7883; fix #7829 | Zahary Karadjov | 2018-05-26 | 3 | -8/+10 |
| | | |||||
* | | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 76 | -646/+647 |
| | | |||||
* | | fixes merge conflict | Andreas Rumpf | 2018-05-26 | 2 | -29/+12 |
|\| | |||||
| * | Use new binarySearch everywhere (#7876) | Dmitry Atamanov | 2018-05-25 | 1 | -14/+0 |
| | | |||||
| * | fixes filter bug for empty lines | data-man | 2018-05-22 | 1 | -14/+10 |
| | | |||||
| * | fixes #7696, add ConfigRef.arguments initialization (#7858) | andri lim | 2018-05-22 | 1 | -1/+2 |
| | | |||||
| * | fixes #7855 | data-man | 2018-05-21 | 1 | -1/+1 |
| | | |||||
* | | fixes yet another index out of bounds issue in renderer.nim | Andreas Rumpf | 2018-05-21 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'devel' into araq-big-refactoring | Andreas Rumpf | 2018-05-21 | 3 | -6/+6 |
|\| | |||||
| * | fixes yet another indexing bug caused by the strict strings | Araq | 2018-05-21 | 1 | -1/+1 |
| | | |||||
| * | Fix typo in "out of bounds" error message | coffeepots | 2018-05-18 | 1 | -1/+1 |
| | | |||||
| * | Allow better optimisations by removing NOINLINE from module init procs | Yuriy Glukhov | 2018-05-16 | 1 | -4/+4 |
| | | |||||
* | | make tests green again | Andreas Rumpf | 2018-05-18 | 15 | -51/+64 |
| | | |||||
* | | make semantic checking free of globals | Andreas Rumpf | 2018-05-18 | 3 | -15/+15 |
| | | |||||
* | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 35 | -678/+538 |
| | | |||||
* | | compiler/ropes.nim has no global error handler anymore | Andreas Rumpf | 2018-05-17 | 6 | -42/+48 |
| | | |||||
* | | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 37 | -177/+173 |
| | | |||||
* | | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 29 | -312/+148 |
| | | |||||
* | | ccgutils: code cleanup, no globals | Araq | 2018-05-16 | 1 | -108/+1 |
| | | |||||
* | | extccomp: no globals anymore | Araq | 2018-05-16 | 7 | -111/+118 |
|/ | |||||
* | documentation generator works again | Andreas Rumpf | 2018-05-15 | 2 | -9/+9 |
| | |||||
* | make tests green on Unix | Andreas Rumpf | 2018-05-15 | 2 | -5/+6 |
| | |||||
* | make tests green again | Araq | 2018-05-14 | 9 | -16/+16 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 17 | -37/+107 |
|\ | |||||
| * | VM fix for refs | Oscar Nihlgård | 2018-05-08 | 1 | -2/+8 |
| | | |||||
| * | implement the export/except statement | Zahary Karadjov | 2018-05-07 | 2 | -7/+29 |
| | | |||||
| * | Bugfix: The compiler were not inserting proper downcasts for generic types | Zahary Karadjov | 2018-05-07 | 2 | -3/+4 |
| | | | | | | | | | | | | | | This resulted in a codegen error in C++ mode, because the generic types were not defined in modules where calls requiring downcasts were used (generating a downcast forces the inclusion of the full definition of the involved types). | ||||
| * | fix a compiler crash related to the new strings in C++ mode | Zahary Karadjov | 2018-05-07 | 2 | -9/+9 |
| | | |||||
| * | Support thread-local variables declared inside procs; fixes #7565 | Zahary Karadjov | 2018-05-07 | 1 | -1/+1 |
| | | |||||
| * | Backwards-compatible support for keyword arguments in the command syntax | Zahary Karadjov | 2018-05-07 | 1 | -4/+13 |
| | | |||||
| * | Bugfix: Allow matching on nkExprEqExpr against varargs[untyped] | Zahary Karadjov | 2018-05-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | This enables macros accepting arbitrary keyword arguments: log("foo", prop1 = "bar", prop2 = "baz") As an added bonus, simple templates with varargs arguments can now forward their params to procs accepting keyword arguments. | ||||
| * | A motivating example for the new `bindSym` behavior. | Zahary Karadjov | 2018-05-07 | 4 | -1/+6 |
| | | | | | | | | | | | | | | | | 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 | 5 | -7/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | pretty, prettybase: simplify relative paths (#7779) | alaviss | 2018-05-07 | 2 | -2/+2 |
| | | | | | | This allows nimble to be built with compiler as a nimble package |