From: Rafal Kolanski <rafalk@cse.unsw.edu.au>
Hi Everyone,
I managed to solve this eventually by grepping through the HOL theories
(couldn't figure it out from the docs).
So for anyone googling "translations type variable" the solution is:
translations
"pptr a" <=(type) "(32 word,a) pptr_t"
(note the "a" is on the right despite eventually being printed on the left)
This will cause:
typ "(32 word, nat) pptr_t"
to be printed as "nat pptr".
Sincerely,
Rafal Kolanski.
Rafal Kolanski wrote:
Last updated: Nov 21 2024 at 12:39 UTC