Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix internal error when casting to invalid enum value | Neelesh Chandola | 2018-12-15 | 1 | -1/+3 |
| | |||||
* | Merge pull request #9881 from timotheecour/pr_ref_9880 | Andreas Rumpf | 2018-12-11 | 1 | -3/+5 |
|\ | | | | | refs #9880 show index and bound in lots of `index out of bounds` errors | ||||
| * | refs #9880 show index and bound in lots of `index out of bounds` errors | Timothee Cour | 2018-12-09 | 1 | -3/+5 |
| | | |||||
* | | fixes #9868 | Araq | 2018-12-11 | 1 | -0/+8 |
|/ | |||||
* | NaN fixes for clang backend (#9652) | Arne Döring | 2018-11-08 | 1 | -6/+1 |
| | |||||
* | language cleanup: the .unchecked pragma is dead | Araq | 2018-11-06 | 1 | -9/+8 |
| | |||||
* | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux | ||||
* | [WIP] Early evaluation of mIs (#8723) | LemonBoy | 2018-10-14 | 1 | -40/+3 |
| | | | | | | | | | | * Early evaluation of mIs The `evalIs` implementation was just a broken copy of `isOpImpl` so let's just avoid it alltogether: `mIs` nodes are either resolved during the semantic phase or bust. * Remove dead code and tidy it up | ||||
* | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 1 | -12/+0 |
| | |||||
* | string to string conversion keeps the dest type (#9323) | LemonBoy | 2018-10-12 | 1 | -1/+1 |
| | | | Fixes #9322 | ||||
* | Constant folding should not drop distinct types | LemonBoy | 2018-09-27 | 1 | -4/+1 |
| | | | | Fixes #9079 | ||||
* | Narrowing casts are applied after every op if needed (#8918) | LemonBoy | 2018-09-08 | 1 | -28/+47 |
| | | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909 | ||||
* | system.compileDate and compileTime are in UTC; fixes #7305; docgen supports ↵ | Andreas Rumpf | 2018-09-03 | 1 | -18/+3 |
| | | | | SOURCE_DATE_EPOCH, fixes #3113 | ||||
* | Constant folding for integer casts (#8095) | LemonBoy | 2018-08-31 | 1 | -7/+25 |
| | |||||
* | Fix abs & unary sub in semfold (#8724) | Oscar Nihlgård | 2018-08-22 | 1 | -2/+6 |
| | |||||
* | Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700) | LemonBoy | 2018-08-22 | 1 | -17/+29 |
| | | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms. | ||||
* | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 1 | -0/+8 |
| | |||||
* | Add sizeof for arrays of integral types (#8445) | cooldome | 2018-07-30 | 1 | -1/+1 |
| | |||||
* | More concept fixes | LemonBoy | 2018-06-24 | 1 | -1/+1 |
| | | | | Fixes #7705, #7703, #7702 | ||||
* | Fix constant folding for shl/not | LemonBoy | 2018-06-19 | 1 | -2/+9 |
| | | | | | Since the source and destination types are the same the result should be trimmed to fit. | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -31/+31 |
| | |||||
* | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -4/+4 |
| | |||||
* | semfold compiles again | Andreas Rumpf | 2018-05-10 | 1 | -246/+248 |
| | |||||
* | big refactoring: mores stuff compiles | Andreas Rumpf | 2018-05-10 | 1 | -13/+7 |
| | |||||
* | Don't hide overflow/underflow/divbyzero in semfold (#7732) | Oscar Nihlgård | 2018-05-02 | 1 | -26/+70 |
| | | | | | * firstOrd/lastOrd bugfix * Don't hide overflow/underflow/divbyzero in semfold | ||||
* | https://reproducible-builds.org/ support via SOURCE_DATE_EPOCH (#7644) (#7661) | tersec | 2018-04-20 | 1 | -2/+17 |
| | |||||
* | introduce nkTupleConstr AST node for unary tuple construction; breaking change | Andreas Rumpf | 2018-04-13 | 1 | -3/+3 |
| | |||||
* | fixes #3985 | Araq | 2018-02-10 | 1 | -1/+6 |
| | |||||
* | Fixes codegen bug with literal negative zero, fixes #7079 (#7158) | GULPF | 2018-01-31 | 1 | -0/+1 |
| | | | | | | * Fixes #7079 * Fix handling of neg zero during constant folding | ||||
* | fixes #6989 | Andreas Rumpf | 2018-01-27 | 1 | -1/+6 |
| | |||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -1/+1 |
| | |||||
* | first steps in adding template/macro calls to stack traces | Araq | 2017-12-21 | 1 | -0/+3 |
| | |||||
* | fixes the second example of #6757 | Andreas Rumpf | 2017-11-17 | 1 | -7/+7 |
| | |||||
* | Merge branch 'devel' into araq | Andreas Rumpf | 2017-10-02 | 1 | -2/+4 |
|\ | |||||
| * | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -2/+2 |
| | | |||||
| * | NimScript: added buildOS and buildCPU constants | Andreas Rumpf | 2017-09-22 | 1 | -0/+2 |
| | | |||||
* | | no interval arithmetic anymore to construct implicit range types; breaking ↵ | Andreas Rumpf | 2017-07-13 | 1 | -130/+0 |
|/ | | | | change | ||||
* | fix #1082 | Zahary Karadjov | 2017-06-20 | 1 | -2/+4 |
| | |||||
* | introduce a pre-processing pass for the concept bodies | Zahary Karadjov | 2017-06-20 | 1 | -2/+5 |
| | | | | | | | fixes #4982 fixes #3805 close #3414 | ||||
* | removed compiler internal list implementation (#5371) | Arne Döring | 2017-02-22 | 1 | -1/+1 |
| | |||||
* | fixes #5399 | Araq | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | make more tests green | Araq | 2017-02-16 | 1 | -1/+4 |
| | |||||
* | fixes #5216 | Araq | 2017-01-27 | 1 | -5/+5 |
| | |||||
* | fixes #3434 | Andreas Rumpf | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into sighashes | Araq | 2016-12-19 | 1 | -1/+1 |
|\ | |||||
| * | fixes nimsuggest issue #40 | Araq | 2016-12-18 | 1 | -1/+1 |
| | | |||||
* | | removed tyArrayConstr completely from the compiler; introduced tyAlias ↵ | Araq | 2016-11-14 | 1 | -1/+2 |
|/ | | | | instead in preparation for further bugfixes | ||||
* | fixes a compiler crash; refs #4699 | Andreas Rumpf | 2016-09-03 | 1 | -1/+2 |
| | |||||
* | remove unused stuff | Jacek Sieka | 2016-08-09 | 1 | -26/+0 |
| |