Re: Beginners question

[email protected] Tue, 12 Sep 2023 22:02:37 +0200
Newsgroups gmane.comp.tex.metapost
Message-ID <trinity-b45d511a-4031-46a9-b9cb-35359f2ae943-1694548957734@3c-app-gmx-bap09>
> q := p * t;

This wouldn't be valid MF or MP either.  It would have to `p transformed t', as you may know.  This would be the corresponding valid
MF or MP code:

transform t;
t = identity scaled 2.5;
pair p, q;
p = (1, 3);
q = p transformed t;
end

I don't think MF provides a tracing command that will show the parser rules as they shift and reduce (more jargon), but I could be wrong.
--
http://tug.org/metapost/