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

Toy Language: Simple Math Expressions

A language that shows how to define syntax for simple arithmetic expressions. The syntax uses @Operator annotations to define the priority of different arithmetic operators. It does also include an interpreter which computes the value of the expression.

Contents

Screenshot

Image:EMFText_Language_SimpleMath.gif

CS Specification

simplemath.cs

Metamodel

simplemath.ecore

simplemath.genmodel

Plugins

org.emftext.language.simplemath

org.emftext.language.simplemath.resource.sm

org.emftext.language.simplemath.resource.sm.ui

org.emftext.language.simplemath.test

SK

Retrieved from "http://www.emftext.org/index.php/EMFText_Concrete_Syntax_Zoo_Simple_Math"

This page has been accessed 613 times. This page was last modified 09:33, 7 July 2010.