Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Acceleo/Runtime"

m (runtime)
(Formatting)
Line 5: Line 5:
 
== Compiler ==
 
== Compiler ==
  
The Acceleo compiler can be found in the bundle org.eclipse.acceleo.parser. In this bundle, you can use the class AcceleoParser to parse a "mtl" file and return the root of the "emtl" file. That root can then be serialized in a file with the "emtl" extension.
+
The Acceleo compiler can be found in the bundle org.eclipse.acceleo.parser. In this bundle, you can use the class AcceleoParser to parse a "mtl" file and return the root of the "emtl" file. That root can then be serialized in a file with the "emtl" extension. You can see in the next screenshot a small Java program to call programmatically the Acceleo compiler.
 
+
=== Benchmark ===
+
  
 +
/!\ coming soon /!\
  
 
== Generation engine ==
 
== Generation engine ==
  
=== Benchmark ===
+
The generation engine can launch an Acceleo generation from an Acceleo module and and EMF model. You can see in the next screenshot a small Java program to call the Acceleo engine.
 +
 
 +
/!\ coming soon /!\
 +
 
 +
=== Customization of the generator ===
 +
 
 +
/!\ coming soon /!\
 +
 
 +
=== Embedding the generator ===
  
 +
/!\ coming soon /!\
  
 
== Stand alone ==
 
== Stand alone ==

Revision as of 12:39, 21 January 2011

Runtime

Acceleo is based on three separate components: the compiler, the generation engine and the tooling. The acceleo runtime is composed of the generation engine and the compiler.

Compiler

The Acceleo compiler can be found in the bundle org.eclipse.acceleo.parser. In this bundle, you can use the class AcceleoParser to parse a "mtl" file and return the root of the "emtl" file. That root can then be serialized in a file with the "emtl" extension. You can see in the next screenshot a small Java program to call programmatically the Acceleo compiler.

/!\ coming soon /!\

Generation engine

The generation engine can launch an Acceleo generation from an Acceleo module and and EMF model. You can see in the next screenshot a small Java program to call the Acceleo engine.

/!\ coming soon /!\

Customization of the generator

/!\ coming soon /!\

Embedding the generator

/!\ coming soon /!\

Stand alone

The Acceleo runtime can be used in a stand alone environment without any dependencies to the Eclipse IDE, as such it can be embedded in a good old Java application.



Acceleo Portal
Project Project · Installation
Features Acceleo Features · Runtime · Acceleo editor · Views & Perspective · Interpreter · Maven
User documentation Getting Started · User Guide · Acceleo operations reference · OCL operations reference · Text Production Rules · Migration From Acceleo 2.x · Best Practices · Videos · FAQ
Developer documentation Source code · How to contribute · Compatibility · MOFM2T specification · OCL specification
Community Professional Support · Report a bug

Back to the top