Araq
3365b42bbe
fixes #1009
2014-03-27 19:20:59 +01:00
Araq
dc956c485a
fixes tmemit regression
2014-03-26 22:56:56 +01:00
Araq
a1e97ad4a4
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-26 20:31:29 +01:00
Araq
78cc4de9a1
fixes #1025 ; don't know what this breaks
2014-03-26 20:31:18 +01:00
Araq
9fdb131686
fixes #992
2014-03-26 16:22:34 +01:00
zah
6d0451ccce
Merge pull request #1036 from jlhouchin/devel
...
fixed parens around getSysType arguments
2014-03-26 11:39:59 +02:00
Araq
cdb4d83ead
implemented 'borrow dot' feature for distinct types
2014-03-26 01:27:22 +01:00
Araq
d15788d00a
added #903 to the test suite
2014-03-26 01:00:34 +01:00
Jimmie Houchin
c58ec376b6
fixed parens around getSysType arguments
2014-03-25 17:48:27 -05:00
Araq
907e1b80b2
VM: attempt to get integer ops right
2014-03-24 17:29:31 +01:00
Araq
ee1192679e
VM: endless loop prevention
2014-03-24 08:43:57 +01:00
Araq
5920edf6e4
fixes #404
2014-03-23 17:48:10 +01:00
Araq
7a311f93f7
fixes #994
2014-03-22 23:48:33 +01:00
Araq
a4f30c3682
fixes wrong commit
2014-03-22 23:02:01 +01:00
Araq
b76d2eac7f
fixes #1006
2014-03-22 22:59:23 +01:00
Araq
5f64d7a353
fixes #1023
2014-03-22 21:18:56 +01:00
Araq
5f478e5aa1
fixes #1010
2014-03-22 11:50:42 +01:00
Araq
5aac789e0e
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-22 02:52:33 +01:00
Araq
e53fc91282
fixed tuples in a static context; preparations for correct compile time evaluation of integral ops
2014-03-22 02:52:06 +01:00
Araq
02e97422ed
c2nim knows about arrray[N, T]
2014-03-22 02:43:37 +01:00
Zahary Karadjov
09bda74e7d
fix #1015
2014-03-20 23:45:31 +02:00
Zahary Karadjov
8ba062d952
fix #1016
2014-03-20 23:24:25 +02:00
Zahary Karadjov
b2aa70c6ef
fix #1018
...
Previously, generic types originating from the same body symbol were compared
structurally. The bug illustrates a case, where such a comparison is not correct.
The new approach follows the established method used in typeRel.
2014-03-20 22:27:49 +02:00
Zahary Karadjov
8a0509b3b2
implements `distinct with/without X, Y`
...
This still doesn't work quite right, because some common operations like array
indexing lay completely outside the scope/symbol lookup system - they are not
even magics.
2014-03-20 01:16:50 +02:00
Zahary Karadjov
d508384d39
fix #1013
2014-03-20 01:16:50 +02:00
Zahary Karadjov
4b7655fd10
reference implementation of a vector swizzle library
...
This also provides the initial steps towards support for type class "filtered" type inference
fixes an "ordinal type expected" ICE, related to the use of static params
2014-03-20 01:16:50 +02:00
Audun Wilhelmsen
ca228e46b5
Fix compilation error when using packed pragma with vcc.
2014-03-18 21:23:35 +01:00
Audun Wilhelmsen
1e45bb79ab
Added support for {.packed.} pragma on objects
...
Added tests for packed and union pragmas
2014-03-18 21:11:57 +01:00
Andreas Rumpf
9d4b77a65a
Merge pull request #1003 from flaviut/devel
...
Add token position to `nimrod scan`
2014-03-16 22:08:43 +01:00
Zahary Karadjov
b3da0ab888
fix #1007
2014-03-16 21:44:21 +02:00
Zahary Karadjov
49b0440c47
make some tests green
2014-03-16 20:42:49 +02:00
Zahary Karadjov
f0953db3ba
handle arbitrary expressions dependent on static input params in proc signatures
2014-03-16 20:42:06 +02:00
Zahary Karadjov
da5d88f04e
use g++ and clang++ automatically when compiling to C++
2014-03-16 20:42:06 +02:00
Zahary Karadjov
ac271e76b1
more robust handling of proc signatures containing inter-param type references
2014-03-16 20:42:06 +02:00
Zahary Karadjov
7dcf6ff50b
fix #997
2014-03-16 20:42:06 +02:00
Zahary Karadjov
27c2c1e75c
fix #996
2014-03-16 20:42:06 +02:00
Zahary Karadjov
37b199d34a
first phase of tyGenericParam reforms needed for static params
2014-03-16 20:42:06 +02:00
Zahary Karadjov
4d2c948281
fix #1001
2014-03-16 20:42:06 +02:00
Zahary Karadjov
cf8fe16a48
fix #715 again
...
the regression was caused by the introduction of "generic" lambdas
2014-03-16 20:42:06 +02:00
Zahary Karadjov
7080d02af4
allow multi-line expressions using the dot operator
...
this enables parsing of expressions like:
``` Nimrod
s.items
.map(proc (x): auto = x * 2)
.filter do (x) -> auto:
return x % 2 == 0
.group_by((x) => x.length)
```
2014-03-16 20:42:06 +02:00
Zahary Karadjov
63d93ad1ab
grammar fix: allow free-standing expressions such as type(foo) is bar
2014-03-16 20:42:06 +02:00
flaviut
5e47c18e3f
Add token position to nimrod scan
...
A block of the format "linenum:col\t' is added to the start of each token that is printed.
2014-03-14 14:18:38 -04:00
Araq
3e056afb1c
fixes #993
2014-03-13 22:29:48 +01:00
Araq
1c35fb3c89
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-03-13 02:52:51 +01:00
Araq
2fc84325c7
should fix the nkExprColonExpr bug in the vm
2014-03-13 02:52:40 +01:00
Zahary Karadjov
71695ab791
fix tsemistatic
2014-03-11 00:58:27 +02:00
Zahary Karadjov
85fe5e1940
fix #988
...
trivial crash caused due to unchecked iteration over an empty reclist
2014-03-10 13:04:22 +02:00
Zahary Karadjov
d5798b43de
fix #986
2014-03-10 01:57:08 +02:00
Zahary Karadjov
9fb0755572
further improvements for static generic params; activate the hardest test cases
2014-03-10 00:36:19 +02:00
Zahary Karadjov
45a345e93d
fix #866 ; generic static params
2014-03-09 23:38:17 +02:00