summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* OSX: support for M1 [backport:1.0] (#16279)Andreas Rumpf2020-12-071-1/+1
|
* [docs minor]space for code-block (#16266)flywind2020-12-063-4/+6
| | | | | | | | | * [docs minor]space for code-block * correct more errors * to runnableExamples * add newline
* fixes #16249 [backport:1.4] (#16251)Andreas Rumpf2020-12-051-1/+1
|
* Add 32-bit RISC-V support (#16231)Alf-André Walla2020-12-032-2/+3
|
* fixes #15939, fixes #15464, fixes #16169, fixes #16226 VM now supports ↵Timothee Cour2020-12-033-5/+27
| | | | | | | | | `addr(mystring[ind])` (index + index assignment) (#15987) * fix #15939, fix #15464 VM now supports `addr(mystring[ind])` (index + index assignment), var char return etc * cleanups * cstring tests * add test for bug #15464 * improve test coverage
* fix #16164, render doc comments (#16230)Miran2020-12-021-1/+1
| | | | | * fix #16164, render doc comments * add a test
* fixed article duplication typos (#16216)ihlec2020-12-021-1/+1
|
* add test for --eval; fix a minor bug (#16224)Timothee Cour2020-12-011-0/+1
|
* Revert "fix #16185 (#16195)" (#16197)Andreas Rumpf2020-11-302-75/+59
| | | This reverts commit bb4b27a2ca414f06fbb9d14ff76fa02a088ac141.
* fix #16185 (#16195)cooldome2020-11-302-59/+75
| | | | | | | | | | | * fix #16185 * fix test * fix comment * fix comment * better approach
* cmdline: improve command processing (#16056)Timothee Cour2020-11-2615-130/+139
|
* fixes #16119 [backport:1.4] (#16149)Andreas Rumpf2020-11-261-3/+3
|
* remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683)Timothee Cour2020-11-262-2/+2
|
* fixes https://github.com/status-im/nimbus-eth2/issues/1549 (#16146)Andreas Rumpf2020-11-262-6/+16
| | | | | * fixes https://github.com/status-im/nimbus-eth2/issues/1549 [backport:1.4] * test fixup
* More on #16110 (#16130)cooldome2020-11-261-2/+11
| | | | | | | | | | | * fix #16110 * refs #16110 * fix comment * Trigger build * use shallowCopy for efficiency
* fix #16120 (#16145)cooldome2020-11-261-52/+52
|
* fixes #15076 (#16143)Andreas Rumpf2020-11-261-3/+5
| | | | | | | | | * fixes #15076 * heapqueue: optimized for ARC * added another test case [backport:1.4] * code cleanup
* fix #14339, #13511, #14420: fixes limited VM support for addr (#16002)Timothee Cour2020-11-251-2/+5
| | | | | | | | | | | * fix #14339: fixes limited VM support for addr * strengthen test * reference bug #16003 * also fixes #13511 * also fixes #14420
* move tests under the compiler directory to testament (#16096)flywind2020-11-255-328/+0
|
* ref #16054 remove typed array (#16077)flywind2020-11-241-8/+0
|
* fixes #16069; [backport:1.2] [backport:1.4] (#16115)Andreas Rumpf2020-11-245-2/+9
| | | | | * fixes #16069; refs https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] [backport:1.4] * make tests green again
* fix #16110 (#16117)cooldome2020-11-241-1/+2
|
* fix export links in the documentation (#16114) [backport:1.4]Miran2020-11-241-5/+9
| | | | | * fix export links in the documentation * fix `len` problem
* Revert "fix #16110"Andrey R (cooldome)2020-11-241-2/+1
| | | | This reverts commit 2bab2a2cd8476423414819db3ad79309f6033e13.
* fix #16110Andrey R (cooldome)2020-11-241-1/+2
|
* ast minor (#16079)flywind2020-11-221-0/+1
|
* fixes #15671 [backport:1.4] (#15690)Andreas Rumpf2020-11-201-3/+11
| | | | | * fixes #15671 [backport:1.4] * progress
* fix #15958 (#15970) [backport:1.4]cooldome2020-11-201-1/+2
| | | | | | | | | | | | | | | | | * fix #15958 * also cover openArray and VarArgs * more tests * cover even more types * cover even more types * Trigger build * Trigger build * cover sets passed as arrays
* Retain backwards compatibility after #16057 (#16068)Clyybber2020-11-201-0/+4
| | | | | * Retain backwards compatibility * Fix typo
* rename loadConfigsAndRunMainCommand => loadConfigsAndProcessCmdLine, reflect ↵Timothee Cour2020-11-202-2/+2
| | | | reality (#16057)
* fixes #15942 [backport:1.2] [backport:1.4] (#16051)Andreas Rumpf2020-11-191-1/+1
|
* Disallow nil dereference at compile time (#16032)cooldome2020-11-182-0/+9
| | | | | | | | | | | | | * bring back the semfold of nil * remove space * fix test * proc type can't be dereferenced * disallow nil dereference at compile time * changelog
* fix #16033 nim js --gc:arc works and ignores --gc:arc (#16036)Timothee Cour2020-11-181-1/+4
|
* ORC: prepare for another patent-pending optimization (#15996)Andreas Rumpf2020-11-182-13/+91
| | | | | | | | | | | | | | | | | * ORC: prepare for another patent-pending optimization * bugfix * '=copy' for refs can take a cyclic parameter for more ORC optimizations * ORC: exploit the common 'it = it.next' pattern * can't hurt to check for nil * use an algorithm that is not obviously broken * restore the test case * final cleanups for --gc:orc
* Semfold for nil cast (#16030)cooldome2020-11-182-2/+4
| | | | | | | | | * bring back the semfold of nil * remove space * fix test * proc type can't be dereferenced
* fix #6497 (#16027)flywind2020-11-181-0/+1
| | | | | * fix #6497 * add testcase for #16027
* combine PR#16009 and PR#16012 (#16024)flywind2020-11-182-1/+6
| | | | | | | | * fix #15623 * add testcase for #15623 * add testcase * combine #16009 * support casting nil to NilableTypes in VM
* fix #15972 (#15994)flywind2020-11-181-2/+2
| | | | | | | * fix #15972 * add testcase * more
* Revert "follow #16009 VM supports cast nil to ptr (#16012)"Andrey R (cooldome)2020-11-171-3/+0
| | | | This reverts commit fec19c980e36e62747eb119f0740cb785e858ac3.
* Revert "fix #15623 (#16009)"Andrey R (cooldome)2020-11-171-1/+1
| | | | This reverts commit 0f7f159a35bc10a43ff15bcb6c20eefdc574138e.
* fix #15623 (#16009)flywind2020-11-171-1/+1
| | | | | | | | | * fix #15623 * add testcase for #15623 * fix * add testcase
* follow #16009 VM supports cast nil to ptr (#16012)flywind2020-11-171-0/+3
| | | | | * follow #16009 VM supports cast nil to ptr * more testcase
* remove unused and misleading FilenameOption.foShort (#15982)Timothee Cour2020-11-161-2/+0
|
* rename: stmt -> typed and expr -> untyped (#15989)flywind2020-11-163-4/+4
| | | | | | | * stmt -> typed * expr -> untyped * minor
* fix #15910 (#15984)cooldome2020-11-161-4/+12
| | | | | | | * fix #15910 * produce op of op is nil * Trigger build
* fixes #15753 [backport:1.4] (#15971)Andreas Rumpf2020-11-151-19/+76
|
* Fix nimsuggest/#117 (#15602)Clyybber2020-11-151-4/+1
|
* fix #12303 (#15964)flywind2020-11-141-2/+7
|
* Fix #8404 JS backend doesn't handle float->int type conversion (#15950) ↵Bung2020-11-131-3/+9
| | | | | | | | | | | [backport] * Fix #8404 JS backend doesn't handle float->int type conversion * handle conv to uint as cast, discard other cases * limit to int32, times use int64 * toInt including tyInt64 break times timezones lib, ignore for now * also affect to vm * move to tests/misc/t8404.nim
* Add support for FreeBSD/PowerPC64 Little Endian (#15927)lenoil982020-11-121-1/+1
| | | | | | | | | | | | | | * Update installer.ini Add support for powerpc64 little endian * Update buildsh.nimf Add support for powerpc64 little endian * Update makefile.nimf Add support for freebsd/powerpc64 little endian