Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASI executable #175

Open
rcarmo opened this issue Mar 29, 2024 · 2 comments
Open

WASI executable #175

rcarmo opened this issue Mar 29, 2024 · 2 comments

Comments

@rcarmo
Copy link
Contributor

rcarmo commented Mar 29, 2024

I’ve been pondering how to get wisp running under a-shell (https://github.com/holzschu/a-shell) as a WASI CLI executable. Is there any prior art?

@chr15m
Copy link
Collaborator

chr15m commented Mar 31, 2024

On the a-shell README it mentions there is a js runtime availble. Could you just run the Wisp output directly with that?

BTW I highly recommend checking out the squint-cljs suite as it has largely similar goals to Wisp but is more up to date and closer to Clojure.

@rcarmo
Copy link
Contributor Author

rcarmo commented Mar 31, 2024

Nope, jsc doesn’t really do the same as node, and wisp.js is not structured correctly to handle command line arguments, so it’s kind of useless as a CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants