Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -18/+18 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -10/+10 |
| | |||||
* | make semantic checking free of globals | Andreas Rumpf | 2018-05-18 | 1 | -2/+2 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -7/+7 |
| | |||||
* | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -13/+16 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 1 | -5/+28 |
|\ | |||||
| * | implement the export/except statement | Zahary Karadjov | 2018-05-07 | 1 | -2/+21 |
| | | |||||
| * | A motivating example for the new `bindSym` behavior. | Zahary Karadjov | 2018-05-07 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | 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 | 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 | -6/+6 |
| | | |||||
* | | make nimsuggest compile again | Andreas Rumpf | 2018-05-13 | 1 | -1/+1 |
| | | |||||
* | | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 1 | -144/+151 |
| | | |||||
* | | semstmts compiles again | Andreas Rumpf | 2018-05-12 | 1 | -3/+3 |
| | | |||||
* | | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -107/+107 |
|/ | |||||
* | compiler refactoring, pass config around explicitly | Andreas Rumpf | 2018-05-05 | 1 | -3/+3 |
| | |||||
* | minor speedup: concept tests still green | Andreas Rumpf | 2018-04-28 | 1 | -1/+2 |
| | |||||
* | stuff that is green | Andreas Rumpf | 2018-04-28 | 1 | -1/+2 |
| | |||||
* | semcheck: code cleanups | Andreas Rumpf | 2018-04-28 | 1 | -5/+1 |
| | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -3/+3 |
| | |||||
* | new 'var T' error messages with hyperlinks; closes #7373 | Andreas Rumpf | 2018-04-22 | 1 | -4/+4 |
| | |||||
* | fixes #5113 | Andreas Rumpf | 2018-04-21 | 1 | -0/+8 |
| | |||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -9/+11 |
| | |||||
* | Static[T] fixes (#7333) | zah | 2018-03-24 | 1 | -6/+34 |
| | | | | | | | | | | | * 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 | ||||
* | enforce 'var T' produces a view into the first parameter; refs #7373 | Andreas Rumpf | 2018-03-24 | 1 | -4/+7 |
| | |||||
* | more checking for 'var T' as return type; refs #7373 | Andreas Rumpf | 2018-03-24 | 1 | -1/+8 |
| | |||||
* | better error messages | Araq | 2018-03-18 | 1 | -0/+4 |
| | |||||
* | make the 'canimport' template work | Andreas Rumpf | 2018-03-06 | 1 | -1/+8 |
| | |||||
* | improve the error message for mutability problems | Araq | 2018-02-17 | 1 | -1/+1 |
| | |||||
* | better error messages: use <T1, T2> instead of (T1, T2) in order to prevent ↵ | Araq | 2018-02-10 | 1 | -1/+1 |
| | | | | confusions with tuple types | ||||
* | basic 'lent T' test works | Andreas Rumpf | 2018-01-21 | 1 | -8/+8 |
| | |||||
* | Implement custom annotations (#6987) | cooldome | 2018-01-09 | 1 | -1/+2 |
| | |||||
* | Merge branch 'devel' into nimv2 | Andreas Rumpf | 2018-01-08 | 1 | -11/+10 |
|\ | |||||
| * | fixes #7018 | Andreas Rumpf | 2018-01-08 | 1 | -11/+10 |
| | | |||||
* | | sink type begins to compile | Andreas Rumpf | 2018-01-08 | 1 | -1/+12 |
| | | |||||
* | | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -27/+27 |
|/ | |||||
* | fixes reported 'proc foo(): int = result' codegen problem | Araq | 2017-12-30 | 1 | -5/+1 |
| | |||||
* | fixes #6980 | Araq | 2017-12-27 | 1 | -0/+13 |
| | |||||
* | fix #6108 | Zahary Karadjov | 2017-12-21 | 1 | -5/+8 |
| | |||||
* | first steps in adding template/macro calls to stack traces | Araq | 2017-12-21 | 1 | -0/+1 |
| | |||||
* | Alternative fix for #4910 that covers #6892; fixes #6892 (#6938) | cooldome | 2017-12-17 | 1 | -8/+6 |
| | |||||
* | fixes #6932 | Araq | 2017-12-17 | 1 | -1/+1 |
| | |||||
* | runnableExamples feature: allow import statements and move them to the top level | Araq | 2017-12-17 | 1 | -0/+10 |
| | |||||
* | make tests green again | Araq | 2017-12-15 | 1 | -0/+2 |
| | |||||
* | make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693 | Araq | 2017-12-15 | 1 | -2/+2 |
| | |||||
* | more progress on destructors; removed old destructor based code as it proved ↵ | Araq | 2017-12-01 | 1 | -2/+1 |
| | | | | confusing | ||||
* | the documentation generator now supports ':test:' for the testing of test ↵ | Araq | 2017-11-28 | 1 | -7/+8 |
| | | | | snippets | ||||
* | fixes system.runnableExamples; strutils makes use of runnableExamples | Araq | 2017-11-26 | 1 | -2/+2 |
| | |||||
* | the documentation generator now supports system.runnableExamples | Araq | 2017-11-26 | 1 | -0/+11 |
| | |||||
* | improve the error messages for bug #6692 | Araq | 2017-11-05 | 1 | -4/+5 |
| |