www.digitalmars.com         C & C++   DMDScript  

D - D editor / Object question

reply Jonathan Andrew <Jonathan_member pathlink.com> writes:
OK, two quick questions:

I know this has been discussed already, but at 10,300 messages and counting,
this group is getting hard to search! I know that some people created some
language definition files so D could be written in various editors, (with
pretty syntax highlighting.) could somebody please tell me where I could find
them? I would be happy using just about any editor. (save maybe vim) A link on
either digitalmars.com or opend.org would be a huge help.

My other question is, do objects in D automatically inherit from type Object
like java?

Thanks,
-Jon
Jan 22 2003
next sibling parent reply Ilya Minkov <midiclub 8ung.at> writes:
Jonathan Andrew wrote:
 OK, two quick questions:
 
 I know this has been discussed already, but at 10,300 messages and counting,
 this group is getting hard to search! I know that some people created some
 language definition files so D could be written in various editors, (with
 pretty syntax highlighting.) could somebody please tell me where I could find
 them? I would be happy using just about any editor. (save maybe vim) A link on
 either digitalmars.com or opend.org would be a huge help.
I made mine in CREdit within a few minutes, the manual contains the list of kewords somewhere, and you also need to enter a couple of tiny things. It's easy you'll see. Time to fix up a full IDE, I guess.
 
 My other question is, do objects in D automatically inherit from type Object
 like java?
Yes (rtm!), and this "Object" can already do a number of kool things! Take a look at object.d of phobos source.
 
 Thanks,
 -Jon
 
 
BTW, D is very flexible. You can write it even in your mail editor: /+ /''::;.. / ':. / /-. \\ / // : |: / // .: // / // .: /' / /L.:' :' / _.'' /____::==='' ''''' +/ :>
Jan 22 2003
next sibling parent "Daniel Yokomiso" <daniel_yokomiso yahoo.com.br> writes:
"Ilya Minkov" <midiclub 8ung.at> escreveu na mensagem
news:b0mpvc$1h6h$1 digitaldaemon.com...
 Jonathan Andrew wrote:
 OK, two quick questions:

 I know this has been discussed already, but at 10,300 messages and
counting,
 this group is getting hard to search! I know that some people created
some
 language definition files so D could be written in various editors,
(with
 pretty syntax highlighting.) could somebody please tell me where I could
find
 them? I would be happy using just about any editor. (save maybe vim) A
link on
 either digitalmars.com or opend.org would be a huge help.
I made mine in CREdit within a few minutes, the manual contains the list of kewords somewhere, and you also need to enter a couple of tiny things. It's easy you'll see. Time to fix up a full IDE, I guess.
DEdit is an editor written in D available somewhere at www.opend.org [snip] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003
Jan 22 2003
prev sibling parent Jonathan Andrew <Jonathan_member pathlink.com> writes:
I made mine in CREdit within a few minutes, the manual contains the list 
of kewords somewhere, and you also need to enter a couple of tiny 
things. It's easy you'll see.

Time to fix up a full IDE, I guess.
Argghh... me doing work wasn't supposed to be the answer! =) In any case, I whipped up (well, modified) a D keyword file for the Scintilla/SciTE editor, its a pretty nice editor if you guys haven't checked it out (http://www.scintilla.org/SciTE.html). The keyword file is attached if anybody wants it. You might want to edit the global properties of SciTE also so the language support is available from the menu. -Jon
 
 My other question is, do objects in D automatically inherit from type Object
 like java?
Yes (rtm!), and this "Object" can already do a number of kool things! Take a look at object.d of phobos source.
 
 Thanks,
 -Jon
 
 
BTW, D is very flexible. You can write it even in your mail editor: /+ /''::;.. / ':. / /-. \\ / // : |: / // .: // / // .: /' / /L.:' :' / _.'' /____::==='' ''''' +/ :>
begin 0644 dmd.properties M(R!$969I;F4 4V-I5$4 <V5T=&EN9W, 9F]R($0 9FEL97,N#0H-"B, 9'5N M;F\ :68 +F1M9"!I<R!A(&-O;6UO;B!E>'1E;G-I;VX 9F]R($0 9FEL97,- M"F9I;&4N<&%T=&5R;G,N9&UD/2HN9#LJ+F1M9`T*#0IF:6QT97(N9&UD/40 M*&0 9&UD*7Q<#0HD*&9I;&4N<&%T=&5R;G,N9&UD*3LD*BYM86L[;6%K92I\ M#0H-"F9I;&4N<&%T=&5R;G,N8G)A8V5S/20H9FEL92YP871T97)N<RYD;60I M#0H-"FQE>&5R+B0H9FEL92YP871T97)N<RYD;60I/6-P<`T*#0IK97EW;W)D M8VQA<W,N9&UD/6%B<W1R86-T(&%L:6%S(&%L:6=N(&%S;2!A<W-E<G0 875T M;R!B:70 8F]D>2!B<F5A:R!B>71E(%P-"F-A<V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G-T87)T+F1M9#TO* T* M8V]M;65N="YB;W N;6ED9&QE+F1M9#T * T*8V]M;65N="YB;W N96YD+F1M M9#T *B\-"F9O;&0N8V]M;65N=#TQ#0IF;VQD+G!R97!R;V-E<W-O<CTQ#0H- M"G-T871E;65N="YI;F1E;G0N)"AF:6QE+G!A='1E<FYS+F1M9"D]-2!C87-E M(&-A=&-H(&-L87-S(&1E9F%U;'0 9&\ 96QS92!F;W( :68 7`T*9FEN86QL M>2!P<FEV871E('!R;W1E8W1E9"!P=6)L:6, <W1R=6-T('1R>2!U;FEO;B!W M:&EL90T*<W1A=&5M96YT+F5N9"XD*&9I;&4N<&%T=&5R;G,N9&UD*3TQ,"`[ M#0IS=&%T96UE;G0N;&]O:V)A8VLN)"AF:6QE+G!A='1E<FYS+F1M9"D],C`- M"F)L;V-K+G-T87)T+B0H9FEL92YP871T97)N<RYD;60I/3$P('L-"F)L;V-K M+F5N9"XD*&9I;&4N<&%T=&5R;G,N9&UD*3TQ,"!]#0H-"B-A=71O8V]M<&QE M=&4N8W!P+F9I;&QU<',]*`T*#0HC(&YO('!R97!R;V-E<W-O<B!I;B!$#0HC M<W1Y;&EN9RYW:71H:6XN<')E<')O8V5S<V]R/3$-"B-P<F5P<F]C97-S;W(N M<WEM8F]L+B0H9FEL92YP871T97)N<RYD;60I/2,-"B-P<F5P<F]C97-S;W(N M<W1A<G0N)"AF:6QE+G!A='1E<FYS+F1M9"D]:68 :69D968 :69N9&5F#0HC M<')E<')O8V5S<V]R+FUI9&1L92XD*&9I;&4N<&%T=&5R;G,N9&UD*3UE;'-E M(&5L:68-"B-P<F5P<F]C97-S;W(N96YD+B0H9FEL92YP871T97)N<RYD;60I M/65N9&EF#0H-"B, 1"!S='EL97,-" T*(R!$969A=6QT#0IS='EL92YD;60N M,S(])"AF;VYT+F)A<V4I#0HC(%=H:71E('-P86-E#0IS='EL92YD;60N,#UF M;W)E.B,X,# P.#`-"B, 0V]M;65N=`T*<W1Y;&4N9&UD+C$])"AC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HN8WAX/6%S='EL92`M=&%P3R`D*$9I;&5. M86UE17AT*0T*(V-O;6UA;F0N:7,N9FEL=&5R+C`N*BYC>' ],0T*#0HC8V]M M;6%N9"YN86UE+C$N*BYC>' ]3&EN=`T*(V-O;6UA;F0N,2XJ+F-X>#UG*RL M+5< +5=A;&P +5=S:&%D;W< +5=W<FET92US=')I;F=S("U7;VQD+7-T>6QE M+6-A<W0 7`T*(PDM5V]V97)L;V%D960M=FER='5A;"` +7!E9&%N=&EC("U/ M<R`M9FYO+65X8V5P=&EO;G, +69V=&%B;&4M=&AU;FMS("UC("0H1FEL94YA M;65%>'0I#0H-"B-C;VUM86YD+FYA;64N,BXJ+F-X>#U%>&5C=71E(%-E;&5C J=&EO; T*(V-O;6UA;F0N,BXJ+F-X>#TD*$-U<G)E;G1396QE8W1I;VXI ` end
Jan 24 2003
prev sibling parent Jason Mills <jmills cs.mun.ca> writes:
Jonathan Andrew wrote:
 OK, two quick questions:
 
 I know this has been discussed already, but at 10,300 messages and counting,
 this group is getting hard to search! I know that some people created some
 language definition files so D could be written in various editors, (with
 pretty syntax highlighting.) could somebody please tell me where I could find
 them? I would be happy using just about any editor. (save maybe vim) A link on
 either digitalmars.com or opend.org would be a huge help.
Although you are not interested in vim, there is a vim syntax file at www.vim.org (in case you like to take an interest :-) Jason
Jan 23 2003