Implicit sorts section possible?
Would it be possible and reasonable to generate the sorts section in sdf files implicitly?Submitted by Otto Hausbacher on 23 August 2010 at 12:34
sortssections are currently not compulsory. Originally, the command-line SDF checker would issue warnings every time you used a sort that was not in the
sortssections, or when you listed a sort in a
sortssection that was never used. Writing and maintaining the
sortssections gets tedious, so many people chose not to do it and ignored the warnings. In Spoofax, they’re only used as documentation and as a content completion aid. I hope that answers your question.
Log in to post comments