summary refs log tree commit diff stats
path: root/compiler/astalgo.nim
Commit message (Collapse)AuthorAgeFilesLines
* Remove immediate pragma (#11308)Arne Döring2019-05-291-25/+8
| | | | | * remove immediate from tests * remove immediate from the compiler
* fixes #10963, disallow implicit mixing of strings and ints/floats (#11292)Miran2019-05-211-2/+2
|
* Replace countup(x, y) with x .. yClyybber2019-05-071-7/+7
|
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-7/+7
|
* astalgo: use the code style that the other lines use; make debug() less verboseAraq2019-04-161-11/+11
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-1/+1
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* fixes #10807 (#10814)cooldome2019-03-121-0/+8
| | | | | * fixes #10807 * use nkAddr instead of nkHiddenAddr
* owned refs must be movedAndreas Rumpf2019-03-071-0/+3
|
* colors for debugging (not for windows) (#10786)Arne Döring2019-03-051-3/+33
|
* More depth debug proc (#10782)Arne Döring2019-03-041-89/+209
| | | | | | | | * improved output on debugType * cycle detection in debug print * debug info finally really helpful * finally usable debug info * quote enum values
* minor fix for debug on symbols (#10742)Arne Döring2019-02-261-3/+3
|
* reduce debug output (#10638)Arne Döring2019-02-131-58/+63
|
* compiler refactoring: TSymSeq is gone for goodAraq2018-12-111-3/+3
|
* IC: further progressAraq2018-12-011-9/+20
|
* improve the error message for 'attempt to redefine X'; fixes #447Andreas Rumpf2018-09-171-4/+9
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-17/+3
|
* Fix unsound transform pass (#8633)LemonBoy2018-08-141-0/+2
| | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime.
* Gdb pretty printers (#8263)Arne Döring2018-07-161-3/+3
|
* Merge pull request #8120 from krux02/basic-debuggingAndreas Rumpf2018-06-261-6/+6
|\ | | | | make basic debugging possible
| * make basic debugging possibleArne Döring2018-06-261-6/+6
| |
* | allow referencing other parameters in default parameter valuesZahary Karadjov2018-06-161-19/+23
| | | | | | | | | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046
* | fix #6928; fix #7208Zahary Karadjov2018-06-161-0/+9
|/
* toy program works with incremental compilationAndreas Rumpf2018-06-071-2/+1
|
* refactoring: make projectMainIdx typesafeAndreas Rumpf2018-05-271-8/+8
|
* Merge branch 'devel' into araq-big-refactoringAndreas Rumpf2018-05-271-8/+8
|\
| * fix #7883; fix #7829Zahary Karadjov2018-05-261-8/+8
| |
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-58/+40
| |
* | make tests green againAndreas Rumpf2018-05-181-19/+21
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-46/+46
|/
* fixes testament compilationAraq2018-05-141-8/+8
|\
| * fix a compiler crash related to the new strings in C++ modeZahary Karadjov2018-05-071-8/+8
| |
* | big refactoring: parser compiles againAndreas Rumpf2018-05-101-4/+4
|/
* minor code cleanupAndreas Rumpf2017-07-081-7/+1
|
* Fix #4020; Better handling of templates within conceptsZahary Karadjov2017-06-201-0/+2
|
* Merge pull request #5823 from markus-oberhumer/ascii127-is-not-printableVarriount2017-05-261-1/+1
|\ | | | | Ascii character code 127 (DEL) is not printable.
| * Ascii character code 127 (DEL) is not printable.Markus F.X.J. Oberhumer2017-05-161-1/+1
| |
* | fix compilation regression in aleaZahary Karadjov2017-04-161-0/+2
| |
* | wip fix #5640Zahary Karadjov2017-04-071-0/+2
|/
* Fix generic forward declarations; fixes #4104; fixes #4908 (#5566)zah2017-03-231-1/+1
|
* new debugging helper to replace and friendsZahary Karadjov2017-03-101-0/+17
|
* compiler debug proc: also output node flagsAraq2017-02-151-0/+1
|
* debug output: show line info earlierAraq2016-12-181-1/+1
|
* remove unused stuffJacek Sieka2016-08-091-77/+0
|
* debug() uses 'echo' because stderr is an abominationAndreas Rumpf2016-03-011-5/+5
|
* added experimental .this pragmaAndreas Rumpf2016-02-281-2/+3
|
* nimrod -> nimErik Johansson Andersson2016-02-051-2/+2
|
* renamed writeln to writeLine in compilerpatrick dw2015-06-191-1/+1
|
* Dropped 'T' from typespdw2015-06-041-24/+24
|
* Get rid of deprecation warningsdef2015-04-071-119/+119
|
* compiler_ropes: ropeToStr -> $Jacek Sieka2015-04-011-6/+5
|