seaofvoices / darklua

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

Dynamic library #149

Open yoloyusof opened 10 months ago

yoloyusof commented 10 months 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 10 months 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 10 months 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.

zramctl commented 1 week ago

bump, i need this :pray: