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
Araq
7000cf51b7
modifyable results for generics; teventemitter works
2011-08-09 01:40:12 +02:00
Araq
cb21fd4f8f
json code generation works again
2011-08-07 23:54:03 +02:00
Araq
6a8a409f1b
preparation for new 'is' operator; breaks bootstrapping again, sorry (use generated C code)
2011-07-31 00:21:32 +02:00
Araq
81a917390b
shared untraced heap; bugfix: mem corruptions in message passing code
2011-07-18 23:59:39 +02:00
Araq
42e6130b2c
first steps to explicit channels for thread communication; added mainThreadId
2011-07-16 18:34:18 +02:00
Araq
5b96eaa953
preparations for 0.8.12
2011-07-10 15:48:13 +02:00
Araq
2565ff8dde
basic message passing working
2011-07-09 01:18:33 +02:00
Araq
99bcc233cd
bugfix: 'set' overloadable; further steps for multi threading support
2011-07-08 01:29:15 +02:00
Araq
e25384db89
improvements to get code size down for programs that don't use GC
2011-06-26 20:17:19 +02:00
Araq
990dc2d715
code gen bugfixes; marshal.nim implemented
2011-06-26 17:21:52 +02:00
Araq
f1100356b1
zipfiles compiles again; added system.shallowCopy
2011-06-20 23:20:11 +02:00
Araq
04f9c2585a
readFile raises EIO instead of returning nil; added system.writeFile
2011-06-16 10:47:44 +02:00
Araq
4fa80956b8
compiler can emulate thread local variables
2011-06-15 02:09:02 +02:00
Araq
988de05707
fixed system.nim to use the proper getTypeInfo magic
2011-06-10 02:25:43 +02:00
dom96
8b98ba9a63
Added typeinfo module
2011-06-09 22:23:29 +01:00
Araq
24ed9d560f
threads clean up their heap
2011-06-04 23:55:10 +02:00
Araq
3260702a60
first steps to thread local heaps
2011-06-02 13:02:40 +02:00