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;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 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<V4 8V%S="!C871C:"!C96YT M969A=6QT(&1E;&5G871E(&1E;&5T92!D97!R96-A=&5D(&1O(&1O=6)L92!< M="!I;G0 ;&]N9R!I;6%G:6YA<GD :68 <W=I=&-H('-Y;F-H<F]N:7IE9"!R M971U<FX 9V]T;R!S=')U8W0 7`T*:6YT97)F86-E(&EM<&]R="!S=&%T:6, M;W9E<G)I9&4 :6X ;W5T(&EN;W5T('!R:79A=&4 <')O=&5C=&5D('!U8FQI M8R!I;G9A<FEA;G0 7`T*=&AI<R!T:')O=R!T<G5E('1R>2!T>7!E9&5F(%P- M"G5B>71E('5C96YT('5I;G0 =6QO;F< =6YI;VX =7-H;W)T(%P-"G9E<G-I M>7=O<F1S,B!I<R!F;W( :&EG:&QI9VAT:6YG('5S97( 9&5F:6YE9"!K97EW M+B0H9FEL92YP871T97)N<RYC<'`I/69I;&4-"B, :V5Y=V]R9',S(&ES(&9O M<B!D;V, 8V]M;65N="!K97EW;W)D<RP :&EG:&QI9VAT960 :6X <W1Y;&4 M<'`I/6$ 861D:6YD97 861D=&]G<F]U<"!A;F-H;W( 87)G(&%T=&5N=&EO M(&1E9F=R;W5P(&1E<')E8V%T960 9&]N=&EN8VQU9&4 7`T*92!E;2!E;F1C M;V1E(&5N9&AT;6QO;FQY(&5N9&EF(&5N9&QA=&5X;VYL>2!E;F1L:6YK(&5N M9'9E<F)A=&EM(&5N=6T 97AA;7!L92!E>&-E<'1I;VX 7`T*9B0 9EL 9ET M9FEL92!F;B!H:61E:6YI=&EA;&EZ97( :'1M;&EN8VQU9&4 :'1M;&]N;'D M7`T*:68 :6UA9V4 :6YC;'5D92!I;F=R;W5P(&EN=&5R;F%L(&EN=F%R:6%N M92!N86UE(&YA;65S<&%C92!N;W-U8F=R;W5P:6YG(&YO=&4 ;W9E<FQO860 M7`T*<"!P86=E('!A<B!P87)A;2!P;W-T('!R92!R968 <F5L871E<R!R96UA M<FMS(')E='5R;B!R971V86P 7`T*<V$ <V5C=&EO;B!S964 <VAO=VEN:71I M86QI>F5R('-I;F-E('-K:7` <VMI<&QI;F4 <W1R=6-T('-U8G-E8W1I;VX M7`T*=&5S="!T:')O=R!T;V1O('1Y<&5D968 =6YI;VX =6YT:6P 7`T*=F%R M('9E<F)A=&EM('9E<F)I;F-L=61E('9E<G-I;VX =V%R;FEN9R!W96%K9W)O M=7` )"!`(%P )B`\(#X (R![('T-" T*=V]R9"YC:&%R<RYD;60])"AC:&%R M<RYA;'!H82DD*&-H87)S+FYU;65R:6,I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='5A;"` +7!E9&%N=&EC("U/ M<R`M9FYO+65X8V5P=&EO;G, +69V=&%B;&4M=&AU;FMS("UC("0H1FEL94YA 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