Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | code cleanup: remove newScopeForIf switch | Andreas Rumpf | 2018-07-04 | 1 | -4/+2 |
| | |||||
* | Minor changes to discardable handling (#8155) | LemonBoy | 2018-07-01 | 1 | -8/+7 |
| | |||||
* | Merge pull request #8108 from LemonBoy/fix-5958 | Andreas Rumpf | 2018-06-26 | 1 | -0/+2 |
|\ | | | | | Make `static` blocks introduce their own scope | ||||
| * | Make `static` blocks introduce their own scope | LemonBoy | 2018-06-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958 | ||||
* | | Merge pull request #7964 from LemonBoy/fix-7936 | Andreas Rumpf | 2018-06-25 | 1 | -2/+9 |
|\ \ | |/ |/| | Fixes #7936 | ||||
| * | Use the resolved typedesc in semVarOrLet | LemonBoy | 2018-06-23 | 1 | -2/+9 |
| | | | | | | | | | | By leaving the unsemanticized node in the AST we'd trip some passes like the Transf one as seen in #7936. | ||||
* | | Fixed proto options | Yuriy Glukhov | 2018-06-15 | 1 | -0/+1 |
| | | |||||
* | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | Yuriy Glukhov | 2018-06-14 | 1 | -3/+2 |
| | | |||||
* | | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 1 | -2/+2 |
| | | | | | | | | conventions outlined in NEP-1 | ||||
* | | Allow stacktrace and linetrace pragmas on procs | Yuriy Glukhov | 2018-06-12 | 1 | -0/+3 |
| | | |||||
* | | make tests green properly | Andreas Rumpf | 2018-06-11 | 1 | -2/+2 |
| | | |||||
* | | fixes merge conflict | Andreas Rumpf | 2018-06-11 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix type inference with static literals. | LemonBoy | 2018-06-10 | 1 | -1/+1 |
| |/ | | | | | | | Fixes #3977 | ||||
* | | make tests green again | Andreas Rumpf | 2018-06-11 | 1 | -6/+8 |
| | | |||||
* | | AST change: keep nkStaticStmt in the AST for incremental compilation support | Andreas Rumpf | 2018-06-03 | 1 | -3/+6 |
| | | |||||
* | | incremental compilation: implemented basic replay logic | Andreas Rumpf | 2018-06-02 | 1 | -4/+5 |
| | | |||||
* | | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -10/+10 |
| | | | | | | | | around explicitly | ||||
* | | implements --hint[globalvar]:on switch for quickly finding global variables | Andreas Rumpf | 2018-05-27 | 1 | -0/+2 |
| | | |||||
* | | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -9/+9 |
| | | |||||
* | | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -4/+5 |
| | | |||||
* | | make semantic checking free of globals | Andreas Rumpf | 2018-05-18 | 1 | -13/+11 |
| | | |||||
* | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -3/+3 |
| | | |||||
* | | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -2/+2 |
| | | |||||
* | | remove ast.emptyNode global; cleanup configuration.nim | Araq | 2018-05-16 | 1 | -8/+8 |
|/ | |||||
* | make tests green again | Araq | 2018-05-14 | 1 | -1/+1 |
| | |||||
* | fixes testament compilation | Araq | 2018-05-14 | 1 | -0/+2 |
|\ | |||||
| * | 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) | ||||
* | | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -9/+9 |
| | | |||||
* | | make nimsuggest compile again | Andreas Rumpf | 2018-05-13 | 1 | -3/+3 |
| | | |||||
* | | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 1 | -2/+2 |
| | | |||||
* | | semstmts compiles again | Andreas Rumpf | 2018-05-12 | 1 | -92/+103 |
| | | |||||
* | | more modules compile again | Andreas Rumpf | 2018-05-12 | 1 | -124/+124 |
|/ | |||||
* | compiler refactoring, pass config around explicitly | Andreas Rumpf | 2018-05-05 | 1 | -2/+3 |
| | |||||
* | warn about inconsistent spacing around binary operators; fixes #7582 | Andreas Rumpf | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | remove the deprecated 'nil' statement | Andreas Rumpf | 2018-05-02 | 1 | -18/+11 |
| | |||||
* | fixes #7663 | Andreas Rumpf | 2018-04-28 | 1 | -7/+8 |
| | |||||
* | semcheck: code cleanups | Andreas Rumpf | 2018-04-28 | 1 | -49/+3 |
| | |||||
* | remove standalone 'except' and 'finally' statements that have been ↵ | Andreas Rumpf | 2018-04-28 | 1 | -72/+38 |
| | | | | deprecated for years | ||||
* | enforce dot and call operators are used with an explicit .experimental pragma | Andreas Rumpf | 2018-04-27 | 1 | -2/+4 |
| | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -48/+23 |
| | |||||
* | refactoring: make FileIndex a distinct type; make line information an ↵ | Andreas Rumpf | 2018-04-21 | 1 | -4/+4 |
| | | | | uint16; fixes #7654 | ||||
* | semstmts: fewer empty lines | Andreas Rumpf | 2018-04-19 | 1 | -5/+0 |
| | |||||
* | implements first version of for-loop macros | Andreas Rumpf | 2018-04-15 | 1 | -2/+37 |
| | |||||
* | fixes #7451 (#7575) | RSDuck | 2018-04-14 | 1 | -5/+16 |
| | |||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -2/+2 |
| | |||||
* | 'func' is now an alias for 'proc .noSideEffect' | Andreas Rumpf | 2018-04-12 | 1 | -6/+8 |
| | |||||
* | Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) | cooldome | 2018-04-10 | 1 | -16/+31 |
| | |||||
* | Allow only single infix as in except branches. Fixes #7115 (#7132) | cooldome | 2018-03-08 | 1 | -44/+36 |
| | |||||
* | fixes #6992 | Andreas Rumpf | 2018-02-25 | 1 | -0/+9 |
| | |||||
* | genTryCpp to catch by Nim type, ready for first review (#7196) | cooldome | 2018-02-12 | 1 | -10/+4 |
| | | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header |