guest@BipbopPC:~/projects$ cat lisp-transpiler.md
Lisp-to-WebGL Transpiler
A Lisp-like language compiled to an optimized AST, then to JavaScript and WebGL calls.
C · Flex · Bison · JavaScript · WebGL · 2025
SPECS
- Frontend
- Flex + Bison
- Optimizations
- constant folding, DCE, unused-variable removal
- Target
- JavaScript + WebGL
guest@BipbopPC:~/projects/lisp-transpiler$ cat NOTES
A lexer and parser built with Flex and Bison, compiling a Lisp-like language into an AST.
Constant folding, dead code elimination, and unused-variable removal all run over the tree before code generation, and the generator then emits JavaScript and WebGL calls that render animated 3D scenes directly in the browser. So the end of the pipeline is a Lisp program becoming a spinning shape on a web page, which I still think is a funny place for a Lisp program to end up.