Andreas Rumpf
b4c62d5fed
async works again
2016-01-03 23:20:53 +01:00
Andreas Rumpf
813f98fb34
further progress on closure iterators; tforum still failing
2016-01-03 21:16:07 +01:00
Andreas Rumpf
1ad69be988
next steps to produce working closure iterators
2016-01-03 15:23:07 +01:00
Andreas Rumpf
307a6095fa
made closure iterators tests green, updated docs
2015-12-31 00:16:38 +01:00
Andreas Rumpf
2162a71c93
closure iterators do have 'result'
2015-12-30 13:32:18 +01:00
Andreas Rumpf
9cc066d99d
closure iterators sometimes work
2015-12-30 00:47:15 +01:00
Andreas Rumpf
250e81ceda
Merge branch 'devel' into new-ll
2015-12-29 20:45:22 +01:00
Andreas Rumpf
e518c7a005
LL works reasonably well; closure iterators still not implemented
2015-12-29 20:29:44 +01:00
Andreas Rumpf
b6c18e4bba
breaking change: disallow .closure procs for const
2015-12-29 15:42:12 +01:00
Andreas Rumpf
9971c06062
fixes missing 'illegal capture' error message regression
2015-12-29 13:41:35 +01:00
Andreas Rumpf
5c9332c57d
fixes closure generation when only paramters are captured
2015-12-29 02:44:37 +01:00
Andreas Rumpf
870b03707b
bootstrapping works again
2015-12-29 01:59:36 +01:00
Andreas Rumpf
57149a4794
up references work
2015-12-28 23:46:19 +01:00
Andreas Rumpf
c12c41c7ad
made indirectAccess slightly more efficient
2015-12-28 23:40:39 +01:00
Andreas Rumpf
b3600a04c2
compute LL before the other transformations as that should produce more efficient code for closure iterators
2015-12-28 23:39:37 +01:00
Andreas Rumpf
9309f8101d
new-ll: further progress (bootstrapping still fails)
2015-12-27 00:17:48 +01:00
Andreas Rumpf
7dc0bca53a
up references might work; got rid of debugging code
2015-12-26 01:26:12 +01:00
Andreas Rumpf
c1627354d1
first implementation of the new lambda-lifting pass; barely anything works
2015-12-26 00:42:30 +01:00
trustable-code
3c557a0144
fix issue #3550
2015-12-24 00:07:03 +01:00
Andreas Rumpf
86bb9d8b47
Merge pull request #3651 from jangko/vm_'excl'
...
fixed compile time `excl ` cause SIGSEGV #3639
2015-12-21 00:40:24 +01:00
Andreas Rumpf
17a78f4f8d
Merge pull request #3654 from jangko/vm_uinttouint64conv
...
fixed #2514 unable to echo uint8-32 at compile time
2015-12-21 00:37:48 +01:00
Hans Raaf
5a028b3956
Fix regression in set.excl code generation.
2015-12-21 00:35:20 +01:00
jangko
26d02c9120
fixed VM touint conversion #2514
2015-12-19 12:53:51 +07:00
jangko
60a400eeb0
fixed compile time excl cause SIGSEGV #3639
2015-12-17 10:14:48 +07:00
Andreas Rumpf
bd8e89774e
fixes a critical bug concerning a[^1] rewritings
2015-12-14 18:40:58 +01:00
Andreas Rumpf
5c0ffa6613
fixes #3622
2015-12-04 23:43:03 +01:00
Andreas Rumpf
6818304e01
Merge pull request #3530 from rbehrends/fix-setop-shifts
...
Avoid signed shifts and bit operations for sets.
2015-12-03 19:52:00 +01:00
Araq
760242b870
removes 'x is iterator' special casing in the language
2015-12-03 01:08:03 +01:00
Araq
50e83d6433
fixes tlocals regression
2015-12-03 01:08:03 +01:00
Andreas Rumpf
59d1bc73a0
Merge pull request #3605 from ephja/echo-flush
...
flush after printing
2015-12-01 21:14:17 +01:00
Araq
217e0ab6e9
lambda lifting support for iterToProc plugin
2015-12-01 00:53:30 +01:00
Araq
5de900b456
added iterToProc plugin
2015-12-01 00:53:30 +01:00
Araq
6361f6b76d
--gc:v2 requires global root tracking
2015-12-01 00:53:30 +01:00
Erik Johansson Andersson
61086b8e59
flush after printing
2015-11-28 21:21:42 +01:00
Araq
85345d2d34
fixes #3222
2015-11-26 17:46:05 +01:00
Araq
45dfd445da
fixes #2285
2015-11-26 17:46:05 +01:00
Araq
5fe71db6d9
'out T' is an alias for 'var T'
2015-11-26 17:46:05 +01:00
Araq
25e2e3faec
'importc' allows 'not nil' annotation
2015-11-26 17:46:05 +01:00
Araq
a2480efd68
allow 'nil ref T' as a first step which does nothing
2015-11-26 17:46:05 +01:00
Yuriy Glukhov
0d5b9afb08
Fixed JS codegen for distinct types
2015-11-23 21:14:15 +02:00
Anatoly Galiulin
98723925d8
Fixed SIGSEGV on wrong slurp usage
2015-11-23 13:18:05 +05:00
Araq
1757b8466d
fixes #3546
2015-11-18 14:42:13 +01:00
Araq
528cf3eae4
better error handling for bug #3550
2015-11-18 13:32:16 +01:00
Araq
698b1fc954
fixes #3550
2015-11-18 12:33:09 +01:00
Araq
aad4ed776b
allows macros to access documentation comments
2015-11-18 12:33:09 +01:00
Araq
edb495a6b3
fixes a critical error handling bug for nimsuggest
2015-11-18 12:33:09 +01:00
Reimer Behrends
67e62302b4
Avoid signed shifts and bit operations for sets.
...
Set operations used "1<<n" style shifts, which led to undefined
behavior if the signed shift overflowed. Similarly, the right-hand
side of the operator sometimes used a mix of signed and unsigned
integers that were combined with "&". This patch attempts to provide
a consistent implementation that uses unsigned integers everywhere.
2015-11-11 14:19:09 +01:00
Araq
2aff716134
os.walkDir is available at compile time
2015-11-10 15:31:21 +01:00
Araq
81f876040b
added newTree to ast.nim
2015-11-10 15:31:21 +01:00
Dominik Picheta
c83e4390d8
Modified setDefaultLibpath to search using findExe"nim".
...
This is so that Nimble (and other tools) which use the compiler modules
for nimscript support or other purposes can find $lib.
2015-11-07 15:48:14 +00:00