I wonder if anyone has made a low-level #Lisp that is specifically designed to be semantically close to #WASM code, so that it compiles to be very very efficient (kinda like how Lua is really fast because it’s very semantically similar to C code, which is what its interpreter is written in)
like WASM already reads kinda like a Lisp to me, and I bet that would run crazy fast
(I’ve been tempted to do this several times I’m ngl. I think I want to learn WASM one of these days. sadly most of the “learn WASM” tutorials are more like “learn how to compile some shitty language like C++ to WASM”)
@kasdeya textual wasm is a formal specification of a wasm syntax using s-expressions. WASM *is* a lisp
@kasdeya take a look at Guile Hoot Scheme and Wastrel work by Andy Wingo and Spritely Institute. May be somewhat related to your search.
@kasdeya If you like low-level languages, the official WebAssembly text format (.wat) is actually already an S-expression language.
@kasdeya You might also find this project interesting: https://github.com/schism-lang/schism/
@simon_brooke ooh - thank you! this sounds interesting tbh. I kinda like the idea of using a really simple, minimal Lisp like this. I might play with this a bit