Commit Graph

442 Commits

Author SHA1 Message Date
Araq
af792da0bb codegen uses alias analysis to generate better code 2011-12-10 01:06:32 +01:00
Araq
c6213c9774 fixes #71; sorry about the polling implementation 2011-12-05 21:43:45 +01:00
Araq
24e1d22ec9 fixes 70 2011-12-04 20:21:38 +01:00
Araq
70cf34cbdc 'assert' is now implemented without compiler magic 2011-12-04 20:14:50 +01:00
Araq
728328eec2 threads compile again; attempt to fix serious code gen issue (except + return) 2011-12-03 19:22:01 +01:00
Araq
c8d270268a bugfixes for .rod files and visual C++ 2011-12-03 17:21:35 +01:00
dom96
7b0cfc3538 Added a chmod function to the ftpclient module. 2011-11-30 17:50:02 +00:00
dom96
710ee8c67d Fixed ftpclient.createDir. 2011-11-29 18:54:24 +00:00
Araq
7fcbdc6d42 implemented 'let' statement 2011-11-29 17:27:48 +01:00
Araq
455994664e old 'readline' and 'endOfFile' not deprecated anymore; too convenient for 1 liners (see examples/maximum.nim) 2011-11-29 08:41:06 +01:00
Araq
e261a88d07 further steps to get rid of deprecated endOfFile and readLine 2011-11-29 01:24:58 +01:00
Araq
a489161b16 compiler uses new 'readLine' 2011-11-27 19:01:55 +01:00
Araq
020a10927a fixes #31 2011-11-27 16:32:05 +01:00
Araq
8e1313d237 bugfix: tester compiles again 2011-11-26 17:48:42 +01:00
Araq
840979b45c Merge branch 'master' of github.com:Araq/Nimrod 2011-11-26 10:49:48 +01:00
Araq
4b39ac5cbe deprecated endOfFile and readLine 2011-11-25 18:17:14 +01:00
Araq
02e8e9c3ea fixed bug that kept tls emulation from working 2011-11-25 17:26:11 +01:00
Zahary Karadjov
c617479c68 New algorithm for locating and loading nimrod config files.
Some new options added to the compiler (see news.txt for details)
2011-11-25 17:29:55 +02:00
Araq
e40bca47c5 fixes #60 2011-11-25 00:08:02 +01:00
Araq
703430787d C codegen: generate nimKeepAlive calls at strategic places to keep the C compiler from optimizing away all stack roots 2011-11-24 23:28:28 +01:00
Araq
ca5d2916dd fixes #65 2011-11-22 18:51:07 +01:00
Araq
c8dda8cc6f attempt to fix tunidecode test; GC cares for seq->openArray conversions 2011-11-21 01:33:18 +01:00
Araq
1392049aea Merge branch 'master' of github.com:Araq/Nimrod 2011-11-20 16:13:21 +01:00
Araq
72651de710 bugfix: 'when' sections in generic objects now work, so TThread[void] compiles 2011-11-20 16:13:03 +01:00
Dominik Picheta
9e06495261 Fixed test suite on windows 2011-11-19 22:44:02 +00:00
Araq
d0772feb08 fixed some tests 2011-11-19 12:23:03 +01:00
Araq
62aa8bed3b tester: threading tests added 2011-11-19 02:05:16 +01:00
Araq
a497b4d1cf bugfix: fixed memory leaks in osproc module 2011-11-18 22:14:32 +01:00
Araq
c9b67f724d new osproc implementation may work with mac os x 2011-11-18 19:08:07 +01:00
Araq
ecd3c80e7e tester compiles in taint mode again 2011-11-18 00:40:30 +01:00
Araq
61792dc7d6 cgen: no type canon for integral types; osproc use posix_spawn instead of fork&exec 2011-11-18 00:29:56 +01:00
Araq
b05418a431 Merge branch 'master' of github.com:Araq/Nimrod 2011-11-15 23:04:24 +01:00
Araq
7819b84475 bugfixes: objects still invalid for constants; fixed a typo concerning 'high' in eval context 2011-11-15 23:03:14 +01:00
dom96
0698a3cafa Added new features to the ftpclient module. 2011-11-15 19:56:02 +00:00
Araq
5f018a5046 new FTPClient module compiles in taint mode 2011-11-15 01:17:30 +01:00
Araq
395b05f911 tester uses same layout as nimbuild 2011-11-12 12:17:44 +01:00
Araq
40fa4bb52d better streams implemenation; fixes #63 2011-11-12 02:10:07 +01:00
Zahary Karadjov
032ff87780 fixing bootstrapping when stack frames are enabled 2011-11-10 20:11:22 +02:00
Zahary Karadjov
da4076e0b7 when running unit tests, the tester will print only failures using colorless output (this should be better for nimbuild) 2011-11-10 04:39:46 +02:00
Zahary Karadjov
489340658e Added system.program_results for controlling the exit code of the program under normal circumstances
Implemented operators like +=, -=, etc for ordinals, floats and string

Programs using the UnitTest module will now report the number of failed tests as the exit code of test runs (0 for successful run)
2011-11-10 04:10:03 +02:00
Araq
8c03d96c6a bugfixes for the testsuite 2011-11-08 01:57:23 +01:00
Araq
25e813b5d0 bugfixes for the tester; the tester now supports running of single tests 2011-11-08 01:29:29 +01:00
Araq
0b4d5e45b9 tester checks exitcode; osproc additions; DLL fixes; taint mode fixes 2011-11-07 23:25:34 +01:00
Araq
0ce9d49601 better exception behavior for os.removeFile and os.removeDir 2011-11-06 01:59:13 +01:00
Araq
dc08a033d9 memfiles now uses winlean; changed the interface to raise EOS 2011-11-05 12:16:49 +01:00
Zahary Karadjov
2f34e17011 logical typo in the previous commit 2011-11-04 14:50:11 +02:00
Zahary Karadjov
b72480ec88 new kind of AST printer that prints indented trees
AST-to-string conversion procs renamed to repr, treeRepr and lispRepr for better consistency
new dumpTree and dumpLisp procs for quick AST inspection of arbitrary nimrod blocks
2011-11-04 04:56:40 +02:00
Zahary Karadjov
4a436120bd memory-mapped files for posix and windows 2011-11-04 03:49:55 +02:00
dom96
264de4537e Added ftpclient module. Fixed docs in sockets module. Added dll tests to test suite. 2011-11-04 00:22:04 +00:00
Araq
d819350145 bugfix: new GCC version requires -ldl to come after object files 2011-11-03 20:17:46 +01:00