Global architecture of JJForester: : jjf-arch.jpg Ellipses are tools. Shaded boxes are generated code.

JJForester takes a grammar defined in SDF as input, and generates Java code. In parallel, the parse table generator PGEN is called to generate a parse table from the grammar. The generated code is compiled together with code supplied by the user. When the resulting byte code is run on a Java Virtual Machine, invocations of parse methods will result in calls to the parser SGLR. From a given input term, SGLR produces a parse tree as output. These parse trees are passed through the parse tree implosion tool ImplodeAsFix? to obtain abstract syntax trees.

Revision: r1.4 - 10 Feb 2004 - 09:14 - MartinBravenboer
Tools > JJForesterArchitecture
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback