Wendsja
Wendsja

Reputation: 31

How to use XBaseInterpreter in Xtext?

can someone tell me, how i can use "xbaseinterpreter"? I have no idea :(

I have written a DSL used to define simple protocol-structure for a sensornet, the goal of the work is to check if a data-message(as Instance) belongs to any user-defined structure. I want to use an interpret to analyze the user-defined structure and write the corresponding information into my database directly. I thought, xbaseinterpreter is just the one i can use, but i could not find much more useful information about it.

can one use the inferred JvmModel in the interpreter?How?

Thank you

Upvotes: 3

Views: 821

Answers (1)

Sven Efftinge
Sven Efftinge

Reputation: 3095

See the tortoise language as a working example of how to use xbase and the interpreter.

http://eclipse.org/Xtext/documentation/208_tortoise.html

Upvotes: 2

Related Questions