Commit graph

754 commits

Author SHA1 Message Date
Araq
5ae8689b63 better error message for 'invalid type' 2015-01-23 00:36:56 +01:00
Araq
b9079b8713 fixes #1915 2015-01-12 02:00:37 +01:00
Araq
ba7ef4e30f fixes #1903 2015-01-11 02:05:22 +01:00
Araq
8cb31d86b6 fixes tconfusing_arrow bug 2015-01-10 23:52:29 +01:00
Zahary Karadjov
05cbbac4e5 support for static params in the user defined type classes 2015-01-02 23:58:24 +02:00
Araq
2ee2401336 fixes #1774 2014-12-31 16:07:56 +01:00
Araq
9280473eb1 fixes #1120 2014-12-25 17:22:41 +01:00
Araq
2be3f501a1 fixes #1742 2014-12-24 13:02:58 +01:00
Araq
7deb8b2e7b fixed typos so docgen works again 2014-12-20 22:39:05 +01:00
Araq
6e6c3d2f1e extracted the fields iterator magic to its own file 2014-12-12 18:25:52 +01:00
Araq
85cc5a6a1f destuctors are experimental; 'func' is now a keyword 2014-12-10 01:57:08 +01:00
Araq
e27ab36731 implements 'defer' 2014-12-04 10:12:32 +01:00
Araq
ee9c70e034 user defined pragmas work for generics instantiated in different modules 2014-11-06 00:21:39 +01:00
Araq
4616a1e006 updated some tests 2014-10-04 14:23:17 +02:00
Araq
c99ec16544 deprecated string case statements without 'else' 2014-10-02 10:08:41 +02:00
Araq
1088814e56 deepCopy is instantiated when its corresponding type is instantiated 2014-09-26 09:36:09 +02:00
Araq
3866820eee made some tests green 2014-09-21 23:57:54 +02:00
Araq
7916b1f9aa implemented 'guard' annotation 2014-09-21 18:39:00 +02:00
Araq
e24996de7c minor changes to manual.txt 2014-09-13 17:53:35 +02:00
Araq
569fbe8c37 'pretty' command does not exist anymore; improvements for nimfix 2014-09-10 02:19:46 +02:00
Araq
a90f73ca4c nimfix can fix obsolete statement comments 2014-09-08 00:58:29 +02:00
Zahary Karadjov
9a3963f51b fix #959
Variable declarations using a type class will be subject to type inference similar to the one
already present in type coercions and the return type inference.
2014-09-04 23:50:00 +03:00
Araq
e093f45756 fixes #1511 2014-09-03 19:54:20 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
3df553ef25 check there is only one deepCopy per type 2014-08-05 21:38:49 +02:00
Araq
9673e4f2df progress on deepCopy 2014-08-01 23:40:48 +02:00
Araq
fd0e809934 fixes #1362 2014-07-15 09:58:57 +02:00
Araq
3c818c89be fixes #1285 2014-06-30 23:36:46 +02:00
Clay Sweetser
ca1c516295 Fixing issue #1090 2014-06-15 14:56:39 -04:00
Clay Sweetser
93fa75bb07 Fixed #1172 (for real) 2014-06-01 17:40:06 -04:00
Clay Sweetser
10e23e9159 Renamed considerAccents to considerQuotedIdent 2014-05-26 10:42:10 -04:00
Clay Sweetser
055cdb2cdf Renamed 'considerAcc' to 'considerAccents' for clarity
Added documentation string to 'considerAccents'
Modified renderParamType's assertion to allow nkAcc nodes.
2014-05-24 08:10:40 -04:00
Araq
bdb2d21f27 bugfix: bool for case statements 2014-05-06 21:03:05 +02:00
Araq
6a39155399 small bugfix for iterators 2014-04-30 00:13:59 +02:00
Araq
4196757de7 implemented region pointers 2014-04-09 00:33:51 +02:00
Araq
12e3c11eb6 fixes #911 2014-03-28 08:40:15 +01:00
Araq
31cfed0aa8 fixes a typo 2014-03-27 21:24:41 +01: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
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
085b339b8b implements higher-order inline iterators and return type inference for iterators 2014-03-08 22:57:06 +02:00
Zahary Karadjov
2cbe46daff Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-03-06 23:25:45 +02:00
Zahary Karadjov
862c0ef83d split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02:00
Araq
4f946cb44e fixes #942 2014-03-05 08:30:05 +01:00
Zahary Karadjov
5324c9ebba iterators now return tyIter(T);
tyIter(T) represents an "iteration yielding values of type T"

I'm planning to use that in the context of the `is` operator
supporting predicates such as `C.items is iterator` and also
in the upcoming support for higher-order inline iterators.
2014-03-05 02:23:53 +02:00
Araq
20131c32af Merge branch 'vm2_2' into devel 2014-02-25 01:21:00 +01:00
Araq
0c31686fec new VM is getting stable 2014-02-24 01:30:40 +01:00
Zahary Karadjov
1a6d05515f fix #945 2014-02-20 23:33:58 +02:00
Zahary Karadjov
765c682c92 fix #204; 2014-02-18 01:19:31 +02:00
Zahary Karadjov
eaab22089d fix #807 2014-02-17 20:44:11 +02:00
Zahary Karadjov
9dd753f218 quite messy implementation of generic lambdas, needs reworking; fixes #715 2014-02-17 03:03:17 +02:00