Providing an Xtext project as (self-contained) library [message #652620] |
Fri, 04 February 2011 18:08 |
Franz-Stefan Mising name Messages: 12 Registered: December 2010 |
Junior Member |
|
|
Hi, in the last weeks I have developed an Xtext project for my own DSL that supports complex expressions similar to the ones of the Arithmetics example: org.eclipse.xtext.example.arithmetics.
On top of my language I then have (amongst others):
a) established a type system by means of the Xtext typesystem framework ( http://code.google.com/a/eclipselabs.org/p/xtext-typesystem/), and
b) created an interpreter (by means of the PolymorphicDispatcher) that evaluates a given expression to a concrete value.
(Thanks to the excellent Xtext documentation all this went very well btw :-)
Now there is the requirement that I have to offer the evaluation functionality of my interpreter (and ideally also the type validation functionality) to a customer.
Our customer is running his own (Java web-)server infrastructure and this one needs to call a method of my interpreter class (thus, there is no Eclipse running).
So, my main question is now: How can I provide my functionality to our customer??
I have test cases that simulate all necessary function calls in standalone mode, I just don't know how I can 'ship' my application to the customer.
Ideally, I could create a (possibly self-contained) library in the form of a jar-file (or, multiple jar-files) that contains my project and that I give to our customer.
Clearly, this library would have to contain parts of EMF and Eclipse (as the DSL model is based on EMF and EMF depends on Eclipse) but that is fine as long as it is working.
Would it be possible to create such a library? If not, does anybody have suggestions on how I can solve my problem?
Thank you!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03760 seconds