Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test case for #6434 | Ganesh Viswanathan | 2018-09-14 | 1 | -0/+19 |
| | |||||
* | Test case for #6163 (#8960) | genotrance | 2018-09-14 | 1 | -0/+17 |
| | | | | * Test case for #6163 | ||||
* | Fix system.nim line number test case failure | Ganesh Viswanathan | 2018-09-12 | 1 | -3/+3 |
| | |||||
* | Test cases for #6969 #7346 #7581 | Ganesh Viswanathan | 2018-09-12 | 3 | -0/+21 |
| | |||||
* | Merge pull request #8941 from timotheecour/pr_fix_8928 | Andreas Rumpf | 2018-09-12 | 1 | -0/+19 |
|\ | | | | | fix #8928 regression | ||||
| * | add testcase | Timothee Cour | 2018-09-11 | 1 | -0/+19 |
| | | |||||
* | | Merge pull request #8949 from nim-lang/araq-for-loop-expressions | Andreas Rumpf | 2018-09-12 | 1 | -0/+63 |
|\ \ | | | | | | | For loop expressions | ||||
| * | | add tcollect test for the new for-loops as expressions feature | Andreas Rumpf | 2018-09-11 | 1 | -0/+63 |
| | | | |||||
* | | | Fix add(string, cstring) when the lhs is null (#8951) | LemonBoy | 2018-09-12 | 1 | -0/+4 |
| | | | |||||
* | | | Fix concat behaviour for uninitialized strings (#8950) | LemonBoy | 2018-09-11 | 1 | -0/+5 |
| |/ |/| | |||||
* | | Fix semantic pass with borrowed magic procs (#8945) | LemonBoy | 2018-09-11 | 1 | -0/+8 |
| | | | | | | Reported by pqflx3 on the forum. | ||||
* | | Always emit hti object types if needed (#8940) | LemonBoy | 2018-09-11 | 1 | -0/+8 |
|/ | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938 | ||||
* | Narrowing casts are applied after every op if needed (#8918) | LemonBoy | 2018-09-08 | 1 | -4/+39 |
| | | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909 | ||||
* | Fix insert/delete for JS (#8915) | LemonBoy | 2018-09-08 | 1 | -0/+12 |
| | | | Fixes #8914 | ||||
* | Fix AST generation for case statements (#8908) | LemonBoy | 2018-09-07 | 1 | -0/+7 |
| | | | Fixes #7534 | ||||
* | Fix type comparison in semConv (#8907) | LemonBoy | 2018-09-07 | 1 | -0/+7 |
| | | | Fixes #8905 | ||||
* | Fixes #8243 (#8904) | Yuriy Glukhov | 2018-09-07 | 1 | -0/+23 |
| | |||||
* | Allow wCodegenDecl on lambdas (#8892) | LemonBoy | 2018-09-07 | 1 | -0/+13 |
| | |||||
* | Sync line generation between C and JS backends (#8888) | LemonBoy | 2018-09-07 | 1 | -0/+26 |
| | | | Fixes #7224 | ||||
* | Automatic deref for everything but pointers in asm/emit (#8891) | LemonBoy | 2018-09-07 | 3 | -5/+26 |
| | | | Fixes #7249 | ||||
* | Renderer bug fixes (#8804) | cooldome | 2018-09-07 | 1 | -1/+46 |
| | | | | | | 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 | ||||
* | Codegen fix for function pointers marked inline (#8866) | LemonBoy | 2018-09-04 | 2 | -0/+27 |
| | | | | Fixes #5345 Fixes #5701 | ||||
* | Fixes #8851 (#8859) | Yuriy Glukhov | 2018-09-04 | 1 | -0/+13 |
| | |||||
* | Correctly mangle `this` in the JS backend (#8853) | LemonBoy | 2018-09-03 | 2 | -2/+25 |
| | | | | | 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 #8043 | Araq | 2018-09-03 | 1 | -0/+24 |
| | |||||
* | Add sym owner to macros (#8253) | cooldome | 2018-09-03 | 1 | -1/+30 |
| | |||||
* | improve the error message for 'addQuitProc' etc; fixes #5794 | Araq | 2018-09-03 | 1 | -1/+2 |
| | |||||
* | fix items for cstring for the JS target; makes tests green again | Araq | 2018-09-03 | 1 | -2/+2 |
| | |||||
* | closes #5252 | Araq | 2018-09-03 | 1 | -0/+19 |
| | |||||
* | closes #4750 | Araq | 2018-09-03 | 1 | -0/+19 |
| | |||||
* | fixes #8740 | Araq | 2018-09-03 | 1 | -0/+15 |
| | |||||
* | fixes #8847 | Araq | 2018-09-03 | 1 | -1/+9 |
| | |||||
* | fixes #8052 | Araq | 2018-08-31 | 1 | -0/+23 |
| | |||||
* | Constant folding for integer casts (#8095) | LemonBoy | 2018-08-31 | 1 | -0/+60 |
| | |||||
* | Do not materialize empty varargs[untyped] arrays (#8715) | LemonBoy | 2018-08-31 | 1 | -0/+21 |
| | | | | | | | | | 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 | ||||
* | merged #8624 manually; fixes #8442; closes #8575 | Araq | 2018-08-31 | 1 | -0/+32 |
| | |||||
* | fixes #8066 | Araq | 2018-08-31 | 1 | -0/+19 |
| | |||||
* | introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817) | Andreas Rumpf | 2018-08-30 | 1 | -1/+13 |
| | |||||
* | fixes #7854 | Araq | 2018-08-30 | 1 | -0/+36 |
| | |||||
* | Allow `hint` and `warning` to specify its loc info (#8771) | LemonBoy | 2018-08-28 | 1 | -0/+24 |
| | | | Let's bring those to feature-parity with `error`. | ||||
* | fixes #4766 | Araq | 2018-08-28 | 1 | -0/+19 |
| | |||||
* | added a test to ensure that for-loop-variables cannot be mutated | Araq | 2018-08-28 | 1 | -0/+15 |
| | |||||
* | Fix nkImportAs regression (#8796) | Oscar NihlgÄrd | 2018-08-28 | 1 | -0/+5 |
| | |||||
* | added missing file to make tests green | Araq | 2018-08-27 | 1 | -0/+30 |
| | |||||
* | allow .experimental in a .push/pop environment; refs #8676 | Araq | 2018-08-27 | 1 | -0/+13 |
| | |||||
* | fixes #8781 by appending "_U" instead of 'U' (#8787) | Vindaar | 2018-08-27 | 1 | -0/+25 |
| | |||||
* | doAssert, assert now print full path of failing line on error (#8555) | Timothee Cour | 2018-08-25 | 3 | -15/+81 |
| | |||||
* | Process timers before and after `select`. Fixes flaky #7758 test. (#8750) | Dominik Picheta | 2018-08-25 | 1 | -5/+6 |
| | |||||
* | More checks for custom pragmas placement (#8765) | LemonBoy | 2018-08-25 | 1 | -1/+1 |
| | | | | We're not interested in custom pragmas attached to certain node kinds so the compiler silently ignored them. | ||||
* | Add interpreting event parser proc to pegs module. (#8075) | gemath | 2018-08-24 | 1 | -36/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export. |