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

Volker Wysk post at volker-wysk.de
Mon Oct 30 21:53:24 AEDT 2023


Am Samstag, dem 28.10.2023 um 16:59 +0100 schrieb Sean Charles
(emacstheviking):
> > On 28 Oct 2023, at 16:53, Tomas By <tomas at basun.net> 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


More information about the users mailing list