August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | I want to use Unicode math symbols as operators ;) Dot and cross product etc. Union, Intersection. Almost Equal To. Similar To. So many things that are standard math symbols and are hard to type out with words. Sean "Carlos" <carlos8294@msn.com> wrote in message news:ak21oi$30gn$1@digitaldaemon.com... > > > > 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 Sean L. Palmer | "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:ak3600$231d$1@digitaldaemon.com... > I want to use Unicode math symbols as operators ;) Dot and cross product etc. Union, Intersection. Almost Equal To. Similar To. So many things that are standard math symbols and are hard to type out with words. I've been thinking that it might be possible to predefine some of those as tokens, and then allow operator overloading of them. |
August 22, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:ak3600$231d$1@digitaldaemon.com... > I want to use Unicode math symbols as operators ;) Dot and cross product etc. Union, Intersection. Almost Equal To. Similar To. So many things that are standard math symbols and are hard to type out with words. What text editor would you use to program, then? Ahem... Salutaciones, JCAB |
August 23, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Juan Carlos Arevalo Baeza | On Thu, 22 Aug 2002 13:12:54 -0700 "Juan Carlos Arevalo Baeza" <jcab@JCABs-Rumblings.com> wrote:
> What text editor would you use to program, then? Ahem...
BeOS StyleEdit. Or QNX Ped. Or maybe just FAR. =)
|
August 23, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Juan Carlos Arevalo Baeza | That's a good question, and I don't have a good answer. But I do find it hard to believe that UTF-8 and Unicode fonts have been around for this long without some fool making a truly unicode compatible text editor. I just tried TextPad and though it claims Unicode and UTF-8 support for file formats, it won't display the characters properly. I suppose I could always use MS Word as an editor. ;( Sean "Juan Carlos Arevalo Baeza" <jcab@JCABs-Rumblings.com> wrote in message news:ak3g7p$2edc$1@digitaldaemon.com... > "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:ak3600$231d$1@digitaldaemon.com... > > > I want to use Unicode math symbols as operators ;) Dot and cross product > > etc. Union, Intersection. Almost Equal To. Similar To. So many things > > that are standard math symbols and are hard to type out with words. > > What text editor would you use to program, then? Ahem... > > Salutaciones, > JCAB |
August 23, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:ak5p89$20d4$1@digitaldaemon.com... > That's a good question, and I don't have a good answer. But I do find it hard to believe that UTF-8 and Unicode fonts have been around for this long > without some fool making a truly unicode compatible text editor. I just tried TextPad and though it claims Unicode and UTF-8 support for file formats, it won't display the characters properly. > > I suppose I could always use MS Word as an editor. ;( The source to MicroEmacs comes with the compiler. If the operating system can display unicode characters, then it would be fairly trivial to change ME to edit unicode. |
August 23, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "Walter" <walter@digitalmars.com> wrote in message news:ak5qb4$21dc$3@digitaldaemon.com... > The source to MicroEmacs comes with the compiler. If the operating system can display unicode characters, then it would be fairly trivial to change ME > to edit unicode. Display is one end of it. Input is another. How would you type the new characters in the editor? I've always seen UNICODE as a post-process stuff that kind of happens behind the scenes but you hardly ever see while you program. I would really _love_ to see a real, usable UNICODE editor in action. Salutaciones, JCAB |
August 24, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Juan Carlos Arevalo Baeza | "Juan Carlos Arevalo Baeza" <jcab@JCABs-Rumblings.com> wrote in message news:ak6ftm$2p80$1@digitaldaemon.com... > "Walter" <walter@digitalmars.com> wrote in message news:ak5qb4$21dc$3@digitaldaemon.com... > > > The source to MicroEmacs comes with the compiler. If the operating system > > can display unicode characters, then it would be fairly trivial to change > ME > > to edit unicode. > > Display is one end of it. Input is another. How would you type the new > characters in the editor? I've always seen UNICODE as a post-process stuff > that kind of happens behind the scenes but you hardly ever see while you > program. I would really _love_ to see a real, usable UNICODE editor in > action. Input it as: <METAKEY> UUUU Ugly, but workable for occaisonal use. |
August 24, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Juan Carlos Arevalo Baeza | On Fri, 23 Aug 2002 16:25:58 -0700 "Juan Carlos Arevalo Baeza" <jcab@JCABs-Rumblings.com> wrote:
> Display is one end of it. Input is another. How would you type the new
> characters in the editor? I've always seen UNICODE as a post-process stuff
There are different keyboard mappings, and many OSes allow you to create your
own - so one could
create such a mapping, for example I could do it for BeOS, and then just
switch back and forth.
Then the only problem would be to remember which key corresponds to which
operator.
|
August 24, 2002 Re: dmd 0.37 release - operator overloading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Just cut'n'paste from the Character Map tool. Sean "Walter" <walter@digitalmars.com> wrote in message news:ak6ktk$2uip$1@digitaldaemon.com... > > "Juan Carlos Arevalo Baeza" <jcab@JCABs-Rumblings.com> wrote in message news:ak6ftm$2p80$1@digitaldaemon.com... > > "Walter" <walter@digitalmars.com> wrote in message news:ak5qb4$21dc$3@digitaldaemon.com... > > > > > The source to MicroEmacs comes with the compiler. If the operating > system > > > can display unicode characters, then it would be fairly trivial to > change > > ME > > > to edit unicode. > > > > Display is one end of it. Input is another. How would you type the new > > characters in the editor? I've always seen UNICODE as a post-process stuff > > that kind of happens behind the scenes but you hardly ever see while you program. I would really _love_ to see a real, usable UNICODE editor in action. > > Input it as: <METAKEY> UUUU > > Ugly, but workable for occaisonal use. |
Copyright © 1999-2021 by the D Language Foundation