Hacker News new | ask | show | jobs
by Arnavion 4205 days ago
I just looked up this project Domenic_S mentioned. It says why it does what it does right in the first line of the README:

> This project uses Opal to transcompile Asciidoctor—a modern implementation of AsciiDoc—from Ruby to JavaScript to produce asciidoctor.js, bringing AsciiDoc to the browser!

The whole point is to not rewrite it in JavaScript but to piggyback on the original Ruby implementation and just compile it to JavaScript so it can run in a browser.