summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* handle in semConstJasper Jenkins2019-05-053-3/+2
|
* make work againJasper Jenkins2019-05-051-1/+2
|
* handle separately in backendsJasper Jenkins2019-05-053-2/+3
|
* const named tuple unpackingJasper Jenkins2019-05-011-1/+1
|
* discard type is an error, fixes #7470 (#11146)Jasper Jenkins2019-05-011-1/+1
|
* move analyser: fixes another critical bugAraq2019-04-291-1/+1
|
* fixes #11133, error on runtime use of compile-time procs in JS target (#11134)jrfondren2019-04-291-0/+3
|
* added system.unown to make 'owned' sane to use in practice; later on we ↵Araq2019-04-296-8/+47
| | | | might change the type inference rules to make it more convenient
* make twidgets example green (#11135)Andreas Rumpf2019-04-283-25/+43
|
* Generic tuple recursion fix (#11115)Arne Döring2019-04-281-2/+2
| | | | | * fixes #1145 * unify error messages
* bug fix in sym body hash (#11127)cooldome2019-04-271-2/+2
|
* Fix #11111 nkIdentsDef left in vmgen (#11126)Mamy Ratsimbazafy2019-04-271-2/+2
| | | fixes #11111
* newruntime: progress...Andreas Rumpf2019-04-271-5/+3
|
* newruntime: make 'discard new RootObj' workAraq2019-04-261-2/+3
|
* preparations to make the twidgets test workAraq2019-04-262-11/+15
|
* introduce a special typing rule that makes seq[owned ref T] easier to use; ↵Araq2019-04-251-3/+12
| | | | remains to be investigated...
* fixes #11095 (#11104)Andreas Rumpf2019-04-252-14/+35
| | | * fixes #11095
* docgen: generate docs for modules imported in system.nim, fixes #10972 (#11101)Miran2019-04-241-1/+3
|
* fixes #11082Andreas Rumpf2019-04-232-3/+6
|
* Fixes #11078 (#11079)Jasper Jenkins2019-04-231-1/+1
| | | | | | * Fixes #11078 * Move to existing runnableExamples, update the expected html. * Remove second comment token.
* fixes #11073Araq2019-04-221-2/+4
|
* revert discardable transformation (#10905)Andreas Rumpf2019-04-215-41/+93
| | | | | | | | | | * Revert "Properly wrap discarded statements (#10322)" This reverts commit 15584879b91e14565156ca140eef1dc100cf34c4. * add test for implicit discard after defer * enable t10241 again * make C++ tests green again
* remove the restriction that module names need to be unique per Nimble… ↵Andreas Rumpf2019-04-203-19/+36
| | | | | | | | | | (#11064) * remove the restriction that module names need to be unique per Nimble package * make tests green again * use the 'response' linker file also on Unix in order to fix megatest
* fixes #11053Andreas Rumpf2019-04-191-5/+4
|
* added a note about what to not doAndreas Rumpf2019-04-191-0/+10
|
* move analyser is smarter; refs #11053Andreas Rumpf2019-04-192-9/+17
|
* fewer ropes (#11037)Arne Döring2019-04-198-213/+380
|
* Fix varargs int32 (#11054)Arne Döring2019-04-181-5/+12
| | | | | * fixes #10999 * adds a test for #10999
* callsite lineinfe for stackTrace template (#10785)Arne Döring2019-04-181-3/+5
|
* destructors: internal compiler refactoringAraq2019-04-187-103/+77
|
* make the CIs happyAraq2019-04-171-1/+1
|
* fixes #11050Araq2019-04-172-6/+14
|
* DFA: We are not allowed to take ownership of parametersAraq2019-04-171-1/+2
|
* fixes #11048Araq2019-04-172-10/+3
|
* revert parser stmtListExpr (#11007)cooldome2019-04-171-19/+9
| | | | | | | | | | | | | | | | | * Revert "Support for stmtListExpr in parser after major keywords. Scaled down version. (#10852)" This reverts commit 862897dc0f122e374c0e4d44770ffcd8825e51e3. * redo fix for #4035 * render stmtlistExpr using semicolon * Revert "render stmtlistExpr using semicolon" This reverts commit cafb78b8d5b125b5f6ba94248377a1433b3138cb. * revert test
* remove shadow warning, fixes #10732 (#11039)Miran2019-04-172-20/+7
|
* fixes #11014Araq2019-04-171-3/+3
|
* make move-analysis smarter; see tuse_ownedref_after_move test caseAraq2019-04-161-8/+30
|
* injectdestructors.nim: code cleanupsAraq2019-04-161-47/+7
|
* astalgo: use the code style that the other lines use; make debug() less verboseAraq2019-04-161-11/+11
|
* dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵Araq2019-04-165-44/+97
| | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix
* Extend the fix for #11018 to strings (#11031)Clyybber2019-04-151-1/+1
| | | | | | * Extend the fix for #11018 to strings * Fix testcase
* Fixes #11018 (#11019)Clyybber2019-04-141-0/+3
|
* make strscans module work with --newruntimeAndreas Rumpf2019-04-142-4/+7
|
* render urls correctly (#11022)Andy Davidoff2019-04-141-2/+2
|
* fix reraise (#11017)cooldome2019-04-131-1/+1
|
* make koch.nim compile with --newruntime. Again.Araq2019-04-121-3/+16
|
* fixes #11004Araq2019-04-121-60/+72
|
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-118-81/+161
| | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet.
* preparations for --newruntime owned refs/callbacksAraq2019-04-115-30/+30
|