summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* produce runtime type information for reified openArrays (#15415)Andreas Rumpf2020-09-273-19/+34
| | | | | * produce runtime type information for reified openArrays * added a test case
* better support for slices as views (#15414)Andreas Rumpf2020-09-273-44/+63
| | | | | | * moved view tests to tests/views * refactoring * more refactorings * better support for system.toOpenArray for first class view types
* cursor inference: makes combparser work; refactorings (#15411)Andreas Rumpf2020-09-261-68/+71
| | | | * cursor inference: makes combparser work; refactorings
* koch, compiler: bundle fusion as part of the source archive (#15409)alaviss2020-09-261-0/+1
| | | | This allows distributions to build Nim from the downloaded source archive without an Internet connection.
* Revert "fix #15035 (#15236)" (#15408)cooldome2020-09-241-3/+2
| | | This reverts commit f8c48fc1863a243718acf86b699baed1a5c1512e.
* more precise borrow checking of 'result' (#15406)Andreas Rumpf2020-09-242-3/+8
|
* fixes #15403 (#15404)Andreas Rumpf2020-09-241-1/+2
|
* fixes #15361 (#15401)Andreas Rumpf2020-09-241-36/+131
| | | * fixes #15361; better cursor inference
* use release version (#15400)flywind2020-09-241-2/+2
|
* 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
|