kisonecat/web2js
View on GitHub ↗ ★ 149 xBase
Convert TeX's pascal to javascript
5 mentions on Hacker News by 2 people: 0 stories, 5 comments · first 2021-06-28 · latest 2026-10-21
20082026
-
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.)…
comment by dunham · 2026-10-21 · in Shipping a LaTeX Compiler Behind an Edge App -
…for TeX is about 495kb / 88kb compressed, but the memory image for LaTeX was a bit larger. [1]: https://github.com/kisonecat/web2js
comment by dunham · 2026-06-26 · in LaTeX.wasm: LaTeX Engines in Browsers -
…But there also is a Pascal to WASM compiler out there, which was written specifically for TeX: https://github.com/kisonecat/web2js TeX itself is only about 500kb of wasm, uncompressed, but the memory images with LaTeX loaded are quite a…
comment by dunham · 2024-05-15 · in Adobe Photoshop Source Code (2013) -
…I think anything computationally intensive would be a good candidate for wasm (it has int64). 1: https://github.com/kisonecat/web2js
comment by dunham · 2023-05-11 · in The JavaScript ecosystem is delightfully weird -
…can run TeX in the browser. You can see a demo of this at https://tex.rossprogram.org/ and at https://github.com/kisonecat/web2js you can find a Pascal compiler that targets WebAssembly which can compile Knuth's TeX. Interesting primitives…
comment by kisonecat · 2021-06-28 · in Problems with math rendering on the web (2020)