DevBooststLogotudLogorewerseLogo modelplexLogo
crimsonBG
EMFText
The fastest way to refinable, durable and evolution-resistant textual syntaxes for EMF models!

TextEcore: Metamodeling within the EMF

TextEcore: A textual syntax for EMF's meta modelling language (similar to Emfatic).

Screenshot

EMFText Language Ecore.gif

Ecore TEXT also supports import of other Ecore models using a dedicated @"import" annotation:

 @"import"("prefixFoImportedModel"="pathToImportedECoreFile")

Example:

  • Model to import: imported.text.ecore
 package imported 
         imported 
         "http://org.test/imported.ecore" {
 
   class A {
   }
 }
  • Importing model: Model to importing.text.ecore
 @"import"("imported"="imported.text.ecore")
 package importing 
         importing
         "http://org.test/imported.ecore" {
 
   class B extends imported::A {
   }
 }


CS Specification

text.ecore.cs

Metamodel

The Ecore metamodel can be found in the EMF plug-in 'org.eclipse.emf.ecore' in the folder 'model'.

Plugins

org.emftext.language.ecore.resource

org.emftext.language.ecore.resource.text

org.emftext.language.ecore.resource.text.ui

CW