Skip to main content



      Home
Home » Modeling » TMF (Xtext) » How to enable running functionality in a new dsl
How to enable running functionality in a new dsl [message #1771084] Mon, 21 August 2017 14:59 Go to next message
Eclipse UserFriend
Hi,
I searched through internet and couldn't find any documentation on implementing running functionality for a newly created dsl using xtext. Can you provide some reference for this?

Thank you.
Re: How to enable running functionality in a new dsl [message #1771088 is a reply to message #1771084] Mon, 21 August 2017 15:56 Go to previous messageGo to next message
Eclipse UserFriend
what do you mean by "running functionality"?
Re: How to enable running functionality in a new dsl [message #1771106 is a reply to message #1771088] Mon, 21 August 2017 23:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
How the user can run the .mydsl file, for example like running java and get an output?
Thank you.
Re: How to enable running functionality in a new dsl [message #1771122 is a reply to message #1771084] Tue, 22 August 2017 03:33 Go to previous messageGo to next message
Eclipse UserFriend
You can either implement a code generator that produces executable code (e.g. Java, but could be any target language) or write an interpreter. Both have to be implemented manually. For code generation you have already a stub.
Re: How to enable running functionality in a new dsl [message #1771259 is a reply to message #1771122] Wed, 23 August 2017 08:57 Go to previous message
Eclipse UserFriend
Hi,
Thank you very much for the information.
Previous Topic:SecurityException when I use my modified org.eclipse.xtext to run "Generate Xtext Artifacts&
Next Topic:How to infer a method with generics?
Goto Forum:
  


Current Time: Thu Jul 17 03:48:29 EDT 2025

Powered by FUDForum. Page generated in 0.07760 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top