Lua Share
By: Dexter Castor Döpping
Published: 2024-12-24
I made a new website for running and sharing Lua code: https://dexter.döpping.eu/lua-share/
The Lua code runs directly in the browser via WebAssembly.
It generates permalinks using a custom compression scheme, combining a Lua preprocessing step with LZMA warmed up with a 18.7KB preset dictionary. The compression is pretty good but URLs still tend to get quite long.
Since I made the site, I'll do the honors of sharing the first Lua snippet: Sine wave
Tip: You can use CTRL+Enter to activate the 'Run' button.