Commit Graph

2608 Commits

Author SHA1 Message Date
Reimer Behrends
15734009ca More robust implementation for finding the beginning of the stack.
This patch inserts an extra stack frame above the function that
calls the actual Nimrod code and ensures that a reference to this
frame is stored as the stack bottom.
2014-07-23 03:20:50 +02:00
Flaviu Tamas
ed68286c59 Fix #1392 2014-07-22 15:39:23 -04:00
Araq
e27c675293 fixes subtle interaction between closures and 'yield' 2014-07-22 20:22:29 +02:00
Grzegorz Adam Hankiewicz
d935633eb6 Modifies docgen to support new warning message. 2014-07-19 14:11:22 +02:00
Araq
a7911addf7 parseBiggestFloat is now builtin 2014-07-16 00:41:03 +02:00
Araq
c14e7565f8 fixes #1355 2014-07-15 20:26:45 +02:00
Araq
fd0e809934 fixes #1362 2014-07-15 09:58:57 +02:00
Araq
6d3b632b47 Merge branch 'new_spawn' into devel
Conflicts:
	todo.txt
	web/news.txt
	web/nimrod.ini
2014-07-15 09:37:45 +02:00
Araq
49ad6fc3d4 fixes latest regression 2014-07-11 08:05:50 +02:00
Araq
e4e32bdfbf better error messages for macro instantiations 2014-07-10 00:59:26 +02:00
Araq
44353c585f VM: fixes 'raise' 2014-07-10 00:59:00 +02:00
Araq
eb99c27bd0 fixes #1011 2014-07-09 21:10:11 +02:00
Araq
d80d8aa74d fixes #1323 2014-07-08 20:12:07 +02:00
Araq
39ce17a73e fixes #933 2014-07-08 16:37:45 +02:00
Araq
f16449ec22 fixes #1103; fixes #1297 2014-07-08 02:02:58 +02:00
Araq
f9d7e8db2a implements #1332 2014-07-06 22:56:34 +02:00
Araq
21be7bf85a fixes #1310 2014-07-02 21:15:29 +02:00
Araq
d02cc41596 fixes #1275 2014-07-01 23:41:25 +02:00
Araq
b119dc2f3b fixed build configuration detection 2014-07-01 23:17:20 +02:00
Araq
ad29bed942 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-07-01 23:01:09 +02:00
Araq
b56f43c394 fixes #898 2014-07-01 22:58:44 +02:00
Araq
b3f390bd48 fixes #751 2014-07-01 22:36:01 +02:00
Araq
daf9dd701e fixes #1166 2014-07-01 22:10:43 +02:00
Araq
212293197f fixes #1161 2014-07-01 21:47:53 +02:00
Andreas Rumpf
0eda72e1d2 Merge pull request #1304 from rbehrends/fix-packagenames
Fix generation of package-dependent init names.
2014-07-01 03:00:38 +02:00
Andreas Rumpf
b1c5dc1ef9 Merge pull request #1249 from gradha/pr_shows_git_hash
Adds git hash to compiler's version switch. Refs #1119.
2014-07-01 02:59:34 +02:00
Araq
405cd7d1fb fixes #904 2014-07-01 02:09:07 +02:00
Araq
7c5f87e413 fixes #1265 2014-07-01 00:59:40 +02:00
Araq
4860b46c7f fixes #1264 2014-07-01 00:24:40 +02:00
Araq
3c818c89be fixes #1285 2014-06-30 23:36:46 +02:00
Araq
c41e099118 fixes #1144 2014-06-30 22:36:52 +02:00
Araq
0339b9d386 fixes #1319 2014-06-30 22:24:08 +02:00
Araq
b89495ef0f corrected backends.txt 2014-06-30 19:39:57 +02:00
Araq
678f3d7f5b fixes constant array indexing bug 2014-06-30 16:45:55 +02:00
Araq
5f8ab1653a c2nim is not part of the compiler anymore 2014-06-30 10:40:49 +02:00
Araq
c71d7213e8 Merge branch 'devel' of https://github.com/Araq/Nimrod into new_spawn 2014-06-28 13:58:32 +02:00
Andreas Rumpf
e383200cf8 Merge pull request #1260 from enurlyx/structs-in-structs
c2nim -> Support for anonymous structs/unions
2014-06-28 02:24:36 +02:00
Araq
59f61bae05 new jester compiles 2014-06-28 01:03:07 +02:00
Clay Sweetser
b405462a86 Add 'lib/pure/concurrency' path to nimrod.ini
Fixes #1303
2014-06-27 18:20:42 -04:00
Araq
79586487be compiles again 2014-06-27 16:08:09 +02:00
Araq
7014d0c5c8 some progress for jester+async 2014-06-27 16:03:11 +02:00
Andreas Rumpf
92d1da407a Merge pull request #1278 from Varriount/fix-1090
Fix 1090
2014-06-26 21:04:20 +02:00
Araq
85a1d896c2 Merge branch 'devel' of https://github.com/Araq/Nimrod into new_spawn
Conflicts:
	lib/system.nim
2014-06-26 17:19:28 +02:00
Araq
eed443d4b3 rewrote lambdalifting; fixes deeply nested closures 2014-06-26 15:58:41 +02:00
Felix Krause
b090b7ea4d Fixed handling swap in vmgen 2014-06-25 17:01:22 +02:00
Reimer Behrends
55e7d91b31 Fix generation of package-dependent init names.
The code incorrectly used relative instead of absolute paths to
see if *.babel files could be found, which could result in them
not being located properly.

Also added an underscore between the package and the module name
for package_moduleInit() and package_moduleDatInit() so that there
won't be spurious conflicts, e.g. for package A and module BC vs.
package AB and module C.
2014-06-25 00:42:55 +02:00
Reimer Behrends
672e72487b Fixed gorge/staticExec to not strip newlines. 2014-06-22 02:23:31 +02:00
Simon Hafner
be534279da Merge pull request #1279 from Varriount/fix-1216
Fix issue #1216
2014-06-18 18:47:45 -05:00
enurlyx
2940aa5ee2 Made the code more robust and detect nkPrefix as number (-1 or +4) for enum sorting. Added also a new test for enums. 2014-06-17 21:42:16 +02:00
Andreas Rumpf
2ec1501c7a Merge pull request #1281 from Araq/new_spawn
New spawn
2014-06-16 23:03:17 +02:00