3 ms·
Typically TeX is translated from Pascal to C too, via web2c. But there also is a Pascal to WASM compiler out there, which was written specifically for TeX: ht
by dunham 2y ago
Typically TeX is translated from Pascal to C too, via web2c.
But there also is a Pascal to WASM compiler out there, which was written specifically for TeX:
https://github.com/kisonecat/web2js https://github.com/kisonecat/web2js
TeX itself is only about 500kb of wasm, uncompressed, but the memory images with LaTeX loaded are quite a bit larger.