Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Grmr2JavaReport

Revision as of 10:48, 24 May 2008 by Unnamed Poltroon (Talk)

Generation of Java from Grammar file

This article describes the issues encountered, while working on the generation of Java code from a grammar file using Gymnast, Emfatic and Grammar2Ecore frameworks.

Initial conditions

  1. Eclipse plug-in project with a grammar file (SVG5.ast) is open as shown in Figure 1
  2. srcGymnast (in Figure 1) is the source folder to which Gymnast runtime core plug-in is added manually. Please refer "Bugzilla entry 233805"
Grmr2JavaReport1.jpg
Figure 1 Project Explorer view
  1. Dependent Plug-ins are added in the MANIFEST.MF file. Right clicking on the grammar file shows options like 'Generate .genmodel and Java', 'Generate .genmodel' etc. Please refer Figure 2
Grmr2JavaReport2.jpg
Figure 2 Context menu for grammar file

Back to the top