Hi Friends.
Now , Zonnon4java have 4 Developers
Thanks for your help.
SVN Subversion is active since last week:
http://zonnon4java.svn.sourceforge.net/viewvc/zonnon4java/
to syncro you use a svn client or command tool. More
info<http://en.wikipedia.org/wiki/Subversion_%28software%29>
The Zonnon Compiler For Java have 5 subprojects: (SVN access)
ZonnonXML: parser zonnon code to xml intermediate representation.
ZonnonENGINE: generate java (or bytecode) code from xml intermediate
representation.
ZonnonGUI: Zonnon Compiler Graphics User Interface
ZonnoWEB: Promotional Website with TestSuite examples about compiler
ZoonnoDocumentation: Compiler Documentation
Why?
Create a compiler is not easy.
The team of developers have hard work, and if this work is partitionate is
more easy to develop.
For this reason this subprojects will create.
ZonnonXML:Lexical, Sintactic and Semantic Analysis , and generate xml code.
This xml is validate with dtd file.
Sablecc.org <http://www.sablecc.org> is the best tool to create it.
zonnon ebnf grammar
file<http://zonnon4java.svn.sourceforge.net/viewvc/zonnon4java/ZonnonDocumentation/trunk/ebnf_zonnon.txt?view=log>
zoonon dtd for xml
validate<http://zonnon4java.svn.sourceforge.net/viewvc/zonnon4java/ZonnonDocumentation/trunk/zonnonxml.dtd?view=log>
minizonnon example<http://zonnon4java.svn.sourceforge.net/viewvc/zonnon4java/ZonnonDocumentation/trunk/minizonnon.sablecc?view=log>
(get this files from here:
http://zonnon4java.svn.sourceforge.net/viewvc/zonnon4java/ZonnonDocumentation/trunk
)
Automatic lexical and sintactic analysis is generated by Sablecc
Semantic analysis : Check type, scope and variable definition (Use Symbol
Table),
RoadMap:
1º Write a grammar from ebnf file .
2º Parse this grammar file with Sablecc create the Lexical(Tokens) and
Sintactical analysis(Producctions)
3º Generate Variable Declaration and Scope Analysis, extends from
DepthFirstAdapter class(generate by Sablecc)
Fill inXXX and outXXX methods to analyze variable
declaration and scope ().
You need a SymbolTable (class or List )for this.
4º Generate Type Analysis, extends from DepthFirstAdapter class(generate by
Sablecc)
ZonnonENGINE:
RoadMap:
More info , pagina de zoonon oficial, y la documentacion pdf
--
"Jamás aceptaría pertenecer a un club que me admitiera como socio"
Groucho Marx
www.poyero.com
|