Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have you seen this one: https://github.com/kisonecat/web2js

It's TeX in wasm implemented by writing a pascal to wasm compiler, which seemed like a novel approach. (TeX is written in pascal and typically translated to C before building.)

TeX itself is a 500kb wasm file (compresses to 90k), but the images get much bigger with things like LaTeX pre-loaded.

(The author uses it to run tikz in a browser in this repository: https://github.com/kisonecat/tikzjax)

 help



> (TeX is written in pascal and typically translated to C before building.)

Actually, TeX is written in WEB and can be "tangled" into different programming languages. It used to be tangled to Pascal originally, but nowadays ctangle produces C directly.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: