Skip to content

zigtools/playground

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

zls in the browser

Works pretty well in a bunch of browsers, but note the required security headers.

Installing

  • Compile zls for wasm32-wasi and place zls.wasm in src
  • Additionally, place zig.tar (make sure to un-xz and that the name matches) from the website in src
npm i -g parcel
parcel 404.html

Enjoy!

TODOs

  • Stop using SharedArrayBuffers (they're awesome but a nightmare to deploy)

About

zig + zls but wasm and it's in the browser 🤯🤯🤯

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published