AST constructor name and arity checks in editor across Spoofax metalanguages
The constructors are the glue between the metalanguages, having these checked in the editor would save a lot of unnecessary builds. What is preventing this feature?
Submitted by Danny Groenewegen on 29 August 2014 at 17:08
Issue Log
There is currently no proper support for referring to names or types of different languages. On the API level, there is some support, because all languages in the same project share the same index and task engine. But on the meta-language level there is no support, for example, it is not possible to refer to a definition in a different language in NaBL.
Another problem is that analysis is executed for each language separately, for example NaBL could be analysed before SDF3, meaning no constructors are available yet, causing many errors. The errors will be corrected after SDF3 is analysed though, because that incrementally schedules analysis in NaBL again, but you will temporarily see errors, and it is less efficient.
A separate problem is referring to name and types outside the project, there is no support at all for that at the moment.
Log in to post comments