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

DGrammar

 
Post new topic   Reply to topic     Forum Index -> DGrammar
View previous topic :: View next topic  
Author Message
svanleent



Joined: 25 Sep 2004
Posts: 53

PostPosted: Fri Nov 12, 2004 8:07 am    Post subject: DGrammar Reply with quote

I started developing a Grammar compiler/compiler for D which uses syntax like yacc.

It is meant for parsing complete files and parsing partial blocks. It will be fully OOP.

It extracts classes which all have a parse(char[]) method which accepts a string containing the contents of a file. It outputs the class and all childs which are needed to represent the grammar.

Those classes can be used like:

Code:
File file = new File("XYZ.xyz");
char[][] str = file.toString();
ClassParser c = new ClassParser();
c.parse(str);


Regards,
Sjoerd van Leent
_________________
How C++ became ancient


Last edited by svanleent on Fri Nov 26, 2004 7:24 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Sun Nov 14, 2004 7:18 pm    Post subject: Reply with quote

Sure. Just provide a name and I'll get it set up.

BA
Back to top
View user's profile Send private message
svanleent



Joined: 25 Sep 2004
Posts: 53

PostPosted: Fri Nov 19, 2004 4:17 am    Post subject: Reply with quote

What about:

DGrammar?

This of course is a development tool.
_________________
How C++ became ancient
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DGrammar 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