Re: [m-users.] Parsing source files / tem-rewriting

Volker Wysk <[email protected]> Wed, 14 Aug 2024 20:00:18 +0200
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Am Mittwoch, dem 14.08.2024 um 18:29 +0100 schrieb Sean Charles
(emacstheviking):
> Hi,
> 
> There was an example of term rewriting but I cannot seem to find it
> anywhere!
> 
> Is there any code I can leverage to scan a .m file and produce an AST or
> at least scan the terms... I know the rewrite example pretty has all the
> answers I need but I just can't find it.

I think you mean samples/expand_terms.m.

Cheers,
Volker
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users