summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Path substitution for --out and --outdir (#12796)genotrance2019-12-032-6/+4
| | | | | * Enable pathSubs for --out and --outDir * Cleanup
* Fixes #12734 (#12784)Tomohiro2019-12-011-1/+4
|
* Refactored VM registerlayout. The size and location of the registers in (#12775)Ico Doornekamp2019-11-302-29/+54
| | | | the instructions are now all derived from a single definition, allowing the register layout to be changed.
* [backport] always set `fileInfoIdx.isKnownFile` (#12773)Jasper Jenkins2019-11-291-0/+1
|
* fixes #12669Araq2019-11-291-11/+26
|
* fixes #12766Araq2019-11-291-8/+12
|
* Fixes #12767 (#12768)genotrance2019-11-291-0/+2
|
* fixes #11727 [backport]Araq2019-11-283-5/+12
|
* fixes #12488 [backport]Araq2019-11-281-1/+4
|
* ARC: implemented a simple cycle detectorAraq2019-11-283-6/+42
|
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-28109-6255/+6116
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* Substitute $nimbleDir in --path flags (#12750)genotrance2019-11-283-2/+17
|
* VM: improvements for var T/addr (#12667); fixes #12489Andreas Rumpf2019-11-283-8/+43
|
* [backport] Fix spelling typos (#12755)Brian Wignall2019-11-282-2/+2
|
* ARC: ported the GC tests over to --gc:arcAraq2019-11-263-0/+6
|
* fixes #12663 staticRead now creates a dependency for rebuilds (#12731) ↵Timothee Cour2019-11-252-12/+15
| | | | | | | [backport] * fix #12663 staticRead * address comments
* Revert "ARC: another critical bugfix; temporary tuples we introduce for ↵narimiran2019-11-241-1/+0
| | | | | | tuple unpackaging are not owning the data" This reverts commit 8b2f8f5430e8c328efe5bce94e397f15e3c501af.
* ARC: another critical bugfix; temporary tuples we introduce for tuple ↵Araq2019-11-221-0/+1
| | | | unpackaging are not owning the data
* ARC: yet another silly bugfixAraq2019-11-221-0/+2
|
* implemented a new localPassc pragma (#12706)Andreas Rumpf2019-11-225-8/+28
|
* Improve head comment on JS (#12548)Juan Carlos2019-11-221-15/+13
| | | | | | * Improve comment on JSGen, replace 12+ concatenations by 1 multiline string * Peer review feedbacks https://github.com/nim-lang/Nim/pull/12548#discussion_r340051147
* added the --asm command line option for inspection of the produced assember ↵Andreas Rumpf2019-11-213-6/+35
| | | | code (#12699)
* fixes #12670 [backport] (#12693)Andreas Rumpf2019-11-201-1/+2
|
* conversions to unsigned numbers are not checked anymore; implements /… ↵Andreas Rumpf2019-11-204-6/+12
| | | | | | | | (#12688) [backport] * conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175 * change the spec yet again to be less consistent but to make more sense; updated the changelog
* more arc improvements (#12690)Andreas Rumpf2019-11-202-1/+12
| | | | | * ARC: bugfix for =destroy for inherited objects * added code useful for debugging
* fixes #12612 [backport] (#12681)Andreas Rumpf2019-11-191-6/+9
|
* fix regression in align (#12680)Arne Döring2019-11-192-3/+6
| | | | | | * fix regression in align * add test typesym without type
* ARC: closure bugfixes (#12677)Andreas Rumpf2019-11-183-16/+53
| | | | | | | | * ARC: closure bugfixes * progress * ARC closures: create =hooks for captured parameters * ARC: always destroy constructions like tuples, arrays properly, even in edge cases * fixes a regression
* fixes and changes the recently introduced 'alignas' to be 'align' (#12666)Andreas Rumpf2019-11-152-7/+7
| | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements
* ARC: fixes leaking new() statement (#12665)Andreas Rumpf2019-11-152-8/+15
|
* remove two asserts in int128.nim (#12648) [backport]Miran2019-11-151-2/+0
| | | | | | | Before this PR, `tests/misc/tconv.nim` fails when the compiler is compiled without `-d:danger` flag. Bear in mind that even without the asserts, the values outside of a given range are still checked and a meaningful error message (from `compiler/semexprs.nim`) is printed.
* ARC: solves phase ordering problems (#12654)Andreas Rumpf2019-11-148-59/+62
|
* ARC: closure inside object constructor now worksAraq2019-11-131-2/+15
|
* ARC: handle closures like tuples consistentlyAraq2019-11-131-2/+2
|
* ARC: use the new .cursor annotation for 'up' pointersAraq2019-11-132-3/+7
|
* 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
|/