Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes merge conflict | Araq | 2018-08-23 | 1 | -0/+1 |
|\ | |||||
| * | Fix #8126 (#8712) | zah | 2018-08-21 | 1 | -0/+1 |
| | | | | | | | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release. | ||||
* | | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -19/+33 |
| | | |||||
* | | fixes merge conflict | Andreas Rumpf | 2018-08-19 | 1 | -6/+20 |
|\| | |||||
| * | Merge branch 'devel' into araq-misc | Andreas Rumpf | 2018-08-16 | 1 | -0/+8 |
| |\ | |||||
| | * | Fix unsound transform pass (#8633) | LemonBoy | 2018-08-14 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime. | ||||
| * | | fixes more nil handling regressions | Araq | 2018-08-13 | 1 | -2/+2 |
| | | | |||||
| * | | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -3/+9 |
| |/ | |||||
| * | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 1 | -1/+1 |
| | | |||||
* | | allows a destructor to be attached to a tyString/tySequence | Andreas Rumpf | 2018-07-27 | 1 | -3/+3 |
| | | |||||
* | | ast.nim: remove space for unary operator | Andreas Rumpf | 2018-07-22 | 1 | -1/+1 |
| | | |||||
* | | fix merge conflict | Andreas Rumpf | 2018-07-18 | 1 | -1/+2 |
|\| | |||||
| * | Custom pragmas in proc types (#8205) | cooldome | 2018-07-09 | 1 | -1/+2 |
| | | |||||
* | | WIP: strings/seqs based on destructors | Andreas Rumpf | 2018-07-17 | 1 | -0/+1 |
|/ | |||||
* | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -1/+7 |
| | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
* | fixes #7222; fixes #5595; fixes #3747 | Zahary Karadjov | 2018-06-16 | 1 | -0/+1 |
| | | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr | ||||
* | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 1 | -2/+2 |
| | |||||
* | WIP: an API for VM replay global state support | Andreas Rumpf | 2018-06-03 | 1 | -3/+7 |
| | |||||
* | incremental compilation: implemented basic replay logic | Andreas Rumpf | 2018-06-02 | 1 | -16/+20 |
| | |||||
* | baby steps for incremental compilation | Andreas Rumpf | 2018-05-30 | 1 | -0/+2 |
| | |||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | | | | around explicitly | ||||
* | more refactoring | Andreas Rumpf | 2018-05-27 | 1 | -2/+2 |
| | |||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -8/+2 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 1 | -1/+14 |
|\ | |||||
| * | fix a compiler crash related to the new strings in C++ mode | Zahary Karadjov | 2018-05-07 | 1 | -1/+1 |
| | | |||||
| * | Better support for treating templates and macros as symbols. | Zahary Karadjov | 2018-05-07 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -9/+10 |
| | | |||||
* | | big refactoring: parser compiles again | Andreas Rumpf | 2018-05-10 | 1 | -8/+12 |
|/ | |||||
* | Use safeLen in pairs iterator for PNode (#7684) | Oscar Nihlgård | 2018-04-25 | 1 | -1/+1 |
| | |||||
* | remove dead code elimination option (#7669) | Jacek Sieka | 2018-04-23 | 1 | -3/+3 |
| | |||||
* | refactoring: make FileIndex a distinct type; make line information an ↵ | Andreas Rumpf | 2018-04-21 | 1 | -5/+5 |
| | | | | uint16; fixes #7654 | ||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -1/+2 |
| | |||||
* | fixes #6895 | Andreas Rumpf | 2018-04-11 | 1 | -2/+2 |
| | |||||
* | Get symbol kind (#7491) | Arne Döring | 2018-04-11 | 1 | -2/+3 |
| | |||||
* | Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) | cooldome | 2018-04-10 | 1 | -0/+13 |
| | |||||
* | the 'deprecated' pragma for modules now supports an error message | Araq | 2018-04-06 | 1 | -0/+2 |
| | |||||
* | destructors: first version of 'sink' parameter logic | Andreas Rumpf | 2018-03-31 | 1 | -2/+0 |
| | |||||
* | further steps in implementing sink parameters; refs #7041 | Araq | 2018-03-30 | 1 | -0/+2 |
| | |||||
* | Static[T] fixes (#7333) | zah | 2018-03-24 | 1 | -4/+5 |
| | | | | | | | | | | | * 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 #7215 | Andreas Rumpf | 2018-02-14 | 1 | -1/+1 |
| | |||||
* | genTryCpp to catch by Nim type, ready for first review (#7196) | cooldome | 2018-02-12 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header | ||||
* | move new sha1 module into the new 'std' namespace | Andreas Rumpf | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | fixes #6961 | Andreas Rumpf | 2018-02-02 | 1 | -1/+1 |
| | |||||
* | Custom pragmas in procs bug fix (#7086) | cooldome | 2018-01-18 | 1 | -0/+1 |
| | |||||
* | Implement custom annotations (#6987) | cooldome | 2018-01-09 | 1 | -0/+1 |
| | |||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -5/+5 |
| | |||||
* | work in progress: 'sink' and 'lent' types | Araq | 2018-01-07 | 1 | -2/+2 |
| | |||||
* | first steps in adding template/macro calls to stack traces | Araq | 2017-12-21 | 1 | -2/+2 |
| | |||||
* | Now analyzes over magics instead of symbol names; but dosn't compile for me | Veladus | 2017-12-11 | 1 | -1/+2 |
| |