Java |
Top Previous Next |
Examples > Java
You should know the most essential operation elements of TETRA.
Problem definition:
The programming language Java 1.4 shall be parsed.
TETRA Program:
The project is an adaptation of a Coco/R project:
http://www.ssw.uni-linz.ac.at/Research/Projects/Coco/Java/JavaGrammar.html
The TextTransformer Java.ttp project is in the directory:
\TextTransformer\Examples\Java
In this project look-ahead productions are used and some special variants of looking ahead are explained. The use of the tree wizard and of the function table wizard is demonstrated step by step. First the code for the creation of a parse tree is generated and then a simple transformation program (copying program) will be made.
|
This page belongs to the TextTransformer Documentation |
Home Content German |