Commit Graph

9782 Commits

Author SHA1 Message Date
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
Araq
cacb200eff fixes #2 2011-11-02 02:47:34 +01:00
Araq
77222b2aad fixes #59 2011-11-02 02:36:01 +01:00
Araq
1f6725e59e small bugfixes to make more tests green 2011-11-02 02:28:18 +01:00
Araq
84c473a890 DLL generation may work again 2011-11-02 01:25:17 +01:00
Araq
95df3ee1ce Merge branch 'master' of github.com:Araq/Nimrod 2011-11-02 00:55:45 +01:00
Araq
351e89e705 better code generation for constant aggregates 2011-11-02 00:55:29 +01:00
dom96
e1a82987af Fixed the tester. Some fixes and additions for the JS backend. 2011-10-31 15:39:01 +00:00
Araq
47f523cfb8 bugfix: template t(f_no_Type) does not crash the compiler anymore in 'check' mode 2011-10-30 21:27:02 +01:00
Araq
15fcb58e2a Merge branch 'master' of github.com:Araq/Nimrod 2011-10-30 20:53:16 +01:00
Araq
c517639155 lazy loading of body ast implemented 2011-10-30 20:53:04 +01:00
dom96
f5616bcb0b Fixed issue with some functions in the sockets module not reporting the correct error message. Added more disconnection cases in the irc module, also added a message limiting system. 2011-10-30 18:25:33 +00:00
Araq
78f37b2336 compilation cache: slurped files are a dependency too 2011-10-30 01:02:15 +02:00
Araq
299390a585 constant folding for cnst[i] and cnst.attr 2011-10-29 23:54:50 +02:00
Araq
22115a2c6a splicing tested and documented 2011-10-28 17:57:58 +02:00
Araq
a0a8934a4f eval context for macros lives as long as the current module is compiled 2011-10-28 01:38:41 +02:00
Araq
fe9bb1869d JS backend: supports methods (untested) 2011-10-28 00:14:19 +02:00
Araq
2d54b85089 compilation cache: tests now part of test suite 2011-10-27 23:25:34 +02:00
Araq
5e5e4abfee new compiler option tlsEmulation 2011-10-27 21:03:53 +02:00
Araq
abe9dfafe8 compilation cache: DLL interfacing now works 2011-10-27 18:02:01 +02:00
Araq
90db9171a2 compilation cache: various bugfixes; works for the compiler itself 2011-10-27 00:41:42 +02:00
Araq
9fb36bd20c compilation cache: mostly working; generics not yet 2011-10-25 15:26:36 +02:00
Araq
9fb97e24bf compilation cache: multi methods now work 2011-10-24 00:56:47 +02:00
Araq
a702524ae4 compilation cache: better dependency checking 2011-10-23 22:45:52 +02:00
Araq
627d33da08 compilation cache: small fixes; methods still not working 2011-10-23 21:39:02 +02:00
Araq
bd1cb9e77b compilation cache: methods have a chance to work 2011-10-23 11:24:52 +02:00
Araq
2b323c638c thread local vs. global system.raiseHook 2011-10-23 01:12:24 +02:00
Araq
a757a08ab7 documentation for the compilation cache 2011-10-23 00:52:11 +02:00
Araq
dce8d3d1ab rod files: next trivial examples working 2011-10-22 22:49:51 +02:00