Mixing an xtext DSL with Java [message #489776] |
Mon, 05 October 2009 21:20 |
Eclipse User |
|
|
|
Originally posted by: nomail.email.com
Hi,
I'm new to xtext, I've just spent a few hours playing with grammars and
for now I'm very pleased with it, it's a very neat tool that makes
creating your DSL very easy.
That being said, I'm a bit stuck with my last twisted idea : having a
dsl where you can write java code at some places, maybe by reusing the JDT.
For example something like this :
StateMachine(
State one( do{/* some java code here */}, call(two) )
State two( ... )
)
Do you think my idea is impossible? really hard to implement? or does
xtext already provides some facilities to do this kind of things?
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02931 seconds