FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Question about semantic errors

 
Post new topic   Reply to topic     Forum Index -> Descent
View previous topic :: View next topic  
Author Message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Mon Aug 25, 2008 4:16 am    Post subject: Question about semantic errors Reply with quote

I know that there are big problems implementing full semantic errors with good performance but would it be possible to have an option that implements all the semantic errors that jdt does (those that make sense in D) with the same performance that jdt does? I think it would be very valuable to show errors like missing imports for types and similar that jdt can handle. I think it would be amazing if I could get help from the IDE to write a D program with almost no compile errors, like with Java.
Back to top
View user's profile Send private message
asterite



Joined: 01 Jun 2006
Posts: 235
Location: Buenos Aires, Argentina

PostPosted: Mon Aug 25, 2008 6:35 am    Post subject: Reply with quote

The errors JDT reports are java specific, and are built inside of the Java compiler the JDT guys developed. I can't use that, because D's semantics are very different, and are based on a different syntax tree. The only thing I can do is to try to improve semantic errors the way they work not, but it consumes a lot of time (find an error, write a test for it, fix it, see that everything else works ok, repeat... and the loop is almost neverending).
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Mon Aug 25, 2008 7:24 am    Post subject: Reply with quote

ok I see
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Descent All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group