Commit Graph

190 Commits

Author SHA1 Message Date
Araq
5e5ed192e5 GC: use simple balanced tree instead of AVL tree 2011-12-30 20:42:47 +01:00
Araq
b336bf4039 added support for advanced substitution expressions 2011-12-27 19:22:46 +01:00
Araq
6260757a2a generated scripts do no contain paths anymore; regenerated C sources 2011-12-23 11:15:19 +01:00
Araq
af792da0bb codegen uses alias analysis to generate better code 2011-12-10 01:06:32 +01:00
Araq
70cf34cbdc 'assert' is now implemented without compiler magic 2011-12-04 20:14:50 +01:00
Araq
fc9fdc2b9d cleaned up configuration file handling and documented the new behaviour 2011-11-30 00:53:41 +01: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
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
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
2de98d9e05 new pragma: 'noinit' 2011-11-25 15:33:58 +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
72651de710 bugfix: 'when' sections in generic objects now work, so TThread[void] compiles 2011-11-20 16:13:03 +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
40fa4bb52d better streams implemenation; fixes #63 2011-11-12 02:10:07 +01: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
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
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
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
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
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
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
Zahary Karadjov
b7e8daf65d libuv working on windows too
Added: vcc compilation flags for proper debug symbol generation
2011-10-12 22:40:01 +03:00
Araq
51e01879ba 'bind' as a declarative statement 2011-10-10 02:04:15 +02:00
Araq
c138cc36b4 new syntactic construct: a{i} 2011-10-08 02:14:42 +02:00
Araq
e956abbadd slurp uses path; unidecode is improved and threadsafe 2011-10-08 01:17:06 +02:00
Araq
42516c0086 code generator supports constant sequences; more consistent compile time evaluation 2011-10-07 09:02:08 +02:00
Araq
14968fba46 bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments optimized; tstringinterp.nim now works 2011-09-26 00:24:06 +02:00
Araq
0f37d0e1f2 sockets.recv optimizations; stdlib now supports taint mode 2011-09-24 20:22:53 +02:00
Araq
485c371942 renamed optional to discardable 2011-09-24 19:18:08 +02:00
Araq
72ceda98cb implemented optional pragma for implicit discard 2011-09-24 13:55:24 +02:00
Araq
3824b6ea5f Merge branch 'master' of git@github.com:Araq/Nimrod 2011-09-24 00:46:54 +02:00
Araq
6023e994fb beginning of a taint mode; type system enhancements 2011-09-24 00:46:41 +02:00
dom96
6deda5a973 Fixed string concatenation and other bugs in the JS backend. Fixed a small bug in the IRC module. 2011-09-23 21:43:24 +01:00
dom96
4896f63129 Some improvements relating to the IRC module. 2011-09-04 20:28:32 +01:00
Araq
4839800c22 new actors implementation for nimrod; compiler's generics still not up for the task though 2011-08-29 01:14:26 +02:00
Araq
d560e84fcc locks now in their own core module 2011-08-20 00:24:02 +02:00
Araq
5cba831c88 'pure' is now 'noStackFrame' for procs 2011-08-19 19:11:58 +02:00
Araq
15440ec745 documentation for --nimcache option 2011-08-19 01:52:14 +02:00