Commit Graph

2608 Commits

Author SHA1 Message Date
Araq
e1913abdd4 fixes #3140 2015-08-03 00:45:25 +02:00
Zahary Karadjov
15df168f99 Rename compiler configuration file to fix "nim check" within the repo
Prior to the change, "nim check" would fail on any file besides the
main nim.nim, because the include paths for the documentation were
not set correctly and this produced various compilation errors.
2015-08-03 01:27:41 +03:00
Zahary Karadjov
fe124ceadc Disable the new generic params handling for immediate template and macros
Since immediate templates are not subjected to the standard sigmatching
algorithm, they will have a number of deficiencies when it comes to generic
params: Type dependencies between the parameters won't be honoured
and the bound generic symbols won't be resolvable within their bodies.
We could try to fix this, but it may be wiser to just deprecate immediate
templates and macros now that we have working untyped parameters.

Disabling the new features is admittedly not the greatest way to handle
this situations as it introduces inconsistency in the language, but at least
it makes the code backwards-compatible with the previous version of the
compiler instead of triggering more serious problems.
2015-08-02 23:58:22 +03:00
Zahary Karadjov
02f97489b7 fix #1858 again; restores the support for static macro params 2015-08-02 23:58:22 +03:00
Andreas Rumpf
2f25e74c9f Merge pull request #3147 from yglukhov/js-emit
Emit pragma support for JS backend.
2015-08-02 11:06:13 +02:00
Araq
1b4116702b fixes #3052 2015-08-02 02:56:02 +02:00
Araq
ea35cede8e fixes #3103 2015-08-02 02:56:01 +02:00
Araq
41e8c9b9ac fixes #3158 2015-08-02 02:56:00 +02:00
Araq
bd786812e7 fixes #3171 2015-08-02 02:55:59 +02:00
Araq
9275d5c617 emerald project has a chance of working 2015-08-02 02:55:58 +02:00
Dominik Picheta
92ca736f0a Removed duplicate 'mipsel' from installer.ini. Ref #3164. 2015-08-01 13:43:51 +01:00
def
9804033aa8 Add new platforms to installer.ini (for linux at least) 2015-08-01 00:00:51 +02:00
def
13389eab9b Add arm64 support (untested) 2015-07-31 23:57:50 +02:00
def
130605567e Add powerpc64el support (untested) 2015-07-31 23:55:31 +02:00
Dominik Picheta
3d6a8b401a C source generation for mipsel. 2015-07-31 22:40:45 +01:00
def
70c4176105 Add Mipsel CPU support (untested) 2015-07-31 23:16:52 +02:00
rku
df0e1a515b Added fasm (external assembler) support. 2015-07-31 16:00:13 +03:00
rku
626226efa4 {.compile.} pragma accepts paths relative to file pragma is in. 2015-07-31 15:57:10 +03:00
Araq
54fdeb4f76 gc:none works again 2015-07-26 22:03:52 +02:00
Araq
beca7ded1b fixes #3144 2015-07-26 21:07:11 +02:00
Yuriy Glukhov
21e7e7c895 Emit pragma support for JS backend. 2015-07-25 22:33:53 -07:00
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02:00
Araq
bf057f0d2c minor refactoring for big fixes to come 2015-07-24 01:04:42 +02:00
Araq
d82d430cbe fixes #2823 2015-07-24 01:04:40 +02:00
Marat Safin
447442a9b0 add linenoise to installer.ini 2015-07-23 14:51:05 +03:00
Andreas Rumpf
f052041648 Merge pull request #3137 from vegansk/findFile_absolute
Added absolute path support to options.findFile
2015-07-23 08:42:53 +02:00
Araq
5409142120 fix recently introduced regressions 2015-07-22 18:49:18 +02:00
Araq
e6e0527fd2 fixes #1738 2015-07-22 18:01:05 +02:00
Araq
b0b716fca7 fixes #3079, fixes #1146, fixes #2879 2015-07-22 16:32:56 +02:00
Araq
862ee8d1d3 fixes #2963 2015-07-22 01:21:42 +02:00
Araq
f192d5aab3 fixes #3099 2015-07-21 19:00:48 +02:00
Anatoly Galiulin
506b90cea8 Added absolute path support to options.findFile 2015-07-21 09:58:26 +06:00
Araq
d3255f708c small steps for making --symbolFiles:on work again 2015-07-20 13:43:59 +02:00
Araq
6b00160938 fixes #3134 2015-07-18 17:48:01 +02:00
Araq
f79e58edce don't reset the terminal when --stdout is active 2015-07-16 15:26:04 +02:00
Araq
728fc441ef staticExec now supports caching 2015-07-15 22:00:44 +02:00
Araq
f7bdc205c7 documentation generator emits configurable html for code listings 2015-07-14 01:37:09 +02:00
Araq
e5d8988175 fixes #3112 2015-07-14 01:37:09 +02:00
Jacek Sieka
e432de84a2 Linebreak TMagic by rough category 2015-07-12 21:49:33 +08:00
Araq
7da62f9833 source code renderer doesn't produce trailing whitespace anymore 2015-07-12 13:33:23 +02:00
def
db5f8d6755 Reset terminal colors before running compiled program 2015-07-10 00:48:11 +02:00
Araq
0a624bec1e implemented {.noforward:on.} for type sections; useful for c2nim generated wrappers; to be documented 2015-07-08 11:49:34 +02:00
Araq
9a8de7f3a3 fixes #3054 2015-07-05 15:00:48 +02:00
Araq
0e23ac3680 fixes #3053 2015-07-05 15:00:48 +02:00
Araq
36ca2f1102 fixes #3051 2015-07-05 15:00:47 +02:00
Araq
7011275f13 fixes #3062 2015-07-05 15:00:46 +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
Andreas Rumpf
e38a989a6f Merge pull request #3036 from nanoant/patch/macros-sametype
macros: Introduce sameType(a, b) for node types
2015-07-04 16:12:09 +02:00
Flaviu Tamas
62b55592e8 CRC -> Hash 2015-07-03 10:13:45 -04:00
Adam Strzelecki
3c20747394 Turn GC_getStatistics into hintGCStats 2015-07-03 14:05:00 +02:00