Integrate the concrete syntax mixin grammar generator
- Spoofax/200: Add interactive disambiguation quick fixes
- Spoofax/55: Add better support for using concrete object syntax
Suggestions about how to integrate this into the UI would be welcome! (addedSubmitted by Lennart Kats on 7 July 2010 at 10:37
I hear there’s a paper about that, which has some suggestions and screenshots. To be published on SLE I think. Keep an eye out for that.
Yeah, I actually glanced over it a bit. I really liked the idea of using quick fixes for disambiguation and made a feature request for it (Spoofax/200). But they don’t seem to say anything about the user interface for actually creating grammars :( I think they just use some kind of command-line tool…
So how could we support concrete syntax in an Eclipse-like fashion? With some kind of wizard, perhaps? Wizards are always good. Would it create a separate project for the composite language, or merge into one project? If it’s just a
Stratego-*grammar, it doesn’t matter where you put it really.
Other ways for creating a concrete object syntax embedding are to use some DSL that describes the embedding. Maybe even create a Stratego header that says which languages you want to import. But we may want to start with something simpler than that?
Log in to post comments