Commit Graph

65 Commits

Author SHA1 Message Date
Zahary Karadjov
961d3de8e5 fix compiling after suggest 2013-05-05 16:34:00 +03:00
Zahary Karadjov
f52ea04d22 support suggest after compile in caas mode 2013-05-05 15:12:50 +03:00
Zahary Karadjov
5a2720e990 bugfix: compiling after idetools usage is now possible in caas mode 2013-05-05 00:42:16 +03:00
Zahary Karadjov
519d5b834a experimental support for answering idetools --def requests from
an in-memory index built during compilation in caas mode
2013-05-04 23:02:03 +03:00
Zahary Karadjov
89f9772f15 nimrod dump can now produce a machine readable json report
The data in the report includes necessary information for starting
the compiler service and setting up the project paths in the IDE.

the default verbosity of 1 is now set in the compiler code to fix an
issue with verbosity being temporary set to 1 during config parsing
even when it's explicitly overridden on the command-line.

compiler/lexbase was temporary renamed to nimlexbase as a
work-around for a codegen naming conflict with lib/pure/lexbase
resulting in linking errors (further investigation needed).
2013-05-01 20:46:05 +03:00
Zahary Karadjov
95b28700cc bugfix: fix linking when symbol files are used 2013-04-08 23:23:12 +03:00
Araq
6d64a6e42c next steps to make symbol files work again 2013-04-08 14:27:55 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
dc07732daa Merge branch 'master' of github.com:Araq/Nimrod 2013-02-28 21:28:35 +01:00
Araq
8090b6c027 small improvements 2013-02-27 23:57:04 +01:00
Simon Hafner
cc893b968b added isServing parameter 2013-02-26 14:36:33 -06:00
Araq
593b48b38e enable 'cast' in interactive mode (beware) 2013-02-17 02:42:55 +01:00
Simon Hafner
1785c6877b EcmaScript => JS. Fixes #330
No one calls it EcmaScript anymore.
2013-02-15 11:08:30 -06:00
Araq
65fdd641a9 revert to old GC; use --gc:v2 to activate the new GC 2013-01-31 17:24:55 +01:00
Zahary Karadjov
19e795e017 the mainmodule option has effect only when no explicit module is given 2013-01-28 00:26:49 +02:00
Zahary Karadjov
81a3585872 merged upstream master 2013-01-27 23:41:45 +02:00
Zahary Karadjov
55f8ed2452 remove any traces of the old global generics cache 2013-01-27 21:28:34 +02:00
Zahary Karadjov
0d77909b17 fixed a regression in nimrod i 2013-01-27 19:52:24 +02:00
Araq
09e4b194f5 bootstrapping works again 2013-01-22 00:37:33 +01:00
Araq
0d978c4a9a fixed some closure related bugs 2013-01-22 00:29:54 +01:00
Zahary Karadjov
8be307713e fixed a regression: compiling projects not residing in the current directory 2013-01-20 22:09:07 +02:00
Zahary Karadjov
86bf97a730 cleaned up some debugging code 2013-01-20 21:22:07 +02:00
Araq
86b19c44eb allow 'cast' for the JS target 2013-01-09 00:49:19 +01:00
Araq
3c73654aca Copyright 2012 -> 2013 2013-01-08 07:54:23 +01:00
Araq
88a441ea8e next steps for FFI at compile time 2013-01-02 01:17:53 +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
c98696d742 lazy paths for Babel support 2012-12-11 20:06:15 +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
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
022ff2e86e almost every pragma is allowed in a 'push' pragma 2012-11-20 23:58:45 +01:00
Araq
3d40842088 doc2 improvements; small lexer bugfix: backslashes in comments 2012-11-20 17:46:11 +01:00
Araq
cf06131dec better extension loading for the OpenGL wrapper 2012-10-09 17:11:33 +02:00
Araq
9fbee85cc9 first steps for compiler as a service 2012-10-03 20:49:43 +02:00
Araq
244c14db0b top level closures should work; transf is not a pass anymore; next steps for first class iterator support 2012-08-13 17:07:49 +02:00
Araq
b0c11d3efb made compiler more robust for idetools support 2012-07-30 17:43:22 +02:00
Zahary Karadjov
4841b6390c removed nimdat in favor of per-module dat init procs 2012-07-19 19:43:58 +03:00
Araq
fe285b354d JS codegen enhancements; still unusable 2012-07-01 19:35:19 +02:00
Araq
3c98518487 docgen2 improvements 2012-06-23 16:32:14 +02:00
Araq
01ab5948aa first implementation of docgen2 2012-06-23 08:41:11 +02:00
Araq
76235348f8 extracted documentation generator 2012-05-09 01:50:08 +02:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Zahary Karadjov
d171a8b36f path canonicalization for imported modules, relative paths written in rod files 2011-12-11 11:24:52 +02:00
Zahary Karadjov
e4e74034c2 path canonicalization and proper project relative paths 2011-12-09 04:40:59 +02:00
Zahary Karadjov
2f95e4d829 Speed-up symbolFiles:on operations on windows 2011-12-07 00:45:52 +02:00