Zahary Karadjov
cbf66e99a8
Working test cases for the sophisticated matrix library example from the manual
...
Fixed the dot operator when used within return types (see tgenericdotrettype)
Fixed the matching of generic concepts aliases used with the implicit generics style
2017-03-24 16:59:47 +02:00
Andreas Rumpf
e672208b82
fixes #5221
2017-02-05 09:41:47 +01:00
Andreas Rumpf
c4dd9dc77e
fixes #5269
2017-02-05 08:51:43 +01:00
Araq
6f260dd45c
make vmgen more robust in the context of 'nim check'
2016-12-31 02:04:27 +01:00
Araq
e6c5622aa7
removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes
2016-11-14 23:18:30 +01:00
andri lim
bd560d6a4e
fixes #4915
2016-10-27 12:22:12 +07:00
Andreas Rumpf
2b0e9aa167
fixes regression
2016-08-26 16:48:42 +02:00
Jacek Sieka
3cd4cf4320
remove unused stuff
2016-08-09 22:54:27 +08:00
Andreas Rumpf
4a96a3d9a1
attempt to fix #4065
2016-08-04 19:34:13 +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
b7c1be03c8
added system.newSeqOfCap for improved efficiency
2016-07-15 17:04:14 +02:00
Andreas Rumpf
8dd27a6699
fixes #2730
2016-07-13 01:06:33 +02:00
Andreas Rumpf
857b0c8d4c
fixes #4462
2016-07-08 10:52:04 +02:00
Andreas Rumpf
b47d9b7b91
fixes #4371
2016-07-08 10:34:12 +02:00
Andreas Rumpf
17d97462cf
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2016-07-06 16:48:14 +02:00
Andreas Rumpf
e73fd64f38
fixes #537
2016-07-06 16:48:00 +02:00
Yuriy Glukhov
09783c3fd0
Fixed vm codegen for a call with compile-time args. Fixes #4412 .
2016-07-06 14:39:57 +03:00
Andreas Rumpf
e8d507c859
system. for cstrings uses value comparisons, not reference comparisons
2016-06-02 16:38:20 +02:00
Andreas Rumpf
4180f59b27
fixes #1713
2016-05-30 16:24:52 +02:00
Andreas Rumpf
d3fe4a2db1
Merge pull request #4113 from jcosborn/gettypeinst
...
getTypeInst
2016-05-28 17:14:52 +02:00
Andreas Rumpf
ac1a753aff
fixes #3956
2016-05-11 21:20:53 +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
0acdaea334
fixes #3561 , fixes #2409
2016-04-04 02:45:43 +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
1463b0c954
fixes #3916
2016-02-29 16:45:52 +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
c1627354d1
first implementation of the new lambda-lifting pass; barely anything works
2015-12-26 00:42:30 +01:00
Araq
2aff716134
os.walkDir is available at compile time
2015-11-10 15:31:21 +01:00
Araq
c97cbe7abd
fixes #3299
2015-10-15 09:31:54 +02:00
Araq
5a003532d0
fixes #2473 ; cleanup of some tests
2015-09-30 21:13:13 +02:00
Araq
6268bf33a2
fixes #3387
2015-09-29 19:30:46 +02:00
Araq
f937637a92
fixes #3357
2015-09-23 21:46:33 +02:00
Yuriy Glukhov
04a4f35400
VM produces objects.
2015-09-05 14:18:37 +03:00
Yuriy Glukhov
49869a2b10
when nimvm stmt proof of concept
2015-09-04 20:50:29 +03:00
Araq
695e2e970e
implemented macros.getImpl
2015-08-21 02:34:34 +02:00
Araq
cc934a1a1b
VM: repl supports global variables properly"
2015-08-16 13:41:27 +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
799e0f3274
fixes #3066
2015-08-09 23:53:22 +02:00
Araq
50861792f4
fixes #1329
2015-08-09 23:07:53 +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
9275d5c617
emerald project has a chance of working
2015-08-02 02:55:58 +02:00
Araq
728fc441ef
staticExec now supports caching
2015-07-15 22:00:44 +02:00
Adam Strzelecki
1a0417fbe0
macros: Introduce sameType(a, b) for node types
...
Previously introduced node comparison `==` was working somehow wrong on nodes
returned from getType(a), comparing just ids of the symbols.
Recently introduced `==` change 47dce26886
started comparing symbol nodes pointer-wise, thus strictly. Since getType(a)
always creates new symbol pointing to the type, comparing two such nodes using
`==` always returns false, even they point to the same type.
That is why we need a new sameType macro to be able to tell if these nodes
point to the same type.
2015-07-03 11:11:10 +02:00
Araq
65c1b0c128
fixes #3041
2015-07-02 22:45:33 +02:00
Araq
17cace280c
fixes #2297 , fixes #2946
2015-06-18 15:06:00 +02:00