Johan Johan - 1 year ago 91
Scala Question

xtext: Generate Scala stubs from workflow

Can I use Scala instead of xtend when developing a DSL using Xtext?

I want to use Scala to interact with Isabelle and limit the number of languages I use.

Answer Source

you would actually have to exchange all generator fragments to generate native scala stubs so i recomment you generate java stubs and create and bind scala subclasses manually

code = {
    preferXtendStubs = false
    encoding = "UTF-8"
    fileHeader = "/*\n * generated by Xtext \${version}\n */"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download