acadlisp: AutoLISP Interpreter in Rust/WebAssembly
Try the Interactive Demo
What is acadlisp?
acadlisp is an AutoLISP interpreter written in Rust and compiled to WebAssembly. It runs AutoLISP code directly in the browser - no AutoCAD installation required.
The Story: Schematic Generator 1991
In 1991, a small electrical company in Bavaria, Germany faced a challenge: every machine installation required custom electrical schematics - a time-consuming manual process.
The solution: AutoLISP, the programming language built into AutoCAD. I invented a workflow using CSV files, templates, and LISP code to automate schematic generation. Define components in spreadsheets, feed them through templates, generate complete technical drawings automatically.
I've never met anyone else who used this approach. Now I've built an interpreter in Rust/WASM so this workflow can live on in the browser - partly nostalgia, partly preservation before this knowledge disappears entirely.
LISP as Early AI
LISP (List Processing) was developed in 1958 by John McCarthy and was for decades the language of Artificial Intelligence research. What makes LISP special?
... continue reading