简体   繁体   English

如何在Xtext中使用XBaseInterpreter?

[英]How to use XBaseInterpreter in Xtext?

can someone tell me, how i can use "xbaseinterpreter"? 谁能告诉我,我怎么能用“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. 我编写了一个用于定义传感器网络简单协议结构的DSL,其工作目标是检查数据消息(如实例)是否属于任何用户定义的结构。 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. 我想,xbaseinterpreter只是我可以使用的那个,但我找不到更多有用的信息。

can one use the inferred JvmModel in the interpreter?How? 可以在解释器中使用推断的JvmModel吗?怎么样?

Thank you 谢谢

See the tortoise language as a working example of how to use xbase and the interpreter. 请参阅乌龟语言作为如何使用xbase和解释器的工作示例。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM