Commit graph

458 commits

Author SHA1 Message Date
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
Araq
c70fa87471 further progress for multi-threading 2011-05-19 23:23:10 +02:00
Araq
aeb0506132 thread support: next iteration 2011-05-17 19:22:29 +02:00
Araq
67a30d8371 further steps for thread support; bootstrapping should require unzip C sources and ./build.sh 2011-05-16 00:27:47 +02:00
Araq
3e9dcc8be5 deprecated system.copy: use system.substr instead 2011-05-14 01:13:44 +02:00
Araq
32241aa9fe got rid of isLifted 2011-05-14 00:24:52 +02:00
Araq
f94941964d debug build works again; sorry 2011-05-09 22:44:14 +02:00
Araq
f717f1e628 threadvar alternative 2011-05-09 22:29:29 +02:00
Araq
d2e2d71d05 newStringOfCap implemented and used to optimize some procs 2011-05-08 17:38:34 +02:00
Araq
6ff8752be5 cleaned up the tests; fixes #30; fixes #26 2011-05-01 20:11:55 +02:00
Araq
86e1408a39 slight change in the spec of unary '..' 2011-04-23 17:13:25 +02:00
Araq
4ba4999bb7 slice support in system.nim; syntactic sugar for tables; cleanup of grammar/parser 2011-04-23 17:11:24 +02:00
Araq
8dda362fa6 slices are first class citizens 2011-04-22 10:53:43 +02:00
Araq
d1b766cec0 hashtables: 1st version; parseutils additions 2011-04-18 23:41:31 +02:00
Araq
48dd9679bd := templatable; lexer improvements 2011-04-17 20:17:45 +02:00
Araq
46c41e4369 p[] instead of p^ 2011-04-11 23:28:53 +02:00
Araq
b3e24382a0 added another system.open; bugfix: koch clean may not break .git dirs anymore 2011-04-03 23:12:03 +02:00
Araq
b38c7adad1 bugfix: GC more forgiving 2011-04-03 22:59:00 +02:00
Araq
4741e8f9a1 ugh, maybe broke git 2011-04-01 15:07:16 +02:00