summary refs log tree commit diff stats
path: root/compiler/renderer.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix several bugs with `repr` (#13386)Timothee Cour2020-02-111-4/+8
|
* fix #12740 (#12774)Arne Döring2019-12-041-7/+16
| | | | | | | | | | * fix #12740 * A different kind of a hack * proper fix * fix typo
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-191/+181
| | | | | | | | | | | | | | | | | | * 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
* .cursor implementation (#12637)Andreas Rumpf2019-11-121-0/+2
| | | | | | | | | | | * 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
* make renderIds work againAndreas Rumpf2019-11-011-2/+3
|
* renderer letAux fix only for octal literal (#12343)Ridho Pratama2019-10-081-5/+8
| | | | | | | | * renderer letAux fix only for octal literal * Handle when it's octal -1 for i64 * Added testcases
* render typeof as typeofAndreas Rumpf2019-10-071-2/+2
|
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-32/+32
| | | | | * Remove sonsLen * Use Indexable
* fixes #12029; finish the 'unused import' feature (#12064)Andreas Rumpf2019-08-271-0/+5
|
* genSym symbols rendered as b1_416049 instead of b1416049 (#11960)Timothee Cour2019-08-161-7/+12
|
* fixes #10053 (#11951)Timothee Cour2019-08-151-0/+12
|
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-2/+1
| | | | * fixes #11847
* there is only one style -- my styleAraq2019-07-101-7/+7
|
* nimpretty: code cleanupsAraq2019-07-091-7/+4
|
* Fixes #11662: render ops priority (#11664)cooldome2019-07-051-4/+7
|
* docgen: do not render the ugly <//> operator; temporary hack until 0.20 has ↵Araq2019-05-291-1/+4
| | | | been released
* fixes #11239Araq2019-05-221-0/+1
|
* fixes #7816 (#11261)Andreas Rumpf2019-05-151-1/+1
|
* fixes #11131Andreas Rumpf2019-05-131-3/+4
|
* Replace countup(x, y) with x .. yClyybber2019-05-071-6/+6
|
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-8/+8
|
* dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵Araq2019-04-161-1/+1
| | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-4/+4
| | | | | | | | | | | * 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
* docgen: generate pragma after generic, fixes #10792 (#10865)Miran2019-03-191-2/+8
|
* fixes #10805 (#10806)cooldome2019-03-131-2/+9
|
* Render a colon for command if last arg list (#10803)Alexander Ivanov2019-03-081-1/+10
|
* don't crash when rendering wrong nkInfix nodesAndreas Rumpf2018-10-121-8/+8
|
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-5/+13
| | | | between modules
* Renderer bug fixes (#8804)cooldome2018-09-071-15/+58
| | | | | | Fixes #8763: render bug: pure enums not handled correctly Fixes #8762: render bug: binary operators called with quotes rendered incorrectly FIxes #8761: render bug: inversion of operator priorities
* improve the error message for 'addQuitProc' etc; fixes #5794Araq2018-09-031-12/+12
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-2/+2
|
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-8/+8
|
* Render bug: if expression with statement list expression as condition (#8375)cooldome2018-07-211-5/+12
| | | | * Fixes #8348
* Fixes #8343, Fixes #8344 (#8347)cooldome2018-07-181-5/+3
|
* Fixes #8287 (#8288)cooldome2018-07-121-6/+10
|
* Fixes maxLineLength's bug in the renderer (#8240)Dmitry Atamanov2018-07-091-3/+3
|
* fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-161-2/+4
| | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr
* nimpretty: first version that seems useful for others to test itAndreas Rumpf2018-06-161-2/+3
|
* fixex merge conflictsAraq2018-06-081-2/+12
|\
| * Merge pull request #7770 from yglukhov/yield-in-tryAndreas Rumpf2018-06-051-2/+12
| |\ | | | | | | Yield in try
| | * Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-151-11/+11
| | |\
| | * | Closure iter transformationYuriy Glukhov2018-05-091-2/+12
| | | |
* | | | more refactoringAndreas Rumpf2018-05-271-2/+3
| | | |
* | | | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
| | | |
* | | | fixes yet another index out of bounds issue in renderer.nimAndreas Rumpf2018-05-211-2/+2
|/ / /
* | / fixes yet another indexing bug caused by the strict stringsAraq2018-05-211-1/+1
| |/ |/|
* | options.nim: no global variables anymoreAndreas Rumpf2018-05-131-3/+1
| |
* | big refactoring: magicsys compiles againAndreas Rumpf2018-05-101-8/+10
|/
* warn about inconsistent spacing around binary operators; fixes #7582Andreas Rumpf2018-05-051-1/+1
|
* Fix renderer's errors (#7742)Dmitry Atamanov2018-05-011-5/+7
| | | | | | | | * Fix renderer's errors * Same for filter_tmpl * var -> let