Commit graph

231 commits

Author SHA1 Message Date
Araq
b7f8dbbec2 fixes #1511 2014-09-11 00:45:29 +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
Zahary Karadjov
b80503814d fix #188 2014-02-17 00:47:45 +02:00
Araq
d912d18379 tyTypeDesc and tyRange always have 1 child; this might be tyNone but it is required for skipTypes 2014-02-05 23:43:13 +01:00
Araq
99352c1e4c macro tests almost green 2014-02-03 17:35:03 +01:00
Araq
47e4f9698c fixes #844 2014-02-02 10:00:10 +01:00
Zahary Karadjov
5d712e0d3f Merge branch 'devel' of https://www.github.com/Araq/Nimrod into devel 2014-01-26 01:38:45 +02:00
Zahary Karadjov
3f71b7f1f6 implements #766;
expressions such as Type.field are now recognised by the compiler.
This also fixes a bug, preventing the user-defined to check for the presence of
regular fields in addition to procs
2014-01-24 23:52:52 +02:00
Araq
37229df7fc next steps for closure iterators 2014-01-22 17:32:38 +01:00
Araq
4a0aadef4d parser support anon iterators 2014-01-20 20:07:44 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Zahary Karadjov
02533c260b fixed #597 2014-01-02 17:55:18 +02:00
Zahary Karadjov
8e0941576f clean-up some obsolete code; close #602 2013-12-31 12:39:43 +02:00
Zahary Karadjov
afddae5aaf Merge branch 'upstream' into devel
Conflicts:
	compiler/ccgutils.nim
	compiler/msgs.nim
	compiler/sem.nim
	compiler/semexprs.nim
	compiler/seminst.nim
	compiler/semmagic.nim
	compiler/semstmts.nim
	compiler/semtypes.nim
	compiler/semtypinst.nim
	compiler/sigmatch.nim
	compiler/types.nim
	compiler/vmgen.nim
	lib/core/macros.nim
	lib/system.nim
	tests/reject/tenummix.nim
	web/news.txt
2013-12-29 17:21:00 +02:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Zahary Karadjov
66a2556525 make more tests green 2013-12-29 00:00:37 +02:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
4ffe6a8282 new VM: passes more tests 2013-12-06 01:48:02 +01:00
Araq
5eba93d584 Merge branch 'master' into vm2
Conflicts:
	compiler/sem.nim
2013-12-05 00:03:27 +01:00
Araq
5dcfa97fb9 fixes #696 2013-12-01 17:02:56 +01:00
Araq
cd1f96d421 fixes #663 2013-11-19 15:11:44 +01:00
Andreas Rumpf
fb810e25c4 Merge pull request #680 from Varriount/core/fix-generic-crashes
Prevent lambdas from crashing if given implicit generic parameters.
2013-11-19 02:34:22 -08:00
Clay Sweetser
f279d465d0 Prevent lambdas from crashing if given implicit generic parameters.
Fixes issues #599 and #641 (and possibly other generic-related issues)
2013-11-18 17:26:53 -05:00