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

Difference between revisions of "Xtext/Galileo"

(Formatting)
(TMF Xtext 0.7.0: typos and formatting)
Line 1: Line 1:
 
= TMF Xtext 0.7.0 =
 
= TMF Xtext 0.7.0 =
  
Xtext is a framework used to develop textual, EMF-based domain-specific languages (DSL). TMF
+
''Xtext'' is a framework used to develop textual, EMF-based domain-specific languages (DSL). ''TMF
Xtext is a complete rewrite of the currently released version known from openArchitectureWare
+
Xtext'' is a complete rewrite of the currently released version known from openArchitectureWare
(oAW Xtext). Itʼs not compatible with oAW Xtext. However, many concepts are obviously very
+
(''oAW Xtext''). ''TMT Xtext'' is not compatible with ''oAW Xtext''. However, many concepts are obviously very
similar. At itʼs heart Xtext itself provides a DSL (the grammar language) used to describe the
+
similar. At its heart, ''Xtext'' itself provides a DSL (the grammar language) used to describe the
 
concrete and abstract syntax of a DSL.
 
concrete and abstract syntax of a DSL.
  
Line 11: Line 11:
 
top.
 
top.
  
Based on a grammar Xtext offers language-specific functionality such a parsers, printers, editors
+
Based on a grammar, ''Xtext'' offers language-specific functionality such a parsers, printers, editors
and other tooling stuff. Xtext comes with simple but reasonable default implementations of common
+
and other tooling stuff. ''Xtext'' comes with simple but reasonable default implementations of common
 
language aspects (such as scoping and linking), but also provides the necessary hooks to change
 
language aspects (such as scoping and linking), but also provides the necessary hooks to change
 
the behavior of all kinds of things if needed.
 
the behavior of all kinds of things if needed.

Revision as of 14:12, 14 February 2009

TMF Xtext 0.7.0

Xtext is a framework used to develop textual, EMF-based domain-specific languages (DSL). TMF Xtext is a complete rewrite of the currently released version known from openArchitectureWare (oAW Xtext). TMT Xtext is not compatible with oAW Xtext. However, many concepts are obviously very similar. At its heart, Xtext itself provides a DSL (the grammar language) used to describe the concrete and abstract syntax of a DSL.

The main focus of the rewrite is to improve overall performance and scalability. It is also a major goal to have stable and simple Java API, and provide different convenient APIs and DSLs on top.

Based on a grammar, Xtext offers language-specific functionality such a parsers, printers, editors and other tooling stuff. Xtext comes with simple but reasonable default implementations of common language aspects (such as scoping and linking), but also provides the necessary hooks to change the behavior of all kinds of things if needed.

Feature Map (2009/01/26)

  Planned Done oAW Xtext
Grammar Actions x x -
Enum Rules x - x
Data type rules x x o
(String only)
Grammar Modularization x x -
Terminal rules x x o
(black box)
Fragments x - -
Parsing Construction of parse tree x x x
Construction of model x x x
Serializing Basic serialization x x -
API for pretty-printing x x -
EMF integration Generates ecore x x x
Integration of EMF generator x o -
Generates multiple ecore x x -
Imports/reuses existing ecore x x o
(experimental)
Generate and import in same Grammar x x -
EMF Resource implementation x x o
(read-only)
EMF Validation support x x x
Xpand/Xtend-API Checks for Validation x x x
Xtend API for Code Completion x x o
(mandatory)
Xtend API for linking and scoping x - o
(mandatory)
Editor Lexical Syntax Coloring x x x
Semantic Syntax Coloring - - -
Code Completion x x x
Template proposals x x -
Autoedit - - -
Folding - - x
Go To Declaration x - x
Hyperlinking x - x
Formatting x - -
Outline View x x x
Viewpoints for Outline View - - x
IDE Model Index - - -
Rename Refactoring - - -
Open Model Element - - -
Find References - - o
(only local)
- = not implemented
o = incomplete
x = complete

Back to the top