Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 1 | -1/+1 |
| | | | | conventions outlined in NEP-1 | ||||
* | Merge pull request #7981 from cooldome/Fix_-7980 | Andreas Rumpf | 2018-06-12 | 1 | -2/+6 |
|\ | | | | | Fixes 7980 | ||||
| * | style improvements | cooldome | 2018-06-12 | 1 | -2/+2 |
| | | |||||
| * | add comment | cooldome | 2018-06-12 | 1 | -0/+1 |
| | | |||||
| * | New approach | cooldome | 2018-06-12 | 1 | -2/+5 |
| | | |||||
* | | fixex merge conflicts | Araq | 2018-06-08 | 1 | -0/+8 |
|\| | |||||
| * | add more test to 4799 | andri lim | 2018-06-05 | 1 | -0/+8 |
| | | |||||
* | | ensure compiler API doesn't import the RST engine | Andreas Rumpf | 2018-05-29 | 1 | -1/+1 |
| | | |||||
* | | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -5/+5 |
| | | | | | | | | around explicitly | ||||
* | | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -5/+5 |
| | | |||||
* | | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | | |||||
* | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -14/+18 |
| | | |||||
* | | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -3/+6 |
|/ | |||||
* | make tests green again | Araq | 2018-05-14 | 1 | -2/+2 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 1 | -5/+9 |
|\ | |||||
| * | Bugfix: The compiler were not inserting proper downcasts for generic types | Zahary Karadjov | 2018-05-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | 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). | ||||
| * | 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. | ||||
| * | Better support for treating templates and macros as symbols. | Zahary Karadjov | 2018-05-07 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -2/+2 |
| | | |||||
* | | sigmatch compiles again | Andreas Rumpf | 2018-05-11 | 1 | -42/+44 |
|/ | |||||
* | sigmatch: speed it up | Andreas Rumpf | 2018-04-28 | 1 | -3/+1 |
| | |||||
* | minor speedup: concept tests still green | Andreas Rumpf | 2018-04-28 | 1 | -10/+9 |
| | |||||
* | stuff that is green | Andreas Rumpf | 2018-04-28 | 1 | -7/+17 |
| | |||||
* | fixes #7600, generic object with generic ref object parent typerel bug (#7678) | andri lim | 2018-04-27 | 1 | -2/+7 |
| | | | | | | * fixes #7600 * fix wrong logic | ||||
* | Static[T] fixes (#7333) | zah | 2018-03-24 | 1 | -1/+1 |
| | | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests | ||||
* | fixes #7331 | Araq | 2018-03-18 | 1 | -1/+2 |
| | |||||
* | improves the stability of 'nim check' | Andreas Rumpf | 2018-03-13 | 1 | -1/+3 |
| | |||||
* | fixes #7247 | Andreas Rumpf | 2018-02-23 | 1 | -28/+31 |
| | |||||
* | Fixes #6853 (#7188) | cooldome | 2018-02-10 | 1 | -1/+6 |
| | | | | | * Fixes #6853 * Add a test for a const empty array | ||||
* | improve the error messages regarding type mismatches in overloading resolution | Andreas Rumpf | 2018-02-04 | 1 | -2/+6 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-02-03 | 1 | -16/+16 |
| | |||||
* | disabled non-documented overloading rule for templates and macros | Andreas Rumpf | 2018-02-02 | 1 | -13/+16 |
| | |||||
* | better type inference for numerical types; prerequisitive for version 1 | Andreas Rumpf | 2018-02-02 | 1 | -3/+29 |
| | |||||
* | sink type begins to compile | Andreas Rumpf | 2018-01-08 | 1 | -14/+16 |
| | |||||
* | fixes #6073 | Andreas Rumpf | 2017-11-18 | 1 | -1/+1 |
| | |||||
* | Fix compiler crash (#6773) (#6774) | cooldome | 2017-11-18 | 1 | -1/+1 |
| | |||||
* | concepts: fixes the stack overflow that happens for #6691 | Andreas Rumpf | 2017-11-05 | 1 | -1/+2 |
| | |||||
* | make range type checking more restrictive, see tn8vsint16 test case; minor ↵ | Andreas Rumpf | 2017-11-01 | 1 | -1/+10 |
| | | | | breaking change | ||||
* | made nimresolve part of the compiler | Andreas Rumpf | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -8/+8 |
| | |||||
* | fixes #6526 | Araq | 2017-10-27 | 1 | -10/+14 |
| | |||||
* | destructors: supportsCopyMem finally works for recursive types | Araq | 2017-10-26 | 1 | -1/+2 |
| | |||||
* | preparations for another bugfix | Andreas Rumpf | 2017-10-19 | 1 | -1/+12 |
| | |||||
* | breaking change: arrays of char do not convert to cstring; ptr to array of ↵ | Andreas Rumpf | 2017-10-10 | 1 | -6/+7 |
| | | | | char does | ||||
* | some work to make 'opt' a first class type | Andreas Rumpf | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -4/+4 |
| | |||||
* | fix #5918 | Zahary Karadjov | 2017-08-19 | 1 | -1/+3 |
| | |||||
* | Fix #5084 | Zahary Karadjov | 2017-06-20 | 1 | -3/+6 |
| | |||||
* | Fix #4737 | Zahary Karadjov | 2017-06-20 | 1 | -3/+6 |
| | |||||
* | Fix #5127 | Zahary Karadjov | 2017-06-20 | 1 | -5/+6 |
| |