summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* implemented alignas pragma (#12643)Arne Döring2019-11-135-9/+23
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* .cursor implementation (#12637)Andreas Rumpf2019-11-128-29/+58
| | | | | | | | | | | * cursors: first implementation * added currently failing test * .cursor works for doubly linked lists * make -d:useMalloc work again * added code to nil out refs in a destructor * it's now called --gc:arc * renderer.nim: render nkBreakState properly * make simple closure iterators work without leaking
* --gc:destructors: bugfixesAraq2019-11-091-6/+6
|
* inhibit silly warning about moving closure environments for performanceAraq2019-11-091-1/+3
|
* --gc:destructors improvements (#12626)Andreas Rumpf2019-11-092-14/+18
| | | | | | * do not cache the noDestructors transformation * liftdestructor: improvements * undo bugfix
* fixes #5050; fixes #11826 (#12606) [backport]cooldome2019-11-073-14/+23
|
* backtick and export marker handling in `eqIdent` (#12574)Arne Döring2019-11-071-5/+16
|
* bugfix that enables the 'since' template [backport]Andreas Rumpf2019-11-071-2/+7
|
* pragmas.nim: tiny code formattingAndreas Rumpf2019-11-071-2/+1
|
* error message: Nim calls it 'proc'Andreas Rumpf2019-11-071-1/+1
|
* Merge pull request #12613 from nim-lang/miran-unused-importsDominik Picheta2019-11-064-8/+2
|\ | | | | Remove unused imports
| * remove unused importsnarimiran2019-11-064-8/+2
| |
* | restore --define:key:val in nim.cfg and fix #12367 (#12611)Andy Davidoff2019-11-061-0/+6
| |
* | add --clearNimblePath; fixes #12601 (#12609)Andy Davidoff2019-11-062-0/+6
| |
* | export nim.cfg parser (#12602)Andy Davidoff2019-11-061-1/+1
|/
* implement the --useVersion emulation featureAndreas Rumpf2019-11-041-1/+4
|
* Fixes #12379 (#12591) [backport]Clyybber2019-11-041-1/+1
|
* compiler/suggest: add variable support to `con` (#12569)alaviss2019-11-041-1/+9
| | | This allows for the type of a variable to be retrieved.
* --os:ios needs to imply defined(macosx) [backport] (#12585)Andreas Rumpf2019-11-041-1/+1
|
* JS improve indent (#12581)Juan Carlos2019-11-031-1/+1
| | | | * JSgen make indent be all spaces, instead of mixed spaces and tabs, for generated JS
* fixes #12577 [backport] (#12584)Andreas Rumpf2019-11-031-8/+4
|
* Fixes #12536 (#12568) [backport]Tomohiro2019-11-021-14/+12
|
* --gc:destructors: simple closures workAndreas Rumpf2019-11-024-13/+20
|
* make renderIds work againAndreas Rumpf2019-11-011-2/+3
|
* improve codegen quality for --gc:destructorsAndreas Rumpf2019-11-011-4/+7
|
* introduce csize_t instead of fixing csize (#12497)Arne Döring2019-10-311-1/+1
|
* --gc:destructors now means Nim uses pure refcounting (#12557)Andreas Rumpf2019-10-306-17/+89
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* fixes #12547 [backport]Araq2019-10-291-0/+7
|
* [backport] fix #12528, fix #12525: incorrect generic type resolution for ↵Andreas Rumpf2019-10-281-7/+15
| | | | | | default values (#12538)
* proof that refcounting can handle Nim's async (#12533)Andreas Rumpf2019-10-281-18/+18
|
* Fix code style errors (#12545)Solitude2019-10-281-2/+2
|
* fix deprecation warnings related to Int128 (#12474)Miran2019-10-282-49/+50
| | | | | | | | * semfold: fix deprecation warnings related to Int128 * semmagic: fix deprecation warnings related to Int128 * system/io: remove unneeded conversion of TaintedString to itself
* some progress on bug #12443Andreas Rumpf2019-10-274-26/+29
|
* fixes #12514 (#12520) [backport]Arne Döring2019-10-271-2/+18
|
* compiler/semtypes: improve lineinfo for exported object fields (#12495)alaviss2019-10-251-2/+6
| | | | | | | The line info should now points to the `a`, not the `*`, like this: a*: string ^ Additionally this fixes nimsuggest's highlighting of exported object fields.
* VM: fixes register leaks [backport] (#12510)Andreas Rumpf2019-10-251-0/+2
|
* Fix Nim specify wrong option to vccexe when vcc.options.always is set ↵Tomohiro2019-10-241-1/+1
| | | | (#12490) [backport]
* fixes #12491 [backport]Andreas Rumpf2019-10-241-1/+5
|
* compiler/semcall: return the correct lineinfo for nkCallStrLit (#12484)alaviss2019-10-241-1/+2
|
* VM: fixes most ran-out-registers problems [backport] (#12485)Andreas Rumpf2019-10-241-19/+38
|
* fixes a regression that caused that Nim devel cannot compile 1.0 anymoreAraq2019-10-241-0/+1
|
* fixes a regression that caused that Nim devel cannot compile 1.0 anymoreAraq2019-10-241-0/+1
|
* ast.nim: slightly better documentationAraq2019-10-241-1/+1
|
* Fix jsgen bug with uninitialized seq (#12500) [backport]Oscar Nihlgård2019-10-241-1/+1
|
* Fix compiler crash caused by top level return (#12501)Oscar Nihlgård2019-10-241-1/+1
|
* guards.nim:sameTree(): handle uint literals correctly (#12483) [backport]Paul Tan2019-10-221-1/+1
|
* fixes #12310 [backport] (#12470)Andreas Rumpf2019-10-201-2/+6
|
* fix #12426 (#12462)Arne Döring2019-10-201-2/+3
|
* first implementation of the new --seqsv2 switchAraq2019-10-201-0/+5
|