Commit Graph

93 Commits

Author SHA1 Message Date
Araq
edc4940c26 doc updates; fixes 'inc' for 'char' 2015-03-29 13:16:22 +02:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +01:00
Araq
8710a37384 nimsuggest: sane dirty buffer handling 2015-01-29 03:08:41 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Araq
4b7de4dc5e implemented 'experimental' switch 2014-12-05 10:09:29 +01:00
Araq
297647affe fixes a recently introduced regression 2014-09-16 22:49:10 +02:00
Araq
d330a72a45 fixes documentation generator 2014-09-14 11:34:06 +02:00
Araq
c53a27f0dc nimfix supports specialized '.nimfix' modules 2014-09-08 09:18:09 +02:00
Araq
7f7b13a45f nimfix handles helloworld 2014-09-06 00:50:53 +02:00
Araq
c40f981e64 babel is now nimble 2014-08-30 16:36:57 +02:00
Araq
cd2c6128d1 renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings 2014-08-29 09:03:00 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
b8ce3a4175 fixes 'gcsafe' 2014-08-12 08:47:31 +02:00
Varriount
c0338eacb6 Merge pull request #1118 from gradha/pr_show_boot_options
Version switch displays options used during `koch boot`
2014-04-21 15:41:03 -04:00
Araq
4075159933 reintroduce thread analysis but disable it for backwards compatibility 2014-04-20 22:15:25 +02:00
Araq
be6474af63 removed flawed thread analysis pass 2014-04-20 14:00:04 +02:00
Grzegorz Adam Hankiewicz
03ffc344e1 Version switch displays options used during koch boot 2014-04-20 12:23:54 +02:00
Grzegorz Adam Hankiewicz
1c89c45ae9 Adds option to exclude nimcache dirs from time machine backups. 2014-04-16 22:46:16 +02:00
Araq
3e25d5f247 merged better html links #850 2014-04-08 01:19:15 +02:00
Araq
614557994e the compiler is now aware of packages 2014-03-02 23:46:20 +01:00
Araq
c55f5b34ee better handling of packages, still incomplete 2014-03-02 15:41:53 +01:00
Araq
36afdca87f resolved conflicts with master 2014-01-18 01:16:45 +01:00
Zahary Karadjov
8e0941576f clean-up some obsolete code; close #602 2013-12-31 12:39:43 +02:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Dominik Picheta
8c1ea5cb3f Added --noBabelPath override. 2013-12-25 22:38:53 +00:00
Erik O'Leary
aaf49947e9 Added jsondoc compiler switch
Outputs top-level exported information in JSON
2013-12-12 10:59:30 -06:00
Araq
9bf32ff72d bugfix: package names should not contain '.' 2013-10-07 21:36:31 +02:00
Araq
a0b82db402 the compiler can now deal with multiple modules of the same name 2013-09-26 17:34:46 +02:00
Araq
9bfcdc40ef JS codegen: supports more builtins 2013-09-24 23:56:23 +02:00
Araq
8b5aa221ad support for multiple modules of the same name; niminst supports 'platforms'; minor bugfixes 2013-09-24 16:07:07 +02:00
Araq
6825a69a70 -d:nocaas mode for easier bootstrapping on exotic OSes (Haiku) 2013-09-01 15:54:32 +02:00
Zahary Karadjov
8682ed9bd0 pass-through of static int generic params to arrays when late instantiation is disabled 2013-08-23 01:10:20 +03:00
Zahary Karadjov
fee2a7ecfa Experimental support for delayed instantiation of generics
This postpones the semantic pass over the generic's body until
the generic is instantiated. There are several pros and cons for
this method and the capabilities that it enables may still be possible
in the old framework if we teach it a few new trick. Such an attempt
will follow in the next commits.

pros:
1) It allows macros to be expanded during generic instantiation that
will provide the body of the generic. See ``tmacrogenerics``.
2) The instantiation code is dramatically simplified. Dealing with unknown
types in the generic's body pre-pass requires a lot of hacky code and error
silencing in semTypeNode. See ``tgenericshardcases``.

cons:
1) There is a performance penalty of roughly 5% when bootstrapping.
2) Certain errors that used to be detected in the previous pre-pass won't
be detected with the new scheme until instantiation.
2013-08-23 01:10:20 +03:00
Araq
b487ebaaba new scoping rules for 'if' now active 2013-06-04 01:11:55 +02:00
Araq
8c211113f2 better error message for subtle nil errors 2013-05-31 01:27:03 +02:00
Araq
9fc98cefda Merge branch 'master' into newparser 2013-05-07 18:44:24 +02:00
Zahary Karadjov
f52ea04d22 support suggest after compile in caas mode 2013-05-05 15:12:50 +03:00
Araq
23bd3ccd8b Merge branch 'master' into newparser 2013-05-04 19:10:12 +02:00
Araq
1dd01e5891 revert new scope for 'if' 2013-05-02 00:36:06 +02: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
e7581e7b9b experimental support for outputting code snippets in error messages; implements #301
see #301 for description.
currently, the feature is activated by setting the verbosity level to 2 or more
2013-04-09 00:15:43 +03:00
Zahary Karadjov
95b28700cc bugfix: fix linking when symbol files are used 2013-04-08 23:23:12 +03:00
Araq
5893a9195c implemented --dynlibOverride option for static linking of 'dynlib' 2013-04-08 16:38:49 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Simon Hafner
cc893b968b added isServing parameter 2013-02-26 14:36:33 -06:00
Araq
8e9b39084c Merge branch 'master' of github.com:Araq/Nimrod 2013-02-16 22:54:03 +01:00