Commit Graph

2608 Commits

Author SHA1 Message Date
Araq
3020257559 implemented --listFullPaths option for aporia 2012-12-27 00:05:23 +01:00
Araq
81b718641c small improvements for FFI 2012-12-26 22:48:34 +01:00
Zahary Karadjov
083d4f4708 fixes the recently discovered GC memory leaks
This revision is intended as comparison point between the old and the new GC
The used GC can be switched in mmdisp and various statistics will be gathered during
execution (these will be removed/disabled in later revisions)
2012-12-20 15:51:21 +02:00
Araq
b6c8e16b0f bugfix: openssl import for macosx 2012-12-19 21:45:18 +01:00
Araq
c73d9fdd4c small examples work with the FFI 2012-12-19 08:44:20 +01:00
Araq
7148812524 first steps for FFI support at compile time 2012-12-19 02:22:39 +01:00
Araq
3be576222a fixes #277; documentation improvements 2012-12-17 19:30:43 +01:00
Araq
d16c04d8f8 don't invoke destructors for .global. variables 2012-12-16 20:12:56 +01:00
Araq
cd00679289 some fixes for generic first class iterators 2012-12-15 23:39:27 +01:00
Araq
a22c1f444f fixes #271 2012-12-15 22:35:16 +01:00
Keita Haga
9564e7069b Better CLI error message when options are invalid 2012-12-16 05:30:57 +09:00
Araq
c98696d742 lazy paths for Babel support 2012-12-11 20:06:15 +01:00
Araq
a840a4ce53 improvements for --babelPath 2012-12-09 23:20:48 +01:00
Araq
f96ec25ed2 made some tests green; some small bugfixes 2012-12-09 15:53:59 +01:00
Araq
1dc362dcd4 compiler support for babel 2012-12-07 17:20:51 +01:00
Araq
05b05be9f8 replaced recursivePath with shallowPath for Babel 2012-12-06 22:51:39 +01:00
Araq
a1f6779802 implemented AST based overloading 2012-12-06 08:45:18 +01:00
Araq
1d842e8b75 Merge branch 'master' of github.com:Araq/Nimrod 2012-12-06 07:10:19 +01:00
Araq
6431e60216 fixes #269 2012-12-05 23:28:35 +01:00
Araq
c5826ec1fb fixes #266 2012-12-05 22:58:52 +01:00
Araq
38ab30d153 implemented generic converters 2012-12-05 22:03:36 +01:00
Araq
7171ae62cb constraint now part of the parameter symbol and not of the type 2012-12-05 01:39:49 +01:00
Araq
0834224070 disable SSLv2_method for ubuntu 2012-12-03 21:48:12 +01:00
Araq
8948a97151 bugfix: 'not nil' and 'shared' types 2012-12-02 20:02:42 +01:00
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
Araq
b602c04c4a Merge branch 'master' of github.com:Araq/Nimrod 2012-12-02 11:15:10 +01:00
Araq
6ce15652d3 Merge branch 'master' of github.com:Araq/Nimrod 2012-12-02 11:13:05 +01:00
Araq
d7adc7c328 dont use unsafeNew in ropes.nim for now 2012-12-02 11:11:54 +01:00
Araq
76885c754a first version of ropes.nim with unsafeNew (broken) 2012-12-02 00:44:29 +01:00
Araq
c98e3d2c27 implements 'export' feature 2012-12-01 19:10:47 +01:00
Zahary Karadjov
e9e22ccb2a track the "owner" heap object in the ref write barrier
See the papers for reference counting with heap sliding views for details:
2012-12-01 15:37:13 +02:00
Araq
f503439e81 implements 'import dir/module' without quotes 2012-11-30 19:57:23 +01:00
Araq
da5ba6ce62 resolved conflicts 2012-11-30 02:09:04 +01:00
Araq
92e10e4b18 implemented 'import except' 2012-11-28 23:54:23 +01:00
Araq
0ef08e49e7 bugfix: better implict 'items' support 2012-11-28 19:57:41 +01:00
Araq
9483606d5b bugfix: implicit items/pairs work better 2012-11-28 08:03:25 +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
a42545ea3e disables the compile-time rope formatting during bootstrapping 2012-11-28 01:15:14 +02:00
Zahary Karadjov
e817d54369 first batch of rope code converted to rfmt
The results so far are inconclusive:
The rope cache tries have been reduced by more than 125K (nearly 20%),
but the bootstrap time seems to be ever slightly increasing (0.01s).
2012-11-28 01:15:13 +02:00
Zahary Karadjov
f644e3079f experimental compile-time rope formatting code 2012-11-28 01:15:13 +02:00
Zahary Karadjov
e6f3f46cd9 store the instantiation cache in the generic symbol 2012-11-28 01:15:13 +02:00
Zahary Karadjov
f9bd8cc985 [caas] first version that actually works (still has a lot of logical memory leaks on recompilation) 2012-11-28 01:15:13 +02:00
Zahary Karadjov
36e25a6849 CaaS in-memory caching
removed some redundant filepath params and variables and
switched to canonical paths in most places
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
c43bf78000 fixed recently introduced parser bugs 2012-11-26 19:31:55 +01:00
Araq
2591ac0ada 'return' for first class iterators 2012-11-26 08:47:57 +01:00
Araq
dd9ad9e497 next steps for first class iterators 2012-11-26 02:43:32 +01:00
Araq
538699a281 parser support for 'not nil' annotation 2012-11-25 23:40:42 +01:00
Araq
ccd2934e4a first steps for 'not nil' annotation 2012-11-25 11:03:14 +01:00