Andreas Rumpf
46efaf294b
big compiler refactoring; avoid globals for multi method dispatcher generation
2017-02-22 16:27:52 +01:00
Araq
d74f734471
fixes #5352
2017-02-08 13:11:07 +01:00
Andreas Rumpf
26fb6cb073
fixes #5327
2017-02-03 17:35:58 +01:00
Parashurama
137b5f4302
fixes #4992
2017-02-02 11:33:54 +01:00
Araq
e88a0af494
fix confusing line information for macros that produce errors
2017-02-01 00:00:41 +01:00
Andreas Rumpf
93068f1ba6
avoid some compiler crashes in debug mode
2017-01-23 11:22:19 +01:00
Arne Döring
e8a00b805f
fix seq add for nim node in VM ( #5253 )
...
fixes #4821
2017-01-19 20:10:01 +01:00
Arne Döring
130f30ddb2
make quote ast a ref type ( #5246 )
...
* make quote ast a ref type
* recursive set flag isRef for quoted ast
2017-01-19 16:39:18 +01:00
Araq
9d488261df
added system.gorgeEx that includes the exitCode; refs #4874 ; fixes #1994
2017-01-07 02:38:26 +01:00
Araq
9e6fb3f696
new dependency tracking for nimsuggest
2016-11-05 01:19:23 +01:00
Araq
773d17cd14
big refactoring: step 1
2016-10-31 15:34:44 +01:00
andri lim
bd560d6a4e
fixes #4915
2016-10-27 12:22:12 +07:00
Andreas Rumpf
cceb6c625c
Merge pull request #4872 from flyx/gorgefix
...
Fixes #4871
2016-10-24 17:40:32 +02:00
Andreas Rumpf
50dc712d5e
fixes #4906
2016-10-21 09:48:57 +02:00
Andreas Rumpf
bae3baf9cc
fixes #4856
2016-10-20 15:20:27 +02:00
Felix Krause
39f03d816c
Fixes #4871
2016-10-09 18:02:48 +02:00
Andreas Rumpf
9b810b17a2
fixes #4803
2016-09-24 21:00:31 +02:00
Araq
da575bec54
VM: 'raises' in an 'except' doesn't cause an endless loop anymore
2016-09-14 19:59:32 +02:00
Andreas Rumpf
39ebe2175b
compiler almost free of deprecated expr/stmt names
2016-07-30 16:34:42 +02:00
Andreas Rumpf
60b187513e
stdlib and compiler don't use .immediate anymore
2016-07-29 23:51:01 +02:00
Andreas Rumpf
a406ebbac9
cleanup of #4113
2016-05-28 17:19:44 +02:00
James Osborn
0356f53b56
getTypeInst and getTypeImpl mostly working now and added test
2016-05-04 00:24:44 -05:00
James Osborn
d462cca21f
added getTypeInst which includes generic parameters
2016-05-04 00:24:44 -05:00
Andreas Rumpf
cbcdf12d2c
fixes #3731
2016-04-04 10:16:15 +02:00
Andreas Rumpf
86e79f5cec
fixes #3804
2016-04-04 01:41:14 +02:00
Andreas Rumpf
6e53300f83
fixes #3973
2016-04-03 22:51:22 +02:00
Andreas Rumpf
13699c596e
fixes #3872
2016-03-04 22:56:12 +01:00
Hans Raaf
0634486689
Fixed deprecation warnings while Nim compiles.
...
I just removed unsigned and changed a writeLn() call to writeLine() to
avoid the remaining deprecation warnings.
2016-01-18 18:14:50 +01:00
Andreas Rumpf
86bb9d8b47
Merge pull request #3651 from jangko/vm_'excl'
...
fixed compile time `excl ` cause SIGSEGV #3639
2015-12-21 00:40:24 +01:00
jangko
26d02c9120
fixed VM touint conversion #2514
2015-12-19 12:53:51 +07:00
jangko
60a400eeb0
fixed compile time excl cause SIGSEGV #3639
2015-12-17 10:14:48 +07:00
Araq
1757b8466d
fixes #3546
2015-11-18 14:42:13 +01:00
Araq
aad4ed776b
allows macros to access documentation comments
2015-11-18 12:33:09 +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
Adam Strzelecki
78568859c5
compiler/vm: Use stdout too in VM time echo
...
Now VM time echo outputs to stdout too, same as compile time echo, rather using
same handle as compiler diagnostics (stderr default).
2015-10-16 20:55:17 +02:00
Araq
c97cbe7abd
fixes #3299
2015-10-15 09:31:54 +02:00
Araq
a2c040e3bd
added undocumented exportNims pragma for Nimscript support
2015-10-03 23:19:15 +02:00
Adam Strzelecki
4be6844756
vm: Don't fail on unknown enum position to string
...
Previously trying to convert constant of enum type, where this enum type has no
entry with given constant position leaded to "internal error: opConv for enum".
Instead of producing error, now we gracefully convert it to "EnumType position".
2015-09-28 23:34:52 +02:00
Yuriy Glukhov
6ac2ba1223
Uint64 to string in pure nim. array[char] to string fixed in vm.
2015-09-14 20:32:09 +03:00
Araq
bf698fbc2a
fixes some regressions
2015-09-12 13:32:51 +02:00
Yuriy Glukhov
04a4f35400
VM produces objects.
2015-09-05 14:18:37 +03:00
Araq
695e2e970e
implemented macros.getImpl
2015-08-21 02:34:34 +02:00
Araq
9659540b18
preparations for Nimble NimScript integrations; minor cleanups
2015-08-18 14:01:40 +02:00
Araq
69b32637b1
implements experimental new config system based on NimScript
2015-08-16 13:41:30 +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
Araq
2e4b59f3d3
fixes #3192
2015-08-07 20:29:38 +02: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
Araq
ea35cede8e
fixes #3103
2015-08-02 02:56:01 +02:00
Araq
9275d5c617
emerald project has a chance of working
2015-08-02 02:55:58 +02:00