[m-users.] Free and Ground in the same error line?
Sean Charles (emacstheviking)
objitsu at gmail.com
Wed Nov 1 02:34:27 AEDT 2023
> The lexer for Mercury was adapted from an existing one for Prolog. Both were intended
> to be used to implement their respective language, for which preserving comments
> would have been a hindrance rather than help.
Which is exactly the reason my transpiler also junks comments at the lexer stage too!
> The problem of what to do with comments in prettyprinters is quite old.
[snip]
> far too many projects grow their own incompatible comment conventions.
> See Javadoc for a successful attempt at this. For Mercury, it is too late.
>
> Zoltan.
Absolutely agree.
More information about the users
mailing list