Skip to content

aslrousta/mex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeX

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.

TODO

  • 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.

License

MeX is published under GPL-3.0; see LICENSE for more details.