zonnon4java-developers Mailing List for Zonnon Compiler for java
Status: Pre-Alpha
Brought to you by:
guigra
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
---|
From: guigra g. <gu...@gm...> - 2008-09-16 16:29:07
|
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) Fill inXXX and outXXX methods to analyze type on assignations, comparations... You need a SymbolTable (class or List )for this. 5º Generate XML code, extends from DepthFirstAdapter class(generate by Sablecc) Use TableSymbol , and create xml file. Fill inXXX and outXXX methods , use System.out.println() to write. 6º Validate xml generate with dtd: Xml validator is easy with dom or sax tools. I create a parser to it. ZonnonENGINE: RoadMap: More info: http://zonnoncompilerforjava.blogspot.com/ http://www.zonnon.ethz.ch/index.html -- "Jamás aceptaría pertenecer a un club que me admitiera como socio" Groucho Marx www.poyero.com -- "Jamás aceptaría pertenecer a un club que me admitiera como socio" Groucho Marx www.poyero.com |
From: guigra g. <gu...@gm...> - 2008-09-16 16:18:55
|
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 |