Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed codegen (added blockLeaveActions) to closure iters | Yuriy Glukhov | 2018-05-09 | 1 | -35/+38 |
| | |||||
* | Corrected nkExceptBranch transformation | Yuriy Glukhov | 2018-05-09 | 1 | -13/+24 |
| | |||||
* | More elaborate nkStmtListExpr lowering | Yuriy Glukhov | 2018-05-09 | 1 | -32/+372 |
| | |||||
* | Cleanup | Yuriy Glukhov | 2018-05-09 | 1 | -49/+31 |
| | |||||
* | Yield in try | Yuriy Glukhov | 2018-05-09 | 2 | -90/+498 |
| | |||||
* | Minor dry up | Yuriy Glukhov | 2018-05-09 | 1 | -5/+3 |
| | |||||
* | Don't leak sem PContext into transf | Yuriy Glukhov | 2018-05-09 | 3 | -10/+9 |
| | |||||
* | Cosmetics | Yuriy Glukhov | 2018-05-09 | 1 | -23/+24 |
| | |||||
* | Closure iter transformation | Yuriy Glukhov | 2018-05-09 | 9 | -42/+712 |
| | |||||
* | 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 | ||||
* | fixes #7757 | Andreas Rumpf | 2018-05-06 | 1 | -0/+1 |
| | |||||
* | fixes #7774 (#7783) | alaviss | 2018-05-06 | 1 | -1/+3 |
| | |||||
* | fixes #7743 | Andreas Rumpf | 2018-05-06 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into araq-parser-fixes | Andreas Rumpf | 2018-05-06 | 3 | -17/+24 |
|\ | |||||
| * | Disable setTerminate when noCppExceptions is defined (#7751) | Emery Hemingway | 2018-05-04 | 1 | -1/+1 |
| | | |||||
| * | Fix filter_tmpl errors (#7763) | Dmitry Atamanov | 2018-05-04 | 1 | -12/+15 |
| | | |||||
| * | Merge pull request #7714 from data-man/show_compile_timestamps | Dominik Picheta | 2018-05-03 | 1 | -4/+8 |
| |\ | | | | | | | Compiler: show compile timestamps | ||||
| | * | Compiler: show compile timestamps | data-man | 2018-04-28 | 1 | -4/+8 |
| | | | |||||
* | | | make Nimble not crash after the refactoring | Andreas Rumpf | 2018-05-05 | 1 | -1/+2 |
| | | | |||||
* | | | compiler refactoring, pass config around explicitly | Andreas Rumpf | 2018-05-05 | 17 | -1879/+93 |
| | | | |||||
* | | | compiler/msgs.nim: minor code cleanup | Andreas Rumpf | 2018-05-05 | 1 | -105/+105 |
| | | | |||||
* | | | warn about inconsistent spacing around binary operators; fixes #7582 | Andreas Rumpf | 2018-05-05 | 6 | -12/+10 |
| | | | |||||
* | | | fixes #7582 | Andreas Rumpf | 2018-05-05 | 1 | -2/+3 |
|/ / | |||||
* | | compiler: code cleanup | Andreas Rumpf | 2018-05-02 | 1 | -3/+2 |
| | | |||||
* | | remove the deprecated 'nil' statement | Andreas Rumpf | 2018-05-02 | 1 | -18/+11 |
| | | |||||
* | | make 'not nil' experimental | Andreas Rumpf | 2018-05-02 | 3 | -1/+5 |
| | | |||||
* | | Don't hide overflow/underflow/divbyzero in semfold (#7732) | Oscar Nihlgård | 2018-05-02 | 2 | -32/+76 |
| | | | | | | | | | | * firstOrd/lastOrd bugfix * Don't hide overflow/underflow/divbyzero in semfold | ||||
* | | fixes #7730, fixes #7746 | Araq | 2018-05-02 | 1 | -2/+2 |
| | | |||||
* | | Fix renderer's errors (#7742) | Dmitry Atamanov | 2018-05-01 | 2 | -6/+9 |
| | | | | | | | | | | | | | | | | * Fix renderer's errors * Same for filter_tmpl * var -> let | ||||
* | | introduce --laxStrings:on switch | Araq | 2018-04-30 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'araq-strings-v1' into devel | Araq | 2018-04-30 | 4 | -5/+15 |
|\ \ | |||||
| * | | make msgs.nim more robust | Andreas Rumpf | 2018-04-30 | 1 | -0/+4 |
| | | | |||||
| * | | commands.nim: use let instead of var | Andreas Rumpf | 2018-04-30 | 1 | -2/+2 |
| | | | |||||
| * | | make the build more robust | Andreas Rumpf | 2018-04-30 | 2 | -3/+9 |
| | | | |||||
* | | | introduce --laxstrings switch for backwards compatibility | Araq | 2018-04-30 | 2 | -1/+3 |
|/ / | |||||
* | | the compiler does not rely on the zero terminator anymore | Andreas Rumpf | 2018-04-29 | 3 | -14/+13 |
| | | |||||
* | | renderer.nim: bugfix | Andreas Rumpf | 2018-04-29 | 1 | -0/+1 |
| | | |||||
* | | strutils: code cleanups and do not rely on the terminating binary zero anymore | Andreas Rumpf | 2018-04-28 | 1 | -8/+7 |
| | | |||||
* | | sigmatch: speed it up | Andreas Rumpf | 2018-04-28 | 2 | -20/+19 |
| | | |||||
* | | minor speedup: concept tests still green | Andreas Rumpf | 2018-04-28 | 3 | -14/+15 |
| | | |||||
* | | stuff that is green | Andreas Rumpf | 2018-04-28 | 3 | -23/+37 |
| | |