zig-play
zig-play copied to clipboard
API support for using Zig Playground
It would be really nice to have API support for zig-play, allowing developers to quickly run and test code without having to re-build and test. I've used this website countless times when I've wanted to test some code without having to create a new package just to test and see if something works or not.
@SuperAuguste Wanted to ping you here - I think the concept of a playground is absolutely awesome, and it'd be great to see something potentially similar to this in zls, simply with debugging.
It already is an API, right? As an example, let's say I have my source in source.zig.
curl -v https://zig-play.dev/server/run -d @source.zig
That should work just fine. Same for /server/fmt.