MeX (stands for Macro eXpander) is a macro processing tool highly inspired by TeX originally written by Donald E. Knuth.
What IT IS:
- To put it simply, a text transformation tool, somewhat like M4 and T4, but with a syntax very similar to TeX.
- A fast macro processing tool with a minimal memory footprint.
- A work in progress, far from complete.
What IT'S NOT:
- A replacement for TeX or any other digital typesetting system; nor it's meant to be.
- A production-ready solution.
-
Collapse consequent whitespaces. -
Skip line comments (starting with#
). -
Clear shipped tokens from the input buffer. - Use hash-table to speed up token look-up.
- Handle errors and buffer overruns.
MeX is published under GPL-3.0; see LICENSE
for more details.