yaml / yamlscript

Programming in YAML
MIT License
362 stars 31 forks source link

[WIP]: Alternate node implementation #112

Closed riotrah closed 3 months ago

riotrah commented 4 months ago

Hi. Nice meeting ya the other day!

Here's the starter PR for implementing a node binding for yamlscript.

Approach notes:

All of the above can be easily changed based on your preferences. Worth noting that, once built and deployed, it all becomes basic js and can be used in any node project anyways. Bun is just a really convenient, fast, minimal-config way of developing it.

Development notes:


BTW: There's an alternate universe in which the ys compiler is written in cross platform cljc/cljs/clj, where the node bindings are really a cljs project that simply uses clojure code. Not sure how feasible that is, having not looked at the compiler implementation, or if you'd ever be interested in that, but some food for thought.

ingydotnet commented 3 months ago

Closing this since #49 merged.