broken transformation "Show abstract syntax signature"
Running the transformation “Show abstract syntax signature (for selection)” for an SDF file gives a constant error message: “Could not generate abstract syntax signatures for this selection. Only productions with {cons()} attributes are supported.”
Gives the same error for no selection as well as for a single production with a cons attribute.
Submitted by Guido Wachsmuth on 19 May 2010 at 13:47
Issue Log
Yes, I think this worked only one time when I tested it when I was still writing those builders. (Wanted to test the new builders feature ;) This builder should be fixed or removed.
Fixing would be nice for the compiler course.
It seems sdf2rtg really only works for selections that include start symbols. Allowing it to work on single productions would require a different approach. Maybe something needs to be changed in core-rtg2sig.str, or perhaps one of the helper strategies there should be called directly. Delaying this for a later version for now.
This builder is no longer provided by the SDF editor.
Log in to post comments