summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Fix #15389 (#15390)cooldome2020-09-242-24/+27
| | | | | | | | | * allow result symbol reuse * try different approach * Revert "try different approach" This reverts commit abcfb6b75983c2f798cc887342ff1a9ff10c0324.
* fix the indentation in `--help` and `--fullhelp` (#15387)Miran2020-09-231-2/+2
| | | | | * fix the indentation in `--help` and `--fullhelp` * a better way to fix it
* 'koch temp' bugfixAraq2020-09-231-2/+2
|
* finish the stacktraces.nim implementation [backport:1.2] (#15393)Andreas Rumpf2020-09-231-0/+1
|
* Fix forward declarations in shadow scope contexts (#15386)Clyybber2020-09-224-13/+24
| | | | | | | | | | | | | | | * Fix forward declarations in shadow scope contexts * Add testcase for #15385 * Less empty lines * Fix tests * Inline isShadowScope * Add original testcase (with reduced amount of iterations) * Add testcase without forward decl
* fixes #15360 [backport:1.2] (#15378)Andreas Rumpf2020-09-211-1/+1
|
* arc: =deepcopy fixesAraq2020-09-201-1/+0
|
* ORC/ARC async progress (#15370)Andreas Rumpf2020-09-201-1/+1
| | | | | | | * ARC/ORC: fixes memory leak for empty seqs that have a non-zero capacity * async: minor refactorings * it helps to finish a refactoring
* fix infinite recursion in typeRel (#15241)jcosborn2020-09-181-56/+59
| | | | | * fix generic constraints Co-authored-by: James Osborn <osborn@Jamess-MacBook-Pro.local>
* Revert "Introduce explicit copy (#15330)" (#15346)Andreas Rumpf2020-09-161-1/+1
| | | This reverts commit a3e9cc52343a54cadc7b77b783e1c8b6ba2b327f.
* fix #15326 (#15341)cooldome2020-09-161-59/+67
|
* proc params as syms (#15332)cooldome2020-09-162-1/+2
| | | | | | | | | | | | | | | | | * proc params are now syms * Fix typesrenderer * Add testcase for disrupteks issue * fix test * Trigger build * Trigger build * Trigger build Co-authored-by: Clyybber <darkmine956@gmail.com>
* Introduce explicit copy (#15330)cooldome2020-09-161-1/+1
|
* fixes #15325 (#15340)Andreas Rumpf2020-09-164-4/+18
|
* allow old styled RTTI for arc/orc (#15331)Andreas Rumpf2020-09-169-107/+172
|
* fixes #15076 (#15329)Andreas Rumpf2020-09-153-4/+5
|
* Fixing issue #15302 -- lwip doesn't support signals (#15303)Jaremy Creechley2020-09-141-1/+1
| | | | | | | | * Fixing issue #15302 -- lwip doesn't support signals * Adding test to catch issue #15302 -- lwip/freertos net library don't try to build / run on windows, it'll compile only but not run Fixing issue #15302 -- reworking test to compile on other platforms
* fixes #15147 (#15315)Andreas Rumpf2020-09-121-1/+1
|
* Fix #15305 (#15311)Clyybber2020-09-121-2/+1
| | | | | * Fix #15305 * Fix test
* fixes #15122 (#15301)Andreas Rumpf2020-09-111-2/+15
|
* fix warnings for deprecated `low` and `high` (#15291)Miran2020-09-113-13/+13
|
* Fix #15286 (#15292)cooldome2020-09-101-0/+3
| | | | | * fix #15286 * fix spacing
* fixes #15280 [backport:1.2] (#15281)Andreas Rumpf2020-09-091-1/+1
| | | | | | | * fixes #15280 [backport:1.2] * make tests green again * adapt tests
* borrow checking refinements (#15290)Andreas Rumpf2020-09-092-5/+21
| | | * added basic borrowing test
* Better semiStmtList parsing (#15123)Clyybber2020-09-091-78/+44
| | | | | | | * Better semiStmtList parsing * Add examples from forums and wiki * Move parseIfExpr near parseIfOrWhen * Update grammar
* borrow checking (#15282)Andreas Rumpf2020-09-0916-311/+475
| | | | | | | | | | | * refactoring: move procs to typeallowed.nim * frontend preparations for first class openArray support * prepare the code generator for first class openArray * code generation for first class openArray; WIP * code generation for open arrays, progress * added isViewType proc * preparations for borrow checking * added borrow checking to the front end
* "for-loop macros" are no longer an experimental feature (#15288)Miran2020-09-082-4/+3
|
* nimeval errorHook support (#15255)Scott Wadden2020-09-071-3/+8
|
* don't raise index defects on malformed ast (#15278)Andy Davidoff2020-09-072-6/+14
| | | | | * don't raise index defects on malformed ast * style
* strict funcs: use control flow information for a more precise analysis (#15271)Andreas Rumpf2020-09-061-20/+79
| | | | | * strict funcs: use control flow information for a more precise analysis * cursor inference uses control flow information
* Expand hoisted default params in sem (#15270)Clyybber2020-09-0511-123/+103
| | | | | | | | | * Expand hoisted default params in sem Introduce ast.newTree{I,IT} Add test for default params in procs * Cleanup * Simplify hoist transformation and expand test
* fix #15238 (#15262)cooldome2020-09-041-0/+1
| | | | | * fix_15238 * fix test
* fixes system.add for strict funcs (#15259)Andreas Rumpf2020-09-031-1/+1
| | | | | * fixes system.add for strict funcs * fixes #15248
* Fix sets for architectures with default integers smaller than 32 bits ↵PMunch2020-09-021-3/+3
| | | | (#15258) [backport]
* fixes #15210 [backport:1.2] (#15237)Andreas Rumpf2020-08-311-20/+23
| | | | | * fixes #15210 [backport:1.2] * use patched version of bigints library
* Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) (#15250)Jaremy Creechley2020-08-312-3/+12
| | | | | | | | | | | | | | | | | | | * Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) Adding FreeRTOS/LwIP to compiler: * adding freertos option * dyncalls for freertos * add freertos to posix os list * adding lwip option Setting up networking FreeRTOS/LwIP Port: * setting up lwip network for freertos * fixing posix / networking for freertos * disable setInheritable for freerots * using lwip for net control items * Fix builds by ignoring lib/posix/posix_freertos_consts.nim similar to lib/posix/posix_other_consts.nim
* Big compiler Cleanup (#14777)Clyybber2020-08-2850-773/+472
|
* fix #15035 (#15236)cooldome2020-08-281-2/+3
|
* Fix #5691 (#15158)Clyybber2020-08-279-49/+65
| | | | | | | | * Fix #5691 * Cleanup and thoughts * Use scope approach * Seperate defined/declared/declaredInScope magics * Fix declaredInScope * Update spec accordingly
* fix some issues overloading with generics and inheritance (#15211)jcosborn2020-08-271-11/+34
| | | | | * fix some issues overloading with generics and inheritance * fix passing procs with subtype matches
* deleted dead code, writetracking.nim was replaced by varpartitions.nimAraq2020-08-261-275/+0
|
* avoid #8231, bitwise move to mul,div (#15070)Bung2020-08-251-2/+10
| | | | | | | | | * avoid #8231, bitwise move to mul,div * add test for #8231 * fix bitwise move when div result is float * bitwise move depends on typ.size
* better strict funcs, WIP (#15199)Andreas Rumpf2020-08-182-6/+22
| | | | | * better strict funcs, WIP * progress
* fix overloading issue with generic invocation (#15135)jcosborn2020-08-181-14/+1
| | | | | * fix overloading issue with generic alias * add test for inheritance depth
* Allow pragmas on parameters (#15178)Clyybber2020-08-111-2/+2
|
* Fix #8473 (#15169)Andreas Rumpf2020-08-1112-24/+30
|\ | | | | | | | | | | | | | | | | | | | | * Make explicit {.nimcall.} a seperate calling convention * Add testcase for #5688 * Fix bootstrapping * Remove little lies :) * Use typeflag instead
| * Use typeflag insteadClyybber2020-08-1010-18/+19
| |
| * Remove little lies :)Clyybber2020-08-081-5/+6
| |
| * Fix bootstrappingClyybber2020-08-081-3/+4
| |
| * Make explicit {.nimcall.} a seperate calling conventionClyybber2020-08-0810-16/+19
| |