Created
May 25, 2011 20:04
-
-
Save adilakhter/991799 to your computer and use it in GitHub Desktop.
spoofaxlang-example1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lang.entity | |
module syntax-definition | |
context-free start-symbols | |
Start | |
context-free syntax | |
"module" ID Definition* -> Start {cons("Module")} | |
"entity" ID "{" Property* "}" -> Definition {cons("Entity")} | |
Type ID -> Property {cons("Property")} | |
ID -> Type {cons("Type")} | |
module lang-description | |
language General properties | |
name : entity-lang | |
id : entity-lang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment