View previous topic :: View next topic |
Author |
Message |
svanleent
Joined: 25 Sep 2004 Posts: 53
|
Posted: Fri Nov 12, 2004 8:07 am Post subject: DGrammar |
|
|
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 |
|
|
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Sun Nov 14, 2004 7:18 pm Post subject: |
|
|
Sure. Just provide a name and I'll get it set up.
BA |
|
Back to top |
|
|
svanleent
Joined: 25 Sep 2004 Posts: 53
|
Posted: Fri Nov 19, 2004 4:17 am Post subject: |
|
|
What about:
DGrammar?
This of course is a development tool. _________________ How C++ became ancient |
|
Back to top |
|
|
|