Araq
e40bca47c5
fixes #60
2011-11-25 00:08:02 +01:00
Araq
093af9b9eb
'export' is now a keyword
2011-11-24 23:34:37 +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
fedc69f61a
unused constants are optimized away
2011-11-22 18:48:00 +01:00
Araq
c8dda8cc6f
attempt to fix tunidecode test; GC cares for seq->openArray conversions
2011-11-21 01:33:18 +01:00
Araq
04e5c6718e
proper error message when attempting to eval C'imported procs
2011-11-20 17:17:47 +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
a274f3bf5b
got rid of 'accept' dir in the tests
2011-11-19 15:45:51 +01: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
Zahary Karadjov
12bac28d23
macros and templates can be expanded anywhere where a type is expected.
...
This allows for various type selection algorithms to be implemented.
See tests / accept / compile / ttypeselectors.nim for examples.
2011-11-18 02:11:15 +02: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
4c5cf88c16
compilation cache: improvement: switching from codegen to 'check only' does not trigger a recompilation
2011-11-15 00:11:49 +01:00
Araq
bec06a0649
bugfix: s[1..n] = @[] produced wrong C code
2011-11-14 08:33:44 +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
Araq
3b6d831549
Merge branch 'master' of github.com:Araq/Nimrod
2011-11-12 01:21:10 +01:00
Araq
8fc15ca0d5
added another test case
2011-11-12 01:02:06 +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
2bd14f4ba8
GC tests now finally part of testsuite
2011-11-10 02:13:02 +01:00
Araq
68be801f63
operator precedence changed: assignment like operators are supported; escaping of operators with \ is supported
2011-11-09 01:42:05 +01: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
089e287c6e
compilation cache: fixed recently introduced bug (lazy loading of bodies)
2011-11-06 01:11:38 +01:00
Araq
dc08a033d9
memfiles now uses winlean; changed the interface to raise EOS
2011-11-05 12:16:49 +01:00
Araq
25fbad98bc
Merge branch 'master' of github.com:Araq/Nimrod
2011-11-05 00:40:10 +01:00
Araq
74c84e31ed
todo.txt changes
2011-11-05 00:39:54 +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
Araq
d6d13e1def
Merge branch 'master' of github.com:Araq/Nimrod
2011-11-04 01:35:07 +01:00
Araq
f5db885694
documented --recursivePath
2011-11-04 01:34:49 +01: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
Araq
64e74cf484
bugfix: code gen for constant sequences
2011-11-02 19:47:33 +01:00
Araq
93be594eca
fix of recently introduced parsing bug
2011-11-02 19:04:40 +01:00