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 "TMF"

(moved old page to TMF/LongRunPlans, wrote something more overview like)
Line 2: Line 2:
 
It hosts two different framework for implementation of textual syntax for EMF models (aka Ecore models).
 
It hosts two different framework for implementation of textual syntax for EMF models (aka Ecore models).
  
= TCS =
+
= [[TCS]] =
 
[[TCS]] (Textual Concrete Syntax) comes from GMT.
 
[[TCS]] (Textual Concrete Syntax) comes from GMT.
 
With TCS one annotates concrete syntax information to existing ecore models.  
 
With TCS one annotates concrete syntax information to existing ecore models.  
 
The editor is not generated but interpreted.
 
The editor is not generated but interpreted.
  
= Xtext =
+
= [[Xtext]] =
 
[[Xtext]] is a part of the openArchitectureWare framework, but is now developed under modeling.tmf.xtext. It still will be a part of future openArchitectureWare releases.
 
[[Xtext]] is a part of the openArchitectureWare framework, but is now developed under modeling.tmf.xtext. It still will be a part of future openArchitectureWare releases.
 
With Xtext one can also write grammars for existing meta models. In addition it is possible to derive ecore models from grammars, since a grammar contains sufficient information about the structure of parsed models.
 
With Xtext one can also write grammars for existing meta models. In addition it is possible to derive ecore models from grammars, since a grammar contains sufficient information about the structure of parsed models.

Revision as of 10:11, 11 November 2008

The Textual Modeling Framework (TMF) is an umbrella project under the Eclipse Modeling Project (EMP). It hosts two different framework for implementation of textual syntax for EMF models (aka Ecore models).

TCS

TCS (Textual Concrete Syntax) comes from GMT. With TCS one annotates concrete syntax information to existing ecore models. The editor is not generated but interpreted.

Xtext

Xtext is a part of the openArchitectureWare framework, but is now developed under modeling.tmf.xtext. It still will be a part of future openArchitectureWare releases. With Xtext one can also write grammars for existing meta models. In addition it is possible to derive ecore models from grammars, since a grammar contains sufficient information about the structure of parsed models. Xtext implements EMF's resource API (it is possible to use xtext based syntax transparently through the resource load and save functionality, hence you can use e.g. GMF editors for Xtext based DSLs). Xtext also generates a rich IDE for your language, which can be easily customized via dependency injection.

Future Plans

It is intended that at some point there will be only one framework instead of two. Requirements and thoughts can be discussed here

Back to the top