Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2026 (2)
20082026
  1. 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.)…
  2. …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
  3. …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)
  4. …I think anything computationally intensive would be a good candidate for wasm (it has int64). 1: https://github.com/kisonecat/web2js
  5. …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…