Commit Graph

148 Commits

Author SHA1 Message Date
Andreas Rumpf
63530be0b8 introduce --newruntime switch for the upcoming destructors and move semantics 2017-10-13 06:38:59 +02:00
Andreas Rumpf
d6c401acfb code cleanups for the upcoming reworked destructors 2017-10-12 12:47:34 +02:00
Andreas Rumpf
ec253ada72 initial version of the new untested destructor pass 2017-10-12 11:32:29 +02:00
Andreas Rumpf
7aad0d6544 added 'nim jsonscript' feature 2017-09-23 16:29:05 +02:00
Araq
2d8e97ee03 only replace the tilde when followed by a slash; refs #6176 2017-09-03 01:08:23 +02:00
Araq
6b3af6a5d7 WIP: --gc:regions instead of --gc:stack 2017-08-13 02:51:00 +02:00
zah
39aef12446 review and merge zahary's work (#5849)
* proper indentation for the generated JS code
* improved dead-code elimination for JavaScript
* test the JS dead-code elimination

A new test spec has been added - "maxcodesize". It specifies the
maximum size of the generated code in bytes.
2017-06-03 12:45:10 +02:00
Zahary Karadjov
c605d57574 restore compilation and make all concepts tests green 2017-03-24 17:03:55 +02:00
Zahary Karadjov
a90c4c4d7e kill the reportConceptFailures options as it will be replaced by the .explain. pragma 2017-03-24 16:58:15 +02:00
Andreas Rumpf
f7d760cb94 nimsuggest: when invoked with a directory, detect the main nim file on its own 2017-03-14 12:28:15 +01:00
Zahary Karadjov
62ef5dfec8 new debugging helper to replace and friends 2017-03-10 12:02:55 +02:00
Andreas Rumpf
a9c1afd5fd nimsuggest: structured error reporting; EPC mode still fails 2017-03-03 02:13:16 +01:00
Andreas Rumpf
46f33515d7 Merge branch 'devel' into faster-nimsuggest 2017-02-24 01:28:50 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Andreas Rumpf
311253ef2f nimsuggest: added --refresh command line option; added 'known' command; fixes 'chck' command for EPC 2017-02-22 16:27:24 +01:00
Andreas Rumpf
f04d21f279 refactoring: explict config state instead of globals 2017-02-01 23:39:40 +01:00
mfxmfx
8699372109 Correct the spelling of the word 'overridden'. (#5212) 2017-01-11 13:40:10 +01:00
Araq
842f66db25 compiler API: introduce options.disableNmiblePath 2017-01-06 13:11:17 +01:00
Araq
20cf28adde fixes the regressions introduced by fix for #5076 2016-11-30 19:03:04 +01:00
Yuriy Glukhov
a80a0972b7 Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern. 2016-11-30 17:16:54 +02:00
Araq
b1b2dd606b fixes #5076 2016-11-30 11:00:51 +01:00
Andreas Rumpf
7be1c55cf1 make tests green again 2016-11-24 09:14:36 +01:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Araq
8fca04027f some attempts to make symbolfiles work again 2016-08-13 22:06:32 +02:00
Andreas Rumpf
8876ed23f1 expr and stmt are now deprecated 2016-07-30 16:34:42 +02:00
Andreas Rumpf
9605435f2e get rid of deprecated toLower/toUpper 2016-07-19 19:28:01 +02:00
Andreas Rumpf
9eb909baf9 fixes #4485; package handling works better; docgen works with --project on Nimble package level 2016-07-19 14:13:23 +02:00
Hans Raaf
c00bb2ca82 findExe() now by default follows symlinks. 2016-07-17 01:07:09 +02:00
Andreas Rumpf
5e82ffc8d5 Nimscript: added support for 'patchFile' 2016-07-09 14:26:00 +02:00
Parashurama
6c8b06b2a3 adds --excessiveStackTrace:on|off flag for nim
display absolute file path in error messages.
2016-06-11 15:09:10 +02:00
Andreas Rumpf
893be3a5a4 changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02:00
Andreas Rumpf
75b03188d0 beginnings of --gc:stack 2016-03-12 13:29:27 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
Andreas Rumpf
35567a1eb9 first version of an PHP codegen 2016-02-06 15:39:56 +01:00
Erik Johansson Andersson
f8d98700ac nimrod -> nim 2016-02-05 19:11:43 +01:00
Dominik Picheta
c83e4390d8 Modified setDefaultLibpath to search using findExe"nim".
This is so that Nimble (and other tools) which use the compiler modules
for nimscript support or other purposes can find $lib.
2015-11-07 15:48:14 +00:00
Araq
d673fb3911 nimsuggest: added 'chk', 'outline' and 'highlight' features 2015-11-01 23:26:31 +01:00
Araq
e722770fbb doc\advopt.txt
added --reportConceptFailures switch
2015-10-22 12:14:31 +02:00
Araq
2fda95a4d6 added getOrDefault; bootstrapping works again 2015-10-13 03:03:05 +02:00
Araq
ca75985fc1 nimsuggest: added 'dus' command that combines 'def' and 'use' 2015-10-12 16:55:24 +02:00
Araq
a373bdd0c9 improvements for NimScript support 2015-09-03 14:30:11 +02:00
Araq
e733debec7 first implementation of write tracking and escape analysis; still disabled 2015-08-31 23:06:34 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Anatoly Galiulin
506b90cea8 Added absolute path support to options.findFile 2015-07-21 09:58:26 +06:00
Adam Strzelecki
d568ac3357 Turn optPrintSurroundingSrc into hintSource
So surrounding source printing can be enabled for lower verbosity levels
explicitly.
2015-07-03 14:05:00 +02:00
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