HACKER Q&A
📣 amichail

A TeXmacs document viewer using WebAssembly? Would this be feasible?


The idea is to compile the TeXmacs typesetter via WebAssembly to create a flawless viewer for TeXmacs files on the web.

And unlike PDFs, this would support word wrapping at the window edge.

Would this be a feasible thing to do?


  👤 hackrnusr Accepted Answer ✓
Why just a viewer?

Reimplementing the entire editor as a web-based "front-end" for working with texmacs documents as "notebooks" in the browser, much like Wolfram has already done for its cloud-based product, would be highly preferable.

Some implementation notes from the Wolfram developer who started the open source Mathics project are available here:

https://medium.com/wolfram-developers/performance-through-el...