Emfatic Getting Started Guide

by Chris Daly (cjdaly@us.ibm.com)
Copyright IBM Corp. 2004




Emfatic is a language designed to represent EMF Ecore models in a textual form.  This document shows the basic steps involved in working with Emfatic.

Please see the Emfatic Language Reference for a full explanation of the syntax and sematics of the Emfatic language.

In this document, Emfatic programs are shown in boxes as in the example below:

package test;
class Foo { }

When compiled, the program above will produce a model with an EPackage named "test" containing a single EClass named "Foo".

Let's go ahead and create an Emfatic file with the above source code:
Now you should see a new file called "test.ecore" in the Navigator (In the same folder as test.emf).  Try the following:
Look at test.emf again.  It should now look something like this:

package test;

class Foo {
}

abstract class Bar {
}


You have now seen the basic steps involved in working with Emfatic.

Here are a few key points to stress: