Commit graph

203 commits

Author SHA1 Message Date
Araq
3444b87079 fixed indentation 2015-06-21 10:57:26 +02:00
patrick dw
2a0f7b5de7 renamed writeln to writeLine in compiler 2015-06-19 01:45:12 -05:00
Stefan Talpalaru
bdac85f2cf Merge branch 'devel' into gogc 2015-06-15 08:44:02 +02:00
Dominik Picheta
2f68b0baf0 Introduce gPrefixDir for nimsuggest. 2015-06-14 18:51:06 +01:00
Ryan Gonzalez
8beed96106 Colors! 2015-06-02 18:47:43 -05:00
Stefan Talpalaru
50e96ad939 the Go GC - initial implementation 2015-05-31 19:07:44 +02:00
def
2613110015 Use gProjectIsStdin instead 2015-05-17 16:10:46 +02:00
Simon Hafner
f5cca89610 merged devel into epc 2015-05-08 06:40:34 +05:00
Araq
6cb3635ca0 fixes 'echo nil' codegen bug 2015-05-03 01:08:51 +02:00
Simon Hafner
33edba665d removed a few consts and rewired to IdeCmd 2015-04-26 08:54:46 +05:00
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