summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8949 from nim-lang/araq-for-loop-expressionsAndreas Rumpf2018-09-127-79/+98
|\ | | | | For loop expressions
| * extended system.type/typeof to support an upcoming 'collect' macro that ↵Andreas Rumpf2018-09-115-56/+67
| | | | | | | | works much better than sugar.lc
| * fixes merge conflictsAndreas Rumpf2018-09-11130-14458/+14392
| |\
| | * Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-09-1110-111/+216
| | |\
| | * | fixes #3655Andreas Rumpf2018-09-051-5/+10
| | | |
| * | | steps to get for loops as expressionsAndreas Rumpf2018-02-282-21/+34
| | | |
* | | | Fix concat behaviour for uninitialized strings (#8950)LemonBoy2018-09-111-10/+12
| | | |
* | | | Fix semantic pass with borrowed magic procs (#8945)LemonBoy2018-09-111-0/+3
| |_|/ |/| | | | | Reported by pqflx3 on the forum.
* | | JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-19/+15
| | |
* | | Narrowing casts are applied after every op if needed (#8918)LemonBoy2018-09-081-28/+47
| | | | | | | | | | | | | | | | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909
* | | Fix AST generation for case statements (#8908)LemonBoy2018-09-071-1/+5
| | | | | | | | | Fixes #7534
* | | Don't segfault if the line is empty (#8906)LemonBoy2018-09-071-3/+3
| | |
* | | Fix type comparison in semConv (#8907)LemonBoy2018-09-071-1/+2
| | | | | | | | | Fixes #8905
* | | Fixes #8243 (#8904)Yuriy Glukhov2018-09-071-0/+19
| | |
* | | Allow wCodegenDecl on lambdas (#8892)LemonBoy2018-09-071-1/+1
| | |
* | | Sync line generation between C and JS backends (#8888)LemonBoy2018-09-071-3/+3
| | | | | | | | | Fixes #7224
* | | Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-071-2/+13
| | | | | | | | | Fixes #7249
* | | Renderer bug fixes (#8804)cooldome2018-09-073-50/+105
| | | | | | | | | | | | | | | | | | Fixes #8763: render bug: pure enums not handled correctly Fixes #8762: render bug: binary operators called with quotes rendered incorrectly FIxes #8761: render bug: inversion of operator priorities
* | | Fixes #8851 (#8859)Yuriy Glukhov2018-09-041-3/+3
| |/ |/|
* | system.compileDate and compileTime are in UTC; fixes #7305; docgen supports ↵Andreas Rumpf2018-09-033-19/+23
| | | | | | | | SOURCE_DATE_EPOCH, fixes #3113
* | Correctly mangle `this` in the JS backend (#8853)LemonBoy2018-09-031-1/+2
| | | | | | | | | | As shown in pragmagic/karax#67 using `this` as parameter name made the codegen output wrong code (and the user didn't notice the errors in the browser console).
* | fixes #8043Araq2018-09-032-4/+10
| |
* | Add sym owner to macros (#8253)cooldome2018-09-035-2/+14
| |
* | improve the error message for 'addQuitProc' etc; fixes #5794Araq2018-09-031-12/+12
| |
* | fixes #8852Araq2018-09-031-5/+5
| |
* | fixes #5745Araq2018-09-033-7/+11
| |
* | fixes the remaining fixable Nimrod->Nim renamings; closes #2032Araq2018-09-034-14/+14
| |
* | fixes #8740Araq2018-09-031-1/+1
| |
* | fixes #8028Andreas Rumpf2018-09-031-1/+1
| |
* | runnableExample: put each example to its own file; fixes #7285Andreas Rumpf2018-09-032-30/+27
| |
* | fixes #8831Andreas Rumpf2018-09-031-1/+1
| |
* | Make sure addGotoOut always inserts its node (#8843)LemonBoy2018-09-031-1/+1
| | | | | | Fixes #8773
* | change runnableExamples implementation; fixes #8641; fixes #7135; ↵Andreas Rumpf2018-09-025-42/+70
| | | | | | | | runnableExamples works for templates and generics
* | fixes #8694Andreas Rumpf2018-09-021-2/+2
| |
* | fixes #8052Araq2018-08-311-1/+1
| |
* | Constant folding for integer casts (#8095)LemonBoy2018-08-311-7/+25
| |
* | Do not materialize empty varargs[untyped] arrays (#8715)LemonBoy2018-08-311-6/+17
| | | | | | | | | | | | | | | | | | When an empty nkArgList `varargs[untyped]` is passed around it is now reused for efficiency sake and to prevent the introduction of a spurious element: before this commit we'd pass the caller a nkArgList[nkHiddenStdConv[nkBracket]] node instead of just an empty nkArgList. Fixes #8706
* | fixes #8066Araq2018-08-312-3/+9
| |
* | introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-302-2/+11
| |
* | fixes #7854Araq2018-08-301-1/+2
| |
* | make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-306-70/+131
| | | | | | | | | | | | | | | | | | searched / run (#8682) * run project config.nims if exists, then inputfile.nims if exists * ~/.config/nim/config.nims can now be used * also check in getSystemConfigPath for config.nims * refactor handleCmdLine for nim and nimsuggest
* | Allow `hint` and `warning` to specify its loc info (#8771)LemonBoy2018-08-282-10/+14
| | | | | | Let's bring those to feature-parity with `error`.
* | fixes #4766Araq2018-08-281-1/+2
| |
* | Fix nkImportAs regression (#8796)Oscar Nihlgård2018-08-281-9/+14
| |
* | show all mismatching overloads againAraq2018-08-271-9/+11
| |
* | improve the error message for mutability problems that arise from implicit ↵Araq2018-08-271-1/+3
| | | | | | | | converter calls
* | fixes #8776Araq2018-08-271-10/+11
| |
* | allow .experimental in a .push/pop environment; refs #8676Araq2018-08-272-17/+23
| |
* | optimize away genericReset for result assignment; refs #8745Araq2018-08-271-3/+112
| |
* | fixes #8781 by appending "_U" instead of 'U' (#8787)Vindaar2018-08-271-1/+3
| |