It’s heavily inspired by both TeX and Emacs, hence why it’s named after both of those. As if the author had added the best aspects of the two and then some.