Commit Graph

129 Commits

Author SHA1 Message Date
Andreas Rumpf
7aad0d6544 added 'nim jsonscript' feature 2017-09-23 16:29:05 +02:00
def
ab31b776ef Fix typo 2017-03-23 21:29:10 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Andreas Rumpf
f04d21f279 refactoring: explict config state instead of globals 2017-02-01 23:39:40 +01:00
Andreas Rumpf
9753782f96 memory allocator hotfix: do not allocate tremendous amounts of memory 2017-01-13 12:07:37 +01:00
Araq
4910a87c6f gendepend improvements; refs #5144 2017-01-06 13:11:17 +01:00
Araq
7148f6f104 make gendepend work again 2016-12-29 14:08:20 +01:00
Araq
843ae830d3 Merge branch 'devel' into sighashes 2016-12-14 01:31:02 +01:00
Araq
aedafb9978 Nim compiler generates nimcache/proj.json for easier interop with external build tools 2016-12-14 01:27:44 +01:00
Araq
ba38b83dd5 refactoring: C codegen with fewer global variables 2016-12-05 12:14:24 +01:00
Araq
9e6fb3f696 new dependency tracking for nimsuggest 2016-11-05 01:19:23 +01:00
Araq
29db0d8585 refactoring complete: explicit ident cache 2016-10-31 19:47:20 +01:00
Araq
773d17cd14 big refactoring: step 1 2016-10-31 15:34:44 +01:00
Andreas Rumpf
813828f690 the Nim compiler supports the jsondoc2 command 2016-07-13 01:06:33 +02:00
Andreas Rumpf
893be3a5a4 changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02:00
Andreas Rumpf
e00f15aa2a Nim check defines 'nimcheck' conditional symbol 2016-05-24 00:07:59 +02:00
Andreas Rumpf
35567a1eb9 first version of an PHP codegen 2016-02-06 15:39:56 +01:00
Adam Strzelecki
acb6a36656 msgs: One msgWriteln with optional flags
Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.
2015-10-22 22:09:15 +02:00
Araq
2fda95a4d6 added getOrDefault; bootstrapping works again 2015-10-13 03:03:05 +02:00
Araq
178275f494 split os into os and ospaths parts; ospaths is available for NimScript; better NimScript support 2015-09-04 12:22:23 +02:00
Araq
a2bb7d4c71 simplify nimscript.nim 2015-08-21 01:34:46 +02:00
Araq
d634da775d cleanup destructor building for arrays; still doesn't work 2015-08-18 13:57:37 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
def
db5f8d6755 Reset terminal colors before running compiled program 2015-07-10 00:48:11 +02:00
Andreas Rumpf
1ad729ee3b Merge pull request #3020 from flaviut/rename-crc-to-hash
CRC -> Hash
2015-07-05 00:41:13 +02:00
Flaviu Tamas
62b55592e8 CRC -> Hash 2015-07-03 10:13:45 -04:00
Adam Strzelecki
14e6ff6780 Introduce NotesVerbosity defining verbosity levels
This solves two issues:

1. Some notes were enabled explicitly for some verbosity levels, so
   --hintName:on has no effect if verbosity level was too low.

2. Verbosity level for notes is not longer scattered across the source code,
   instead if now lives in msgs.nim NotesVerbosity array

3. Individual note settings have stronger effect than verbosity setting,
   so --hintName:off will disable hint regardless of high verbosity setting,
   and vice-versa --hintName:on will enable hint even on low verbosity setting.
2015-07-03 12:37:42 +02:00
Araq
841a179d28 fixes #2633 2015-07-03 01:57:00 +02:00
def
def61c9fcd Clean up stdin file reading of compiler.
Uses "stdinfile" as the module identifier now, which prevents problems
with - colliding with the minus operator. This fixes #2422 and #2702.
2015-05-16 12:38:53 +02:00
def
07351d5f37 Initialize c compiler variables later ...
... so that symbols such as "cpp" are defined

Fixes #1460
2015-03-28 15:07:55 +01:00
Araq
aa175e9e57 fixes #1868 2015-03-12 12:17:08 +01:00
def
c37e8035ea When compiling from stdin write binary to stdinfile 2015-02-28 23:35:35 +01:00
Araq
53f4c7758b fixes #1601 2015-02-05 13:12:20 +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
Andreas Rumpf
5bd2889267 Merge pull request #1889 from ramnes/devel
Happy new year!
2015-01-07 14:14:43 +01:00
Araq
b907fac5f9 minor cleanups 2015-01-07 02:41:50 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
e65c296bcc implemented mixed mode codegen 2014-10-03 01:21:35 +02:00
Dominik Picheta
d28088f0f5 Fix 'doc' command. 2014-09-13 16:09:54 +01:00
Araq
569fbe8c37 'pretty' command does not exist anymore; improvements for nimfix 2014-09-10 02:19:46 +02:00
Araq
490371977e some improvements for nimfix 2014-09-09 21:31:34 +02:00
Araq
7f7b13a45f nimfix handles helloworld 2014-09-06 00:50:53 +02:00
Araq
201a08e9a5 fixes #903, fixes #1513 2014-09-03 19:45:04 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
EXetoC
7754bc73b4 gpp -> gcc 2014-05-09 23:22:43 +02:00
Simon Hafner
3adceb34e0 fixed constant typo (SimulateCaasMemReset) 2014-05-02 17:17:12 -05:00
Araq
bd705a517f compiler prepared for the new comment handling 2014-04-30 00:53:44 +02:00
Araq
31f3034c3a case consistency for evalffi 2014-02-01 23:57:09 +01:00
Araq
a59939d295 it's the year 2014 2014-01-19 01:25:48 +01:00