Re: [m-users.] Free and Ground in the same error line?
Volker Wysk <[email protected]> Mon, 30 Oct 2023 11:53:24 +0100
| Newsgroups | gmane.comp.lang.mercury.general |
|---|---|
| Message-ID | <[email protected]> |
Am Samstag, dem 28.10.2023 um 16:59 +0100 schrieb Sean Charles (emacstheviking): > > On 28 Oct 2023, at 16:53, Tomas By <[email protected]> wrote: > > > > On Sat, 28 Oct 2023 17:29:13 +0200, Sean Charles (emacstheviking) wrote: > > > I've also been contemplating making a command line tool out of the > > > term-rewriting example code > > > > This is a good idea, it is very easy in Mercury, with the token & > > parser libraries. > > The file I played with was 'expand_term.m' in the samples folder. Perhaps > I might try to tinker with it and find a little job for it in this > evenings hack session on my transpiler... this might be the red pill > though...... Wow! This looks really powerful. It looks like it would be easy to parse and do something with Mercury source code. For instance, make a pretty printer for interface documentation. Or internationalization. Or gather statistics... Cheers Volker _______________________________________________ users mailing list [email protected] https://lists.mercurylang.org/listinfo/users