Hacker News new | ask | show | jobs
by Kristine1975 3553 days ago
> I don't know enough about TeX to know much about its internal representation post-parsing.

IIRC it's a stream of tokens. A token can be a character, a built-in command, a macro etc. During processing of this token stream macros are "expanded", i.e. replaced with their definition (recursively). It is possible to control this expansion process using built-in commands.