jgm / djot

A light markup language
https://djot.net
MIT License
1.67k stars 43 forks source link

JS implementation available? #53

Closed tomyo closed 1 year ago

tomyo commented 1 year ago

Hi! I like a lot the way djot language is defined, and I would like to try it out in web projects.

Is there a JS implementation? If not, i'm happy to collaborate => suggestions welcome.

Thanks!

jgm commented 1 year ago

No, there isn't, just the Lua. It should be possible to write a JS implementation that closely follows the Lua implementation, so if you'd like to try this, be my guest!

Some notes on where I think the difficulties would lie:

mandolyte commented 1 year ago

Perhaps this should be moved over to discussions. I could probably donate a few hours (2-4h) on this. I've also searched for Lua to JS tools; many seemed to be abandoned. But this could be a first step - investigate what is available.