August 20, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | On Mon, 19 Aug 2002 16:16:11 -0700 "Walter" <walter@digitalmars.com> wrote:
> I confess I just never liked the idea behind iostreams and the overloaded operators for it. It just never looked right or elegant. It also always seemed to result in fat exe's.
Alternative? Unless you give us safe varargs, of course... =)
|
August 20, 2002 Re: dmd 0.37 release - operator overloading (0/1) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | On Mon, 19 Aug 2002 23:52:52 -0700 "Sean L. Palmer" <seanpalmer@earthlink.net> wrote:
> It'll do. ;)
>
> Now if I can just get a windows.d that has GetFocus() and PeekMessage() in
> it... I'll be in business!
Grab it!
This is the latest version used by WinD, and it's hand-coded (unlike my old windows.d). I hope that Walter will merge it with his API declarations.
|
August 20, 2002 Re: dmd 0.37 release - operator overloading (1/1) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | begin 644 WIN32.ZIP M4$L#!!0````(`-EF$BT8Z,_M:"\``&"P```'````5TE.,S(N1*Q]6W,<MY+F MNR/\'_KQG!/B3-WZ-M[=6'05NKO,NKE018J>F.B@*'K$.!+E(*ESY-G8_[Z5 MN'Y`5WM>5@Z'W?DE@,Q$XI9(E/[U;S_^L/C;8G'[])PF"]:5BX^/#Y_O7^[? MGKX^ORY^^_JR*!3'AS\6W?T_'C\OZJ?G^S\>_['X'X__>/K\]?GQ?W_]\OC\ M+R_?_M>_$*-B'CX]O2X>OGY\7$S_?7I>_/[MP^>GA\7'KU_NGYXMW_^//_\Z M5?3C#S_^\/3E]Z\O;XM_/CU__/K/UY^(]/C][?'E^2^WBO37?R/:_>>G^TFR M3_<O?UMT^9'U/QG:M]=/5`$;VMK1GI[?%GE;M7W/]S[UMF,]<YQ$JF9(/1=C M-5C:D35%Q1?'FC?C&;',V^:,F(^]:/LS<I&?D0Y%V>Y^=F3U>W'L.-1JB+M^ M%,=S\KYM0%C+7`XUZV9J9A4?!GX.](?F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QPU*I_U@\U_C?%J=1WM))O09E!ED*OG,94=NCVL/F M;\""RQV@$IT[^8%K]!A<`YYZ[-[`W4@`OA4%PU[`^6UX-#;02G(Q1,,]>MK, MGT=#^LG:&-?P<#7:`W\/XH[!7=@2^$[M<Y\.S5A[,9Q6[+5%9U3?:(=G8F@Y MY:27#6Q=O`V,#:[UQCI^^B7.1'/NAM*YD\:X@IS468X&MVG<Z6X&':)+Z)04 MKR-5&%*"J2TM(-Z(&Z6S#G=\01BSP25%DZ>V<!X6&+?WMS,OX4=L_<M&JW*A M*[YWFLTD.4)L\[,JPY2O6""\=N8*LB%2/ZTW6U1\@5?=#:4^1YH.R"0)K%;- MAD;"2IS.)Z^)-TD+-33>!B,-*2-L..]`:C6V2'EJ$XI9#B*R0>/W,3[7SFK! M?XAW6-;_QS*,JEL2-,2\&24^ES-#MZ8-<_QYVP9VM%,@M2W:C4"/#Z:E6@K2 M8FMSAUCO@.VR$&8:K3>`8:5U(P5C&\)W$&??\'!GWJ8;@P]9-DXG7HVKC]E" MEV)7\_AP1KY5_F6*^3T]=WLA59)GB7V;?/#]C`1UECS)DW^2=))\_IQ\^@U) M=-=AVS'-HU\=$_-,^QLF/VH/VENJ?P%02P$"%``4````"`#99A(M&.C/[6@O M``!@L```!P`````````!`"``````````5TE.,S(N1%!+!08``````0`!`#4` (``"-+P`````` ` end |
August 20, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | "Pavel Minayev" <evilone@omen.ru> wrote in message news:CFN374884942340972@news.digitalmars.com... > On Mon, 19 Aug 2002 16:16:11 -0700 "Walter" <walter@digitalmars.com> wrote: > > I confess I just never liked the idea behind iostreams and the overloaded > > operators for it. It just never looked right or elegant. It also always seemed to result in fat exe's. > Alternative? Unless you give us safe varargs, of course... =) My grand idea is mumble - mumble - mumble, and so you see, it is brilliant! But seriously, at the moment I'm working on the generics issue. I hope to have a strawman for that by the end of the month. -Walter |
August 21, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | I always thought it would be nice to specify varargs with simple
regular(ish) expressions, something similar to the syntax used
in a DTD would be sufficient. The only problem with a direct lift is the *
as that would clash with a pointer declaration, perhaps allow # instead.
Then all you have to do is have a way of correctly reading the arguments
regardless of how the expression is matched. That I'd leave up to you
(points wildly in random, generally leftward direction)...
--
Alix Pexton...
Webmaster, The D Journal
web: www.thedjournal.com
email:webmaster@thedjournal.com
"The D journal, a work in progress..."
Pavel Minayev <evilone@omen.ru> wrote in article <CFN374884942340972@news.digitalmars.com>...
> On Mon, 19 Aug 2002 16:16:11 -0700 "Walter" <walter@digitalmars.com>
wrote:
>
> > I confess I just never liked the idea behind iostreams and the
overloaded
> > operators for it. It just never looked right or elegant. It also always seemed to result in fat exe's.
>
> Alternative? Unless you give us safe varargs, of course... =)
>
|
August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Hi all...
Outlook Express did a weird thing and started to download ALL the messages
in this newsgroup (I stopped before it was finished), but it was good
because I found this post, which dates 2001-08-17. Not many of us were in
this newsgroup in that time, so probably most won't know of its existence
(and also, many of those who used to post back then don't post now).
Well... What do you guys (Walter especially) think about it?
Walter wrote:
>
> Charles Hixson wrote in message <3B7D2C6B.4040702@earthlink.net>...
> > ...So one could define :+: to add
> >matrices, etc., and as these would really be functions, they should follow the normal overloading rules of functions.
> >
> >This would allow them to be easily parsed, would distinguish them clearly from the standard operators, and would provide the majority of the notational compactness that normal operators provide. The fact that A :+: B would be syntactic sugar for A.add (B) is minor, but convenient.
> > As to precedence ... they should probably bind more strongly than any
> >other operator, and all to the same degree. If you want to get fancy, you'ld need to use parentheses.
>
> Now this idea has a lot of merit! Thanks for posting it. I *like* it being clearly distinguishable from the native operators.
|
August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | "Carlos" <carlos8294@msn.com> wrote in message news:ak1n98$utk$1@digitaldaemon.com... > Hi all... > Outlook Express did a weird thing and started to download ALL the messages > in this newsgroup (I stopped before it was finished), but it was good > because I found this post, which dates 2001-08-17. Not many of us were in > this newsgroup in that time, so probably most won't know of its existence > (and also, many of those who used to post back then don't post now). > Well... What do you guys (Walter especially) think about it? Ah, the ghost of postings past <g>. I was wrong. The trouble with :+: being for overloaded operators and + for builtin operators is that generic templates don't work. It has to be the same operator token. |
August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | >
> I was wrong. The trouble with :+: being for overloaded operators and + for builtin operators is that generic templates don't work. It has to be the same operator token.
>
Ok, but I mainly meant about the other stuff... About using other symbols as operators...
|
August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | "Carlos" <carlos8294@msn.com> escribió en el mensaje news:ak1n98$utk$1@digitaldaemon.com... > Hi all... > Outlook Express did a weird thing and started to download ALL the messages > in this newsgroup (I stopped before it was finished), but it was good You can call me crazy (actually, you'd be right if you do that ;) ), but I did it. I downloaded d in news.digitalmars.com. It's damn late here (over 3 in the morning), but I gues that reading 6700+ posts will help me learn more D. Yes, I have lots of reading. Let's see what happens... |
August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | "Carlos" <carlos8294@msn.com> wrote in message news:ak21oi$30gn$1@digitaldaemon.com... > Ok, but I mainly meant about the other stuff... About using other symbols as > operators... I still like that idea. |
Copyright © 1999-2021 by the D Language Foundation