Araq
0e1304a3e2
the compiler uses tyAlias internally; tester compiles again
2016-11-16 00:13:45 +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
Araq
3b43cff0f8
C codegen: first version of signature hashing for better incremental builds
2016-11-08 08:37:11 +01:00
Jacek Sieka
f5c3eb6a25
clean up tyMutable remnants
2016-10-24 23:30:10 +08:00
Jacek Sieka
b3de34548d
clean up tyConst remnants
2016-10-24 23:19:46 +08:00
Jacek Sieka
f488ed973d
clean up tyBigNum remnants
2016-10-24 23:11:38 +08:00
Jacek Sieka
6f7b891bdc
remove remnants of tyIter
2016-10-24 21:10:48 +08:00
Andreas Rumpf
d60448fa69
fixes #4869
2016-10-21 03:09:00 +02:00
Andreas Rumpf
3a13706d7d
fixes #4673
2016-09-01 13:02:53 +02:00
Andreas Rumpf
1d1253c87f
fixes #4253
2016-08-26 14:04:56 +02:00
Andreas Rumpf
4d4a993e7f
fixes #2865
2016-08-26 13:51:58 +02:00
Andreas Rumpf
10f445da89
Merge pull request #4592 from arnetheduck/compiler-cleanup
...
Compiler cleanup
2016-08-25 16:50:54 +02:00
Matthew Baulch
4e40d90f6f
Add comments to clarify the roles of abstractX and typedescX types.
2016-08-21 14:13:42 +10:00
Jacek Sieka
4d558e2608
Merge remote-tracking branch 'origin/devel' into compiler-cleanup
2016-08-17 18:49:36 +08:00
Matthew Baulch
8ebce3ce2b
Distinct types derived from ordinal types are ordinal.
2016-08-11 21:11:06 +10:00
Matthew Baulch
623e0763c2
Tidy up isOrdinalType
2016-08-11 21:09:34 +10:00
Jacek Sieka
3cd4cf4320
remove unused stuff
2016-08-09 22:54:27 +08:00
Andreas Rumpf
8f457f6ebb
make tests green again
2016-07-29 23:51:01 +02:00
Andreas Rumpf
60b187513e
stdlib and compiler don't use .immediate anymore
2016-07-29 23:51:01 +02:00
Andreas Rumpf
471672fecc
fix: generic tuples instantiations were cached incorrectly
2016-07-28 20:23:24 +02:00
Andreas Rumpf
f47165af11
fixes #3706
2016-07-13 01:06:33 +02:00
Andreas Rumpf
928222cc67
fixes #4429
2016-07-12 10:31:36 +02:00
Andreas Rumpf
b47d9b7b91
fixes #4371
2016-07-08 10:34:12 +02:00
Matthew Baulch
109c9d551f
Regard nil nodes as having equal type constraints.
2016-07-05 22:56:22 +10:00
Andreas Rumpf
e04f319540
fixes #4084
2016-04-29 22:30:00 +02:00
Yuriy Glukhov
3922a0871d
else: break
2016-04-09 01:33:16 +03:00
Yuriy Glukhov
b6f5c12158
Fixed tr pattern matching for varargs
2016-04-07 21:24:43 +03:00
Andreas Rumpf
38dee2095c
added 'sig' feature; removed tfShared support in the compiler
2016-02-28 19:56:41 +01:00
Andreas Rumpf
b6c18e4bba
breaking change: disallow .closure procs for const
2015-12-29 15:42:12 +01:00
Araq
d93507fd2e
fixes #3338
2015-10-22 10:24:46 +02:00
Ryan Gonzalez
a8e547971f
Fix #3367
2015-09-23 13:44:45 -05:00
Adam Strzelecki
167acf4530
typeToString: Fix shared/not nil on complex types
...
Previously `not nil` flag was not shown on `cstring or nil` or `PType not nil`,
where `type PType = ref Type`, eg. when showing compiler diagnostics.
2015-09-06 20:17:06 +02:00
Araq
cabbcd411d
implements varargs[untyped]; refs #2545 ; to be documented
2015-07-02 16:18:11 +02:00
Araq
6d05ae26e6
fixes regression caused by code cleanups
2015-04-29 22:24:50 +02:00
Araq
26eae7d00e
fixes #2470 , fixes #1354
2015-04-28 20:21:53 +02:00
Araq
248dc42aa5
fixes #2520
2015-04-21 08:17:40 +02:00
Araq
5d63ecb3a4
implemented a[^1] notation
2015-03-26 02:12:38 +01:00
Araq
e7d7097919
fixes #1787
2015-03-22 10:47:07 +01:00
Araq
a541be8935
prepare for upcoming parsing change of unary operators
2015-03-22 09:31:15 +01:00
Araq
0d804c2052
fixes #2266
2015-03-22 01:38:14 +01:00
Andreas Rumpf
df0473d754
Merge pull request #2239 from Maxdamantus/devel
...
interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
2015-03-07 17:35:14 +01:00
Araq
4d8cd34c9e
fixes #794
2015-03-07 15:43:35 +01:00
Max Zerzouri
dba25d2622
enable syntax for anonymous tuples.
...
Turns out to be slightly problematic as `(int, int)` could be logically
thought of as an expression evaluating to a tuple value containing
two typedesc[int]s.
To disambiguate, the zero-tuple's type must still be written as
`tuple[]`, and what would be tuple value expressions containing only
typedescs are interpreted as types.
() # value of type `tuple[]`
(int, int) # tuple type
(int, int, ()) # value of type `(typedesc[int], typedesc[int], tuple[])`
2015-03-06 12:23:31 +13:00
Araq
3adcad1b5d
fixes #2250
2015-03-05 11:17:14 +01:00
Varriount
3a8455fd8f
Allow ranges with unsigned integer ordinals to be used as parameter types for procedures.
2015-02-21 02:45:06 -05:00
Araq
540f66cb09
fixes #2167
2015-02-20 20:01:23 +01:00
Araq
2bdd0bbaa9
make huge.nim urhonimo example compile
2015-02-18 15:14:10 +01:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
ecd0dea091
tables work in 'const' sections; echo supports 'nil' strings; minor cleanups
2015-02-09 00:08:55 +01:00