The problem with this is that TeX cannot be described using a context-free grammar (CFG). Knuth has discussed this in the past. So, building a compiler for TeX is almost impossible.
> The problem with this is that TeX cannot be described using a context-free grammar (CFG). Knuth has discussed this in the past. So, building a compiler for TeX is almost impossible.
Neither can C++[0], yet there still are C++ compilers out there. It does raise the bar significantly, though.
Neither can C++[0], yet there still are C++ compilers out there. It does raise the bar significantly, though.
[0] http://stackoverflow.com/a/14589567