seaofvoices / darklua

A command line tool that transforms Lua code
https://darklua.com/
MIT License
93 stars 13 forks source link

Dynamic library #149

Open yoloyusof opened 1 year ago

yoloyusof commented 1 year ago

The goal here is to make it possible so people using other tools like deno or bun to create things, you could process files inside of a script without having to spawn processes that use the CLI and such.

Bundle using rust

I know this is possible but it seems extremely confusing for me when looking at the docs.rs page on it as I can't figure out how to process a file

jeparlefrancais commented 1 year ago

Hello 👋 Thanks for taking the time to submit an issue 🙂 I've opened #150 to focus this issue on the dynamic library request.

I am not familiar with deno or bun, where would you prefer to have the dynamic library published? Or is a wasm package published on npm a better alternative?

yoloyusof commented 1 year ago

I am not familiar with deno or bun, where would you prefer to have the dynamic library published? Or is a wasm package published on npm a better alternative?

A wasm package would be actually great in my occasion for what I am trying to do here.

yoofus commented 2 months ago

bump, i need this :pray: