www.digitalmars.com         C & C++   DMDScript  

D - D Keywords

reply SpookyET <not4_u hotmail.com> writes:
Can someone please post the list of D keywords.  I'd like to add syntax  
highlighting to the best text editor ever, EmEditor 4.03  
(http://www.emeditor.com).  Not only that it has a ton of features, it is  
also extremely fast, it takes a few milliseconds to load.

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Feb 29 2004
next sibling parent Manfred Nowak <svv1999 hotmail.com> writes:
SpookyET wrote:

 Can someone please post the list of D keywords.

What about a little bit of activism on your side? http://www.digitalmars.com/d/lex.html So long.
Feb 29 2004
prev sibling parent reply larry cowan <larry_member pathlink.com> writes:
http://www.digitalmars.com/d/lex.html

Really, I think you have been hit enough - both sides should understand
your .net/C# bias is intense, but you are spending time here - you really
should [have] read the online manual.

In article <opr35ox7ip1s9n15 saturn>, SpookyET says...
Can someone please post the list of D keywords.  I'd like to add syntax  
highlighting to the best text editor ever, EmEditor 4.03  
(http://www.emeditor.com).  Not only that it has a ton of features, it is  
also extremely fast, it takes a few milliseconds to load.

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Feb 29 2004
parent reply SpookyET <not4_u hotmail.com> writes:
Thanks for the link.  I have read the manual by jumping from part to part  
and missed the lex part.  I am biased to .net since I think that it is a  
great technology and wish that MS would stop being M$ and release it on  
many platforms. .NET is what the JAVA should have been and it is not a  
crime to wish some of the C# features to be in D, and some of the .NET dll  
features to be in  D dlls.  Even if I can't explain them as good as some  
people want me to, I believe that you people should have a look on the net  
at this features. That way you might understand them better and you might  
change your minds.
I like some of D and believe me that I wouldn't waste time in creating a  
syntax highlighting file if I didn't like it for that cool EmEditor.


On Mon, 1 Mar 2004 00:33:45 +0000 (UTC), larry cowan  
<larry_member pathlink.com> wrote:

 http://www.digitalmars.com/d/lex.html

 Really, I think you have been hit enough - both sides should understand
 your .net/C# bias is intense, but you are spending time here - you really
 should [have] read the online manual.

 In article <opr35ox7ip1s9n15 saturn>, SpookyET says...
 Can someone please post the list of D keywords.  I'd like to add syntax
 highlighting to the best text editor ever, EmEditor 4.03
 (http://www.emeditor.com).  Not only that it has a ton of features, it  
 is
 also extremely fast, it takes a few milliseconds to load.

 --
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Feb 29 2004
next sibling parent J Anderson <REMOVEanderson badmama.com.au> writes:
SpookyET wrote:

 Thanks for the link.  I have read the manual by jumping from part to 
 part  and missed the lex part.  I am biased to .net since I think that 
 it is a  great technology and wish that MS would stop being M$ and 
 release it on  many platforms. .NET is what the JAVA should have been 
 and it is not a  crime to wish some of the C# features to be in D, and 
 some of the .NET dll  features to be in  D dlls.  Even if I can't 
 explain them as good as some  people want me to, I believe that you 
 people should have a look on the net  at this features. That way you 
 might understand them better and you might  change your minds.
 I like some of D and believe me that I wouldn't waste time in creating 
 a  syntax highlighting file if I didn't like it for that cool EmEditor.

I'll give you one thing, you've got guts. You've been fighting an uphill battle and keep rolling down but getting up again, that takes some real tolerance ;) Many of the guys in this group have used C# and some are quite experienced in it. D has adopted a few ideas from net. IMHO You have to remember that Walter (excellent programmer as he is) cannot compete against the possibly hundreds of programmers that work in net. Therefore Walter must focus on the most important parts of the language design. That is one reason why many people in this group try to advocate a library solution, particularly if it is something already in D but parhaps not as *nice* as some would like it. Of course what's important to one person isn't to another. I think the major things that will be changed in the language (now) will be from real problems users have with D. But there's always D 2.0. I say keep the suggestions coming, just don't bring them up again to often. -- -Anderson: http://badmama.com.au/~anderson/
Feb 29 2004
prev sibling next sibling parent "Nam" <dreamweaver mail15.com> writes:
"SpookyET" <not4_u hotmail.com> wrote in message
news:opr35r4wb71s9n15 saturn...
 Thanks for the link.  I have read the manual by jumping from part to part
 and missed the lex part.  I am biased to .net since I think that it is a
 great technology and wish that MS would stop being M$ and release it on
 many platforms. .NET is what the JAVA should have been and it is not a
 crime to wish some of the C# features to be in D, and some of the .NET dll
 features to be in  D dlls.  Even if I can't explain them as good as some
 people want me to, I believe that you people should have a look on the net
 at this features. That way you might understand them better and you might
 change your minds.
 I like some of D and believe me that I wouldn't waste time in creating a
 syntax highlighting file if I didn't like it for that cool EmEditor.


 On Mon, 1 Mar 2004 00:33:45 +0000 (UTC), larry cowan
 <larry_member pathlink.com> wrote:

 http://www.digitalmars.com/d/lex.html

 Really, I think you have been hit enough - both sides should understand
 your .net/C# bias is intense, but you are spending time here - you


 should [have] read the online manual.

 In article <opr35ox7ip1s9n15 saturn>, SpookyET says...
 Can someone please post the list of D keywords.  I'd like to add syntax
 highlighting to the best text editor ever, EmEditor 4.03
 (http://www.emeditor.com).  Not only that it has a ton of features, it
 is
 also extremely fast, it takes a few milliseconds to load.

 --
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Mar 02 2004
prev sibling parent reply "Nam" <dreamweaver mail15.com> writes:
SpookyET I think  we need an interface to interact with .NET ( not DLL type
which just have like Java packages )

Remember you must write that in C#:
using System;
and compare with Java ( even J#)
import System.*;
and D
import System;

I don't see anything differ . Even in C# you must add a reference in VS.NET
IDE to System.dll ;) but when in D and Java the compiler look after that
itself. Why must use import "System.dll". ???
The DLL type of .NET require a proxy usually other programs need to contact
with .NET Framework , or .NET contact to other normal - DLL , not only that
DLL type ( I really don't know why M$ named their .NET packages in DLL ) .I
think it called Interop or something . So the one you suggest is the ability
which support .NET Framework and so imho , Java packages . Extra for D ;) .
Not for the core .
Why must create a DLL which just use in .NET Framework ?? And why do that
when you can write an Interop wrapper on D DLL and access them just like
your normal way in C# ?
BTW, can Java access D DLL through JNI ? I read in some thread that Walter
has solved problems about garbage collection for D DLL.

"SpookyET" <not4_u hotmail.com> wrote in message
news:opr35r4wb71s9n15 saturn...
 Thanks for the link.  I have read the manual by jumping from part to part
 and missed the lex part.  I am biased to .net since I think that it is a
 great technology and wish that MS would stop being M$ and release it on
 many platforms. .NET is what the JAVA should have been and it is not a
 crime to wish some of the C# features to be in D, and some of the .NET dll
 features to be in  D dlls.  Even if I can't explain them as good as some
 people want me to, I believe that you people should have a look on the net
 at this features. That way you might understand them better and you might
 change your minds.
 I like some of D and believe me that I wouldn't waste time in creating a
 syntax highlighting file if I didn't like it for that cool EmEditor.


 On Mon, 1 Mar 2004 00:33:45 +0000 (UTC), larry cowan
 <larry_member pathlink.com> wrote:

 http://www.digitalmars.com/d/lex.html

 Really, I think you have been hit enough - both sides should understand
 your .net/C# bias is intense, but you are spending time here - you


 should [have] read the online manual.

 In article <opr35ox7ip1s9n15 saturn>, SpookyET says...
 Can someone please post the list of D keywords.  I'd like to add syntax
 highlighting to the best text editor ever, EmEditor 4.03
 (http://www.emeditor.com).  Not only that it has a ton of features, it
 is
 also extremely fast, it takes a few milliseconds to load.

 --
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Mar 02 2004
parent reply SpookyET <not4_u hotmail.com> writes:
using isn't importing, it is a shortcut mechanism so instead of typing  
Namespace.SubNameSpace.MyObject, you just type MyObject.
eg: System.Console.WriteLine();
using System;
Console.WriteLine();

You can also use "using" for aliases
using Output = System.Console;
Output.WriteLine();


This is what visual studio does.
csc.exe foobar.cs /resources:System.dll

dll are not not like java packgages, they are strong named assemblies  
(libraries)
Native apps can anly talk to .NET using COM.
.NET apps can access native apps using COM, access C dll, and normal  
C++ classes using managed C++.
By the way java is a piece of junk, it has always been
Read this funny as hell  
http://www.internalmemos.com/memos/memodetails.php?memo_id=1321

On Tue, 2 Mar 2004 21:23:36 +0700, Nam <dreamweaver mail15.com> wrote:

 SpookyET I think  we need an interface to interact with .NET ( not DLL  
 type
 which just have like Java packages )

 Remember you must write that in C#:
 using System;
 and compare with Java ( even J#)
 import System.*;
 and D
 import System;

 I don't see anything differ . Even in C# you must add a reference in  
 VS.NET
 IDE to System.dll ;) but when in D and Java the compiler look after that
 itself. Why must use import "System.dll". ???
 The DLL type of .NET require a proxy usually other programs need to  
 contact
 with .NET Framework , or .NET contact to other normal - DLL , not only  
 that
 DLL type ( I really don't know why M$ named their .NET packages in DLL )  
 .I
 think it called Interop or something . So the one you suggest is the  
 ability
 which support .NET Framework and so imho , Java packages . Extra for D  
 ;) .
 Not for the core .
 Why must create a DLL which just use in .NET Framework ?? And why do that
 when you can write an Interop wrapper on D DLL and access them just like
 your normal way in C# ?
 BTW, can Java access D DLL through JNI ? I read in some thread that  
 Walter
 has solved problems about garbage collection for D DLL.

 "SpookyET" <not4_u hotmail.com> wrote in message
 news:opr35r4wb71s9n15 saturn...
 Thanks for the link.  I have read the manual by jumping from part to  
 part
 and missed the lex part.  I am biased to .net since I think that it is a
 great technology and wish that MS would stop being M$ and release it on
 many platforms. .NET is what the JAVA should have been and it is not a
 crime to wish some of the C# features to be in D, and some of the .NET  
 dll
 features to be in  D dlls.  Even if I can't explain them as good as some
 people want me to, I believe that you people should have a look on the  
 net
 at this features. That way you might understand them better and you  
 might
 change your minds.
 I like some of D and believe me that I wouldn't waste time in creating a
 syntax highlighting file if I didn't like it for that cool EmEditor.


 On Mon, 1 Mar 2004 00:33:45 +0000 (UTC), larry cowan
 <larry_member pathlink.com> wrote:

 http://www.digitalmars.com/d/lex.html

 Really, I think you have been hit enough - both sides should  

 your .net/C# bias is intense, but you are spending time here - you


 should [have] read the online manual.

 In article <opr35ox7ip1s9n15 saturn>, SpookyET says...
 Can someone please post the list of D keywords.  I'd like to add  


 highlighting to the best text editor ever, EmEditor 4.03
 (http://www.emeditor.com).  Not only that it has a ton of features,  


 is
 also extremely fast, it takes a few milliseconds to load.

 --
 Using M2, Opera's revolutionary e-mail client:  



-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Mar 02 2004
parent J Anderson <REMOVEanderson badmama.com.au> writes:
SpookyET wrote:

 using isn't importing, it is a shortcut mechanism so instead of 
 typing  Namespace.SubNameSpace.MyObject, you just type MyObject.
 eg: System.Console.WriteLine();
 using System;
 Console.WriteLine();

namespaces are automatic unless there is a clash, what could be more simple then typing nothing? Having said that I've found that in some cases (ie when updating dig) you need the full namespaces. In these cases I would suggest an extension to *with*. That is *with* accepts namespaces, can be written (optionally) without the block syntax and can be used at module level.
 You can also use "using" for aliases
 using Output = System.Console;
 Output.WriteLine();

-- -Anderson: http://badmama.com.au/~anderson/
Mar 02 2004