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"

(Introduction)
(100 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== Introduction ==
+
{{Acceleo-Header{{{watch|}}} | title=Acceleo Portal
The Acceleo Project (previously named MTL) is an open source component under the Eclipse Modelling / Model To Text
+
|editpage=Acceleo
(M2T) project [1]. Its primary goal is to provide an implementation of the MOF Model To Text OMG
+
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
standard [2].
+
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
  
<p>You do not need to be an expert to start using the plug-ins:
+
[[Image:Acceleo.png|center]]
using the provided example projects and the powerful completion
+
feature of the Acceleo editor, it is very easy to get started once you
+
understand the basic principles.</p>
+
<p>Concerning the language, almost all of the OMG specification keywords are supported
+
(those marked with an asterisk are not fully supported yet):</p>
+
<pre class="literal-block">
+
module, import, extends, template, query, public, private, protected, guard, init,
+
overrides, each, before, after, for, if, elseif, else, let, elselet, trace*, macro*,
+
file, mode, text_explicit*, code_explicit*, super, stdout
+
</pre>
+
<p>For all the details about these keywords and the MOF Model to Text Language in
+
general, you can consult the official MTL Specification available at the OMG website.</p>
+
  
<a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/jmusset/acceleo-mtl-code-generation?type=powerpoint" title="Acceleo MTL Code Generation">Acceleo MTL Code Generation</a>
+
{{Acceleo-Header{{{watch|}}} | title=Presentation
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
[http://www.eclipse.org/acceleo Acceleo 3] is a code generator implementing of the [http://www.omg.org/spec/MOFM2T/1.0/ OMG's Model-to-text specification]. It supports the developer with most of the [[Acceleo/Features|features]] that can be expected from a top quality code generator IDE: simple syntax, efficient code generation, advanced tooling, features on par with the JDT... Acceleo help the developer to handle the lifecycle of its code generators. Thanks to a prototype based approach, you can quickly and easily create your first generator from the source code of an existing prototype, then with all the features of the Acceleo tooling like the [[Acceleo/Acceleo_Editor#Refactoring|refactoring tools]] you will easily improve your generator to realize a full fledged code generator. Finally, Acceleo can also help you maintain your generator with its [[Acceleo/Debugger|debugger]] and its [[Acceleo/Profiler|profiler]].
 +
{{Acceleo-footer}}
  
== References ==
+
<div style="float:left; width:54.5%;">
* [1] Eclipse [http://www.eclipse.org/modeling/m2t/ Model To Text (M2T) project]
+
{{Acceleo-Header{{{watch|}}} | title=The Acceleo Project
* [2] OMG [http://www.omg.org/docs/ptc/07-08-16.pdf MOF Models to Text Transformation] Language Final Adopted Specification
+
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
[[Image:Logo obeo.png|left|Obeo|100px]]Acceleo is an Eclipse based product created and developed by the Eclipse Strategic Member [http://www.obeo.fr/index.php?lang=en Obeo]. It is included in the Eclipse release train since Eclipse 3.6 Helios.
 +
{{Acceleo-footer}}
 +
 
 +
{{Acceleo-Header{{{watch|}}} | title=History
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
Acceleo.org was created in 2005, and as the time goes, the Team has been more and more convinced that the MOF Model To Text OMG specification was the way to go for the project. We started to code a reference implementation for the standard within the Eclipse M2T project. We have managed to provide nice tooling, simple syntax and efficient code generation with all the pragmatism we had about Acceleo.org. There aren't a lot of differences between the old version of acceleo and the new one.
 +
 +
We are confident that the Acceleo community gain value from moving to a self hosted project to an Eclipse one, and that end users will follow the transfert from Acceleo.org to Eclipse.org as we will provide the same level of functionnalities and we will insure an interoperability between the old syntax and the new syntax (the standard one).
 +
 +
The Acceleo Team will continue to maintain the old syntax of Acceleo outside of eclipse (www.acceleo.org ) for a couple of years, but the new versions and the new features will take place on Eclipse.org. In the next release you'll have an automated tooling helping you to migrate your templates from a syntax to another.
 +
 +
For Acceleo lover, you will find in Eclipse Acceleo everything you have loved in the Acceleo.org version and more (the standard compliance with more documentation).
 +
This specification is really a good one : http://www.omg.org/spec/MOFM2T/1.0
 +
{{Acceleo-footer}}
 +
 
 +
{{Acceleo-Header{{{watch|}}} | title=Tutorials
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
On this wiki, you will also find links to Acceleo [[Acceleo/Tutorials|tutorials]] in which beginner will be able to see some concrete use case of code generation and acquire good practices for the realization of Acceleo generators. People already familiar with Acceleo will be able to learn some tricks and to discover the brand new features of the new versions of Acceleo.
 +
{{Acceleo-footer}}
 +
</div>
 +
 
 +
<div style="float:right; width:45%">
 +
{{Acceleo-Header{{{watch|}}} | title=Features
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
Acceleo has been created with the objective of having the best tooling possible to generate code. As such, Acceleo possess several key features like an editor with syntax highlighting, errors detection, completion, refactoring etc. This editor is helped by a debugger, a profiler, and a traceability API which allow us to show the user the elements from its input models and the region of its generators that have been involved in the generation of a selected element. The features available in Acceleo can be found [[Acceleo/Features|here]]. On this page, you can also find some of the exciting new features that we want to bring in the next release of Acceleo.
 +
{{Acceleo-footer}}
 +
 
 +
{{Acceleo-Header{{{watch|}}} | title=Documentation
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
Documentation for Acceleo is composed of a [http://www.obeonetwork.com/group/acceleo/page/acceleo-3-1-0-user-guide User Guide] and the operations reference for the [[Acceleo/Acceleo_Operations_Reference|Acceleo library]] and the [[Acceleo/OCL_Operations_Reference|OCL library]]. The operations reference is also included in the Help Content of Eclipse; in your Eclipse, go to Help => Help Contents and navigate to the Acceleo Model To Text section. The very same help is accessible online on the [https://help.eclipse.org/topic/org.eclipse.acceleo.doc/pages/index.html?cp=5 Eclipse help center].
 +
The documentation for the Acceleo Query Language (AQL) used with Sirius [https://www.eclipse.org/acceleo/documentation/ is published here]
 +
{{Acceleo-footer}}
 +
 
 +
{{Acceleo-Header{{{watch|}}} | title=Community
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
[[Image:Community.png|left|Community]]
 +
Acceleo is an Eclipse based generator but it is also a community, and you can find the Acceleo community on the [[Acceleo/Forums|forums]].
 +
{{Acceleo-footer}}
 +
 
 +
{{Acceleo-Header{{{watch|}}} | title=Videos and presentations
 +
|editpage=Acceleo
 +
|border=#A3BFA3          <!-- H120 S15 V75 the color of the borders around Box Sections -->
 +
|titleforeground=black    <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#009270  <!-- H120 S40 V85 the color of the Box Section Title Bar -->
 +
|background=#F5FFF5      <!-- H120 S4 V100 the color of the Box Section background -->
 +
|foreground=black}}      <!-- This is the color of the Box Section text -->
 +
[[Image:Video.png|left|Videos]] You will find on this wiki some [[Acceleo/Videos|videos]] of Acceleo [[Acceleo/Presentations|presentations]] and [[Acceleo/Tutorials|tutorials]] realized by members of the Acceleo dev' team or users of Acceleo. During those videos you will be able to all the features of the new versions of Acceleo and good practices for the realization of code generators. You will also find links to powerpoint or pdf presentation of Acceleo created for Eclipse conferences.
 +
{{Acceleo-footer}}
 +
</div>
 +
 
 +
 
 +
{{Acceleo-footer}}
 +
 
 +
 
 +
{{Acceleo-index}}
 +
 
 +
[[Category:Modeling]]
 +
[[Category:M2T]]
 +
[[Category:Acceleo]]

Revision as of 10:31, 22 June 2017

Acceleo Portal


Acceleo.png

Presentation

Acceleo 3 is a code generator implementing of the OMG's Model-to-text specification. It supports the developer with most of the features that can be expected from a top quality code generator IDE: simple syntax, efficient code generation, advanced tooling, features on par with the JDT... Acceleo help the developer to handle the lifecycle of its code generators. Thanks to a prototype based approach, you can quickly and easily create your first generator from the source code of an existing prototype, then with all the features of the Acceleo tooling like the refactoring tools you will easily improve your generator to realize a full fledged code generator. Finally, Acceleo can also help you maintain your generator with its debugger and its profiler.


The Acceleo Project

Obeo
Acceleo is an Eclipse based product created and developed by the Eclipse Strategic Member Obeo. It is included in the Eclipse release train since Eclipse 3.6 Helios.


History

Acceleo.org was created in 2005, and as the time goes, the Team has been more and more convinced that the MOF Model To Text OMG specification was the way to go for the project. We started to code a reference implementation for the standard within the Eclipse M2T project. We have managed to provide nice tooling, simple syntax and efficient code generation with all the pragmatism we had about Acceleo.org. There aren't a lot of differences between the old version of acceleo and the new one.

We are confident that the Acceleo community gain value from moving to a self hosted project to an Eclipse one, and that end users will follow the transfert from Acceleo.org to Eclipse.org as we will provide the same level of functionnalities and we will insure an interoperability between the old syntax and the new syntax (the standard one).

The Acceleo Team will continue to maintain the old syntax of Acceleo outside of eclipse (www.acceleo.org ) for a couple of years, but the new versions and the new features will take place on Eclipse.org. In the next release you'll have an automated tooling helping you to migrate your templates from a syntax to another.

For Acceleo lover, you will find in Eclipse Acceleo everything you have loved in the Acceleo.org version and more (the standard compliance with more documentation). This specification is really a good one : http://www.omg.org/spec/MOFM2T/1.0


Tutorials

On this wiki, you will also find links to Acceleo tutorials in which beginner will be able to see some concrete use case of code generation and acquire good practices for the realization of Acceleo generators. People already familiar with Acceleo will be able to learn some tricks and to discover the brand new features of the new versions of Acceleo.

Features

Acceleo has been created with the objective of having the best tooling possible to generate code. As such, Acceleo possess several key features like an editor with syntax highlighting, errors detection, completion, refactoring etc. This editor is helped by a debugger, a profiler, and a traceability API which allow us to show the user the elements from its input models and the region of its generators that have been involved in the generation of a selected element. The features available in Acceleo can be found here. On this page, you can also find some of the exciting new features that we want to bring in the next release of Acceleo.


Documentation

Documentation for Acceleo is composed of a User Guide and the operations reference for the Acceleo library and the OCL library. The operations reference is also included in the Help Content of Eclipse; in your Eclipse, go to Help => Help Contents and navigate to the Acceleo Model To Text section. The very same help is accessible online on the Eclipse help center. The documentation for the Acceleo Query Language (AQL) used with Sirius is published here


Community

Community

Acceleo is an Eclipse based generator but it is also a community, and you can find the Acceleo community on the forums.


Videos and presentations

Videos
You will find on this wiki some videos of Acceleo presentations and tutorials realized by members of the Acceleo dev' team or users of Acceleo. During those videos you will be able to all the features of the new versions of Acceleo and good practices for the realization of code generators. You will also find links to powerpoint or pdf presentation of Acceleo created for Eclipse conferences.




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