Alternative deployment scenarios
How can I deploy my DSL, once developed and tested with Spoofax, to the “outside” world?Submitted by Christian Lerch on 7 February 2012 at 13:06
With “outside” world I mean usages independed of the Eclipse environment, e.g. as a component in a standalone (think batch-style) Java project, without all these nice editing features.
What I would need there is just the parser and a code generator.
The transformation I have in mind would be from a (proprietary) linear-text mathematical authoring language to an XML-type language like MathML.
I’ve done this before using ANTRL and later on the Rats! PEG parser generator (see: http://km-works.eu/mathel-interactive/ for a preview application), but had to experience a lot of dissatisfaction and frustration, when it came to change and extend the source language. Using these tools my DSL became very soon unmaintainable.
After reading some encouraging things about SDF/SGLR I wanted to give it a try.