Commit graph

143 commits

Author SHA1 Message Date
Araq
f3f3fc01aa further steps for closure support; added 'system.rawProc', 'system.rawEnv' 2012-02-08 22:56:31 +01:00
Araq
632aece191 further steps to closure support 2012-02-06 00:19:56 +01:00
Araq
e27da767a2 implemented/fixed #92 2012-01-29 11:35:10 +01:00
Araq
40881a4140 sysasserts leaner again 2012-01-29 02:20:59 +01:00
Araq
9083f01fd2 fixed #96 as good as technically possible (debug frames are allocated on the C stack) 2012-01-29 01:53:09 +01:00
Araq
0f18ab9691 removed conflict in system.nim 2012-01-28 23:24:31 +01:00
Araq
8d19a93f1a pragma on/off improvements; endb rewritten 2012-01-28 23:22:44 +01:00
dom96
b298b07567 Added asyncio module; irc, scgi and the ftpclient modules work with it. Added (de)allocCStringArray. Many async sockets fixes. 2012-01-22 16:21:05 +00:00
Araq
78f4aacde9 pragma blocks; fixed line information issue with user defined assertions 2012-01-17 23:58:18 +01:00
Araq
76886432da even more sys assertions 2012-01-13 12:49:06 +01:00
Araq
e6b3f50c7f more sysasserts for allocator/gc 2012-01-12 19:44:57 +01:00
Araq
e7e3c451ef removed '^ deprecated' message 2012-01-10 00:33:32 +01:00
Araq
4dcd7170aa bugfix: debugger works again 2012-01-08 23:42:22 +01:00
Araq
d34345586f unsuccessful phantom bug hunting 2012-01-08 20:18:24 +01:00
Araq
bcbfa3aaa4 C sources regenerated for new len(openarray) header that catches more bugs; symbol files should work again 2012-01-03 00:21:12 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
0d8e6dda69 new len(openarray) implementation 2011-12-31 18:15:20 +01:00
Araq
c463a22dc9 Merge branch 'master' of github.com:Araq/Nimrod 2011-12-31 11:28:09 +01:00
Araq
61ff329337 Merge pull request #79 from Tass/master
readAll
2011-12-31 02:21:01 -08:00
Araq
d25fefc0ff make trecinca|b tests green 2011-12-31 10:23:56 +01:00
Araq
5e5ed192e5 GC: use simple balanced tree instead of AVL tree 2011-12-30 20:42:47 +01:00
Simon Hafner
24917aaf1e fixes for readAll 2011-12-30 14:15:12 +01:00
Simon Hafner
5ede29cd05 implemented readAll() 2011-12-22 17:17:06 +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
c8d270268a bugfixes for .rod files and visual C++ 2011-12-03 17:21:35 +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
4b39ac5cbe deprecated endOfFile and readLine 2011-11-25 18:17:14 +01:00
Araq
a497b4d1cf bugfix: fixed memory leaks in osproc module 2011-11-18 22:14:32 +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
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
22115a2c6a splicing tested and documented 2011-10-28 17:57:58 +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
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
Zahary Karadjov
49d924c20b Added wrappers for joyent's libuv and http_parser librarier 2011-10-12 16:24:23 +03:00
Zahary Karadjov
e3deb5b502 Cleaned up the circular dependecies and remaining issues
Changed: The []= operator for strings and sequences is now capable of splicing
2011-10-07 17:10:04 +03:00
Zahary Karadjov
22546c44d1 Basic unit testing facilities (suites, fixtures, cases)
Added: PNimrodNode.lineinfo for better error messages from macros
Added: seq.splice

For easier use from templates and macros, except stament now supports
the list of exception types to be supplied in nkBraket node (array literal).
2011-10-07 17:07:18 +03:00
Araq
485c371942 renamed optional to discardable 2011-09-24 19:18:08 +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
Araq
2359b8b107 fixed some newly introduced bugs 2011-09-21 00:54:13 +02:00
Zahary Karadjov
dbcca9b3b9 Moved the parseAST magics to evals.nim
Added string interpolation helper routines in parserutils

Added a proof-of-concept string interpolation user-land macros (currently, only as a test case):
  the interpolated expression could either be transformed to
  concat("literal string ", $(interpolated), " end") or
  "literal string $1 end" % [$(interpolated)]

Added a very initial definition of Optional[T] generic type

A new overload of ParseIdent was added in hope to get around the fact that the 
old one doesn't work correctly in macros, but the problem persists.
2011-09-20 14:13:45 +03: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
dd190a5c01 more occurences of 'pure' proc pragma fixed 2011-08-20 01:01:46 +02:00
Araq
72e7a98543 added system.slurp for easy embedding of resources 2011-08-10 00:43:58 +02:00