Conceptual separation between builders and menu entries
Builders are currently specified as menu entries. The specified text is used to label menu entries in Eclipse (and IntelliJ, I assume), but also to identify builders in the Spoofax API and SPT tests. Conceptually, menu entries are UI elements. Their appearance could actually be user-configurable, for example, to support internationalisation. In contrast, builder names in tests and in API usage should not depend on the appearance in a menu entry.
Menu entries are bound to a strategy, which implements a builder. It would be better to use this strategy name to identify a builder. In general, a conceptual distinction between builders and menu entries is missing. This would also allow to bind UI elements of other Spoofax backends to builders, for example flags for command-line tools.Submitted by Guido Wachsmuth on 28 June 2016 at 16:12
Log in to post comments