[Xbase] Scripting Language [message #1411159] |
Fri, 22 August 2014 14:38 |
Eclipse Guest Messages: 93 Registered: February 2013 Location: Vienna |
Member |
|
|
Hello to everyone. I'm a student. At the moment i would like to implement the "Scripting Language" for Xtext illustrated in the official guide.
I'm using the last version of Eclipse (Luna) with Xtext and Xbase 2.6
In the tutorial we have the specification of Xbase libraries instead of Terminals, the import of Xbase libraries from "http://www.eclipse.org/xtext/xbase/Xbase" and the definition of the model "Script"
Script returns XBlockExpression
{Script}
(expressions += XExpressionsInsideBlock ';'?)*;
After that i wrote the grammar, i obtained this error
"XExpressionsInsideBlock" cannot be resolve as a rule
I would like to define a tiny version of Java with the basic type and basic operators,
without definition of class.
Can i resolve this problem?
Thank you
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03508 seconds