summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* fixes 7980cooldome2018-06-061-21/+29
|
* Merge pull request #7550 from jangko/fix4799Andreas Rumpf2018-06-062-1/+11
|\ | | | | fixes #4799, varargs now can accept polymorphic types
| * add more test to 4799andri lim2018-06-052-1/+11
| |
* | Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969.Yuriy Glukhov2018-06-061-2/+15
| |
* | Merge pull request #7907 from GULPF/lexer-unicode-fixAndreas Rumpf2018-06-061-1/+1
|\ \ | | | | | | Lexer fix for multi byte characters
| * | Multi byte characters should not be treated as part of an operatorOscar Nihlgård2018-06-031-1/+1
| | |
* | | Merge pull request #7967 from nitely/empty_openarray_7904Andreas Rumpf2018-06-062-10/+14
|\ \ \ | | | | | | | | support empty toOpenArray
| * | | check bounds instead of indexnitely2018-06-052-10/+14
| | |/ | |/|
* | | CosmeticsYuriy Glukhov2018-06-051-18/+13
| | |
* | | Merge pull request #7770 from yglukhov/yield-in-tryAndreas Rumpf2018-06-058-67/+1392
|\ \ \ | |/ / |/| | Yield in try
| * | Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-15100-5342/+5403
| |\ \
| * | | Review comments addressed. More thorough line info tracking.Yuriy Glukhov2018-05-101-65/+65
| | | |
| * | | Fixed line infoYuriy Glukhov2018-05-091-0/+1
| | | |
| * | | CosmeticsYuriy Glukhov2018-05-092-164/+77
| | | |
| * | | Small fix and cosmeticsYuriy Glukhov2018-05-092-8/+2
| | | |
| * | | Fixed codegen (added blockLeaveActions) to closure itersYuriy Glukhov2018-05-091-35/+38
| | | |
| * | | Corrected nkExceptBranch transformationYuriy Glukhov2018-05-091-13/+24
| | | |
| * | | More elaborate nkStmtListExpr loweringYuriy Glukhov2018-05-091-32/+372
| | | |
| * | | CleanupYuriy Glukhov2018-05-091-49/+31
| | | |
| * | | Yield in tryYuriy Glukhov2018-05-092-90/+498
| | | |
| * | | Minor dry upYuriy Glukhov2018-05-091-5/+3
| | | |
| * | | Don't leak sem PContext into transfYuriy Glukhov2018-05-093-10/+9
| | | |
| * | | CosmeticsYuriy Glukhov2018-05-091-23/+24
| | | |
| * | | Closure iter transformationYuriy Glukhov2018-05-099-42/+712
| | | |
* | | | fixes #7906, array and openarray arg vs. ptr/ref generic (#7909)andri lim2018-06-042-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | * fixes #7906, array and openarray arg vs. ptr/ref generic * add comment
* | | | Fix for newStringOfCap in VM (#7901)Oscar Nihlgård2018-06-041-1/+2
| | | |
* | | | Wait until the end to print hint Conf (#7931)WhiteDuke2018-06-041-7/+18
| | | |
* | | | Support multi byte characters in module names (#7916)Oscar Nihlgård2018-05-311-1/+1
| |_|/ |/| |
* | | fixes #7818, correct internal representation of generic objects array ↵andri lim2018-05-292-3/+7
| | | | | | | | | | | | | | | | | | | | | construction (#7824) * defer skiptypes * defer skiptypes for tyRef & tyPtr * remove unneeded skipTypes
* | | fix #7883; fix #7829Zahary Karadjov2018-05-263-8/+10
| | |
* | | Use new binarySearch everywhere (#7876)Dmitry Atamanov2018-05-251-14/+0
| | |
* | | fixes filter bug for empty linesdata-man2018-05-221-14/+10
| | |
* | | fixes #7696, add ConfigRef.arguments initialization (#7858)andri lim2018-05-221-1/+2
| | |
* | | fixes #7855data-man2018-05-211-1/+1
| | |
* | | fixes yet another indexing bug caused by the strict stringsAraq2018-05-211-1/+1
| | |
* | | Fix typo in "out of bounds" error messagecoffeepots2018-05-181-1/+1
| | |
* | | Allow better optimisations by removing NOINLINE from module init procsYuriy Glukhov2018-05-161-4/+4
| |/ |/|
* | documentation generator works againAndreas Rumpf2018-05-152-9/+9
| |
* | make tests green on UnixAndreas Rumpf2018-05-152-5/+6
| |
* | make tests green againAraq2018-05-149-16/+16
| |
* | fixes testament compilationAraq2018-05-1417-37/+107
|\|
| * VM fix for refsOscar Nihlgård2018-05-081-2/+8
| |
| * implement the export/except statementZahary Karadjov2018-05-072-7/+29
| |
| * Bugfix: The compiler were not inserting proper downcasts for generic typesZahary Karadjov2018-05-072-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++ modeZahary Karadjov2018-05-072-9/+9
| |
| * Support thread-local variables declared inside procs; fixes #7565Zahary Karadjov2018-05-071-1/+1
| |
| * Backwards-compatible support for keyword arguments in the command syntaxZahary Karadjov2018-05-071-4/+13
| |
| * Bugfix: Allow matching on nkExprEqExpr against varargs[untyped]Zahary Karadjov2018-05-071-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 Karadjov2018-05-074-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 Karadjov2018-05-075-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.