Commit Graph

3518 Commits

Author SHA1 Message Date
Zahary Karadjov
d0edb1826b adds an option to interleave the generated code with snippets from the original source
Lines from the original source are outputted as comments next to line directives.
Hopefully, this will make debugging codegen problems easier.

Other changes:
The frame setup code now uses a single-line C macro. My motivation was to reduce
the noise in the generated output and make it easier to step over the boiler-plate
code, but counter-intuitively this also improved the overall compilation speed a
little bit so I applied the same treatment to line tracking too (this reduces the size of
the generated files and the explanation is that probably the I/O overhead dominates
the macro expansion costs).
2012-12-02 20:36:29 +02:00
Dominik Picheta
0916137287 Fixes error in httpclient. 2012-12-02 13:45:28 +00:00
Dominik Picheta
fa198f5be1 Fixes SSL httpclient and problems with hidden path splitting in OS.
Added babel's libs dir to Nimrod's path.
2012-12-02 13:21:21 +00:00
Araq
76885c754a first version of ropes.nim with unsafeNew (broken) 2012-12-02 00:44:29 +01:00
Araq
9c0355a13f Merge branch 'master' of github.com:Araq/Nimrod 2012-12-01 19:11:04 +01:00
Araq
c98e3d2c27 implements 'export' feature 2012-12-01 19:10:47 +01:00
Dominik Picheta
10d13d5032 Fixed IRC test. 2012-12-01 16:38:33 +00:00
Dominik Picheta
336da8f44e IRC module is now saner at the expense of a little API breakage.
Added warnings for unstable APIs to modules that use AsyncIO.
2012-12-01 16:04:59 +00:00
Araq
92e10e4b18 implemented 'import except' 2012-11-28 23:54:23 +01:00
Araq
0d19de18cc first steps for the 'export' feature 2012-11-28 02:02:46 +01:00
Zahary Karadjov
c67520a7c5 temporary debugging code for the memory leak investigation 2012-11-28 01:15:14 +02:00
Zahary Karadjov
e6f3f46cd9 store the instantiation cache in the generic symbol 2012-11-28 01:15:13 +02:00
Zahary Karadjov
091c1b3075 caas is now drivable through stdin
* added idetools --eval
* streams.readLine recognises and applies the backspace character
2012-11-28 01:15:13 +02:00
Araq
012a7b5522 Merge pull request #262 from gradha/pr_adds_some_documentation_to_db_modules
Documents NULL to "" db_* transformation and return values.
2012-11-24 17:54:04 -08:00
Grzegorz Adam Hankiewicz
cdd324d163 Documents NULL to "" db_* transformation and return values. 2012-11-24 20:41:26 +01:00
Araq
476f6fc8ee sockets: proper bugfix for solaris 2012-11-22 08:08:54 +01:00
Araq
85c53d525b Merge pull request #260 from exhu/master
base() proc for typeinfo module
2012-11-21 14:04:19 -08:00
Yury Benesh
b0388073c4 Added base() proc to typeinfo. 2012-11-21 23:42:11 +03:00
Araq
46f92c31aa added 2 necessary node kinds 2012-11-21 20:55:03 +01:00
Araq
022ff2e86e almost every pragma is allowed in a 'push' pragma 2012-11-20 23:58:45 +01:00
Araq
1dfc57c5ff bugfix: sockets with SSL support 2012-11-20 22:04:45 +01:00
Araq
67d9933eb3 sockets.nim: bugfix for solaris 2012-11-20 21:40:22 +01:00
Araq
b4ad97a036 fixes #256 (I hope) 2012-11-20 21:33:22 +01:00
Araq
c4b7a3e545 docs should build under doc2; unittests of times.nim compile under 32bit; small bugfix for the tester 2012-11-20 21:28:55 +01:00
Araq
3d40842088 doc2 improvements; small lexer bugfix: backslashes in comments 2012-11-20 17:46:11 +01:00
Araq
14fc0631d7 fixes #250 2012-11-19 00:16:25 +01:00
Araq
db80038c37 Merge branch 'master' of github.com:Araq/Nimrod 2012-11-18 13:35:05 +01:00
Araq
ec9b1f78e1 annotated effects of modules: os, sockets, times 2012-11-18 13:34:48 +01:00
Dominik Picheta
ddf4449442 Fixes bug in scgi module: client socket was not initialised properly. 2012-11-18 11:21:51 +00:00
Araq
1c17d3e841 Merge branch 'master' of github.com:Araq/Nimrod 2012-11-18 01:41:28 +01:00
Araq
3c0a6a8962 'assert' hides EAssertionFailsure; stdlib makes use of 'tags' 2012-11-18 01:36:20 +01:00
Dominik Picheta
c841a09592 Async fixes for IRC module. 2012-11-18 00:21:33 +00:00
Dominik Picheta
1047c4414c Fixed a bug relating to changing nicknames and message origin in the IRC module. 2012-11-17 21:16:27 +00:00
Araq
7f6633a06f added system.finished for first class iterators 2012-11-17 01:25:32 +01:00
Araq
814fcb2639 bugfix: stack traces; first class iterators almost working 2012-11-15 01:27:25 +01:00
Araq
7ba0a7e324 Merge branch 'master' of github.com:Araq/Nimrod 2012-11-11 22:05:04 +01:00
Araq
48a62af3b1 implemented 'tags' pragma 2012-11-11 22:03:41 +01:00
Zahary Karadjov
1b691d8747 fixed a typo 2012-11-11 17:13:56 +02:00
Zahary Karadjov
32d0ac01dc AST quasi-quoting for macros 2012-11-11 17:02:13 +02:00
Araq
515cf985f4 made some tests green 2012-11-07 01:08:31 +01:00
Araq
43cdf49472 Merge branch 'master' of github.com:Araq/Nimrod 2012-11-05 19:49:19 +01:00
Araq
e54425b068 system.onRaise improvements 2012-11-05 19:48:49 +01:00
Araq
865d9cc6e6 added system.onRaise to support a condition system 2012-11-05 08:36:44 +01:00
Dominik Picheta
76c4b0516a Many doc improvements. Changed Threads.joinThreads' param's type to varargs. 2012-11-04 22:30:19 +00:00
Araq
f35b51c68f doc2 support for nimweb; fixed graphics.withEvents 2012-11-01 08:32:30 +01:00
Araq
42d0911d6a nimbuild should work again 2012-11-01 01:11:48 +01:00
Araq
2133fbfcce bugfix: wrong assertions for C++ code generation; some solaris support; first steps to an effect system 2012-10-30 22:29:03 +01:00
Araq
0ca559b40d Merge branch 'master' of github.com:Araq/Nimrod 2012-10-24 01:14:09 +02:00
Araq
de338526ec caas barely works now 2012-10-24 01:13:44 +02:00
Dominik Picheta
f9775e1fe9 Redis fixed to use unbuffered sockets. 2012-10-21 18:58:12 +01:00