News for hackers. Stuff that matters.
Re:Problems with math rendering on the web (2020) by svalorzen on Sunday June 27, 2021 @09:17PM (#27657097)
Sorry to sidetrack, but I'm also interested in implementing a Tex engine (in another language though). Any suggestions on how to learn how an engine works?
Re:Problems with math rendering on the web (2020) by xvilka on Sunday June 27, 2021 @10:07PM (#27657379)
You could also check the implementation in Rust - fully "oxidized" fork[1] of Tectonic.

[1] https://github.com/crlf0710/tectonic/

Re:Problems with math rendering on the web (2020) by kisonecat on Sunday June 27, 2021 @09:30PM (#27657174)
TeX's source code is available in a "literate" format, so you can download tex.web, run weave tex.web, and then pdftex tex.tex. This will produce a large book with the TeX source code. A challenge is that the resulting TeX engine won't support LaTeX3, so you'll need to use "changefiles" to modify tex.web to add epsilon-TeX and other updates.