Commit Graph

1650 Commits

Author SHA1 Message Date
Araq
7f7b13a45f nimfix handles helloworld 2014-09-06 00:50:53 +02:00
Araq
bd4e229464 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-09-05 01:17:03 +02:00
Araq
bf557a7cdb added nimfix tool 2014-09-05 01:16:48 +02:00
Zahary Karadjov
7d5e387a48 mostly fixes #1339
The compiler hangs were caused by the interaction of tyError and the instantiation caches.
For procs, the cache wasn't able to find previously compiled proc featuring tyError in the signature.
For types, the unresolved type parameters leading to tyError were not replaced everywhere leading
to endless replaceTypeVarsT recursion for cyclic types.

The fix is still not perfect, because the handling of tyError in other places in the compiler doesn't seem
to be complete and the first test case now results in internal error (still, much better than a hang blocking
your IDE).
2014-09-05 01:02:46 +03:00
Zahary Karadjov
9a3963f51b fix #959
Variable declarations using a type class will be subject to type inference similar to the one
already present in type coercions and the return type inference.
2014-09-04 23:50:00 +03:00
Araq
4c870fc293 fixes recently introduced regression 2014-09-03 22:00:23 +02:00
Araq
e093f45756 fixes #1511 2014-09-03 19:54:20 +02:00
Araq
201a08e9a5 fixes #903, fixes #1513 2014-09-03 19:45:04 +02:00
Araq
41c7cde61f updated iup.nim; made tests green 2014-08-31 22:55:51 +02:00
Araq
8aca51a88d nim pretty: default is now to overwrite files 2014-08-31 11:40:09 +02:00
Araq
8925d0e103 minor improvement for nim pretty 2014-08-31 02:46:13 +02:00
Araq
31db3aeade minor bugfix for void .compileTime procs 2014-08-31 02:45:32 +02:00
Araq
09ab1703e1 fixes #1444 2014-08-31 01:07:58 +02:00
Araq
c9563d28a8 fixes #1067 2014-08-30 22:44:33 +02:00
Araq
0257f389fe fixes #1366 2014-08-30 20:16:35 +02:00
Araq
1f85b3b5d3 VM supports math and a few os procs 2014-08-30 16:37:27 +02:00
Araq
c40f981e64 babel is now nimble 2014-08-30 16:36:57 +02:00
Araq
cd2c6128d1 renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings 2014-08-29 09:03:00 +02:00
Araq
0f4567d59e koch now uses nim.exe 2014-08-29 02:23:40 +02:00
Araq
5946747970 updated the compiler to use the new symbol names 2014-08-28 23:48:42 +02:00
Araq
c95e47216f Nimrod renamed to Nim 2014-08-28 10:01:20 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
df172806ea big rename 2014-08-28 00:24:52 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
15a7bcc89f renamefest 2014-08-23 01:59:59 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
014b79617e Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-21 10:00:09 +02:00
Araq
5432b2b83a fixes recently introduced regression 2014-08-21 09:59:57 +02:00
Simon Hafner
3f0c3ab6cf added bug number to comment 2014-08-20 21:16:06 +02:00
Araq
15b2d6d351 fixes #1418 2014-08-20 02:14:30 +02:00
Araq
bc2e83fe17 documented the JS codegen 2014-08-20 01:11:47 +02:00
Araq
ebe313e627 fixes #1334 2014-08-19 22:35:16 +02:00
Araq
e935a35bcf fixes #1380 2014-08-19 20:42:48 +02:00
Araq
1deb9820f5 fixes #1420 2014-08-19 20:28:51 +02:00
Araq
b5248d9037 fixes #1143 2014-08-19 10:01:46 +02:00
Araq
e662013ee0 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-17 21:24:01 +02:00
Araq
710cbe3f1f fixes #1492 2014-08-17 21:23:46 +02:00
Dominik Picheta
d10cef11dc Fixes #710. 2014-08-16 00:46:14 +01:00
Andreas Rumpf
e0fcfe58a2 Merge pull request #1485 from def-/js-substr
Fix CopyStr (substr in system.nim) for javascript target
2014-08-15 21:43:37 +02:00
Andreas Rumpf
6d67dccd04 Merge pull request #1484 from def-/js-swap
Fix swap in jsgen
2014-08-15 21:42:31 +02:00
def
e460d6e40e Fix CopyStr (substr in system.nim) for javascript target 2014-08-15 19:49:15 +02:00
def
6a7062fb60 Fix swap in jsgen 2014-08-15 19:34:28 +02:00
def
7a5a6ec5bc Fix array address on nkHiddenAddr 2014-08-15 19:06:13 +02:00
Araq
ae681be629 fixes #1343 2014-08-15 09:57:03 +02:00
Araq
f70b35b3b7 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-14 22:22:11 +02:00
Araq
06ad50b671 fixes #669 2014-08-14 21:56:06 +02:00
Andreas Rumpf
d8f6a2adcb Merge pull request #1481 from rbehrends/fix-stackscan2
Fix stack bottom initialization for non-main modules.
2014-08-14 09:16:26 +02:00
Reimer Behrends
d59b9a2168 Fix stack bottom initialization for non-main modules.
Because PreMain() was now called before the new stack bottom
initialization, it still relied on the old version of initStackBottom(),
which may not handle the top few words of the stack correctly. This
patch also sets the stack bottom in PreMain() using the new approach.
2014-08-14 03:09:39 +02:00
Araq
65587f726e fixes #1433 2014-08-14 03:02:36 +02:00