Re: [m-users.] Free and Ground in the same error line?

"Sean Charles (emacstheviking)" <[email protected]> Tue, 31 Oct 2023 15:34:27 +0000
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
> 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.
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users