Commit Graph

2488 Commits

Author SHA1 Message Date
Araq
bfd2fd67f9 tuple unpacking works in a non-var/let context 2015-08-21 21:34:14 +02:00
Andreas Rumpf
87072a7afb Merge pull request #3233 from yglukhov/parsefloat-js-magic
Fixed nimParseBiggestFloat magic in JS
2015-08-21 21:26:10 +02:00
Yuriy Glukhov
dadf036a70 Fixed nimParseBiggestFloat magic in JS 2015-08-21 21:31:00 +03:00
Yuriy Glukhov
a5be556a4c Untyped pointers godegen changed. addr expression fixed. 2015-08-21 13:29:25 +03:00
Araq
695e2e970e implemented macros.getImpl 2015-08-21 02:34:34 +02:00
Araq
a2bb7d4c71 simplify nimscript.nim 2015-08-21 01:34:46 +02:00
Araq
9659540b18 preparations for Nimble NimScript integrations; minor cleanups 2015-08-18 14:01:40 +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
Araq
cc934a1a1b VM: repl supports global variables properly" 2015-08-16 13:41:27 +02:00
Araq
cd2fbb5f86 staticExec: redirect stderr to stdout so stderr is returned too 2015-08-16 13:41:26 +02:00
Ryan Gonzalez
d66cc00750 Give a nice error when no command is given 2015-08-15 17:14:19 -05:00
Araq
2299318d1e toplevel .closure procs are deprecated 2015-08-14 02:19:32 +02:00
Araq
2f721f0d99 'parallel' now requires --experimental mode 2015-08-14 02:19:32 +02:00
Andreas Rumpf
40f7646830 Merge pull request #3204 from yglukhov/debugger-on-fix
Fixed --debugger:on option. Removed c_line from termios.
2015-08-14 01:52:18 +02:00
Andreas Rumpf
b3abcaf9e8 Merge pull request #3177 from zah/generic-types-in-macros
Generic types in macros
2015-08-14 01:51:25 +02:00
Yuriy Glukhov
c42b05adb4 Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
Araq
36a90c6044 fixes #1965 2015-08-10 01:31:42 +02:00
Araq
799e0f3274 fixes #3066 2015-08-09 23:53:22 +02:00
Araq
f934c92132 fixes #3096 2015-08-09 23:37:13 +02:00
Araq
bbf9757b4e refs #2377 2015-08-09 23:21:44 +02:00
Araq
50861792f4 fixes #1329 2015-08-09 23:07:53 +02:00
Araq
35f8cc0bdd fixes #2752 2015-08-09 20:29:03 +02:00
Araq
4f8d982d5b fixes #2670 2015-08-08 14:48:17 +02:00
Andreas Rumpf
8668c42e94 Merge pull request #3190 from yglukhov/fix-3186
Fixes #3186
2015-08-08 00:56:38 +02:00
Araq
87815cbdf7 attempt to fix bootstrapping; refs #3139 2015-08-07 22:32:06 +02:00
Araq
c733b3181e breaking change: symbol lookups in generics follows spec more closely; fixes #2664 2015-08-07 21:28:45 +02:00
Araq
2e4b59f3d3 fixes #3192 2015-08-07 20:29:38 +02:00
Yuriy Glukhov
7bc3d7da75 Fixes #3186 2015-08-07 17:22:28 +03:00
Yuriy Glukhov
41a2a9f00b Fixes #3185 2015-08-06 22:19:33 +03:00
Araq
14ce3c7d4d fix regressions 2015-08-05 21:43:15 +02:00
Araq
0d8942d45e destructors now work with overloaded assignment operators; fixes #2811; fixes #1632 2015-08-05 21:43:14 +02:00
Araq
ab26298a03 added system.unsafeAddr 2015-08-04 17:31:18 +02:00
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
Araq
54fdeb4f76 gc:none works again 2015-07-26 22:03:52 +02:00