Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
1–10 of 47 posts
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#2I've never seen anyone else use this approach. Now I've built an interpreter in Rust/WASM so it can run in the browser - partly nostalgia, partly preservation before this knowledge disappears entirely.
The lisp/ folder contains some LSP files from that era, others i recreated from memory.
Repo: https://github.com/holg/acadlisp/
What kind of drawings were you generating? Electrical schematics, mechanical parts, architecture? We also have some playground, to toy around with LISP and some function generator, to demonstrate Lisp usage for math...
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#3In the early 90s I wrote AutoLISP code for AutoCAD 9/10 that enabled a CSV → template → parametric drawing workflow. You could define components in spreadsheets, feed them through templates, and generate complete technical drawings automatically. I've never seen anyone else use this approach. Now I've built an interpreter in Rust/WASM so it can run in the browser - partly nostalgia, partly preservation before this kn…
Also, the page you link to in the original post is in German; it might be nice to have an English page for the mostly English speaking audience here on HN
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#4In the early 90s I wrote AutoLISP code for AutoCAD 9/10 that enabled a CSV → template → parametric drawing workflow. You could define components in spreadsheets, feed them through templates, and generate complete technical drawings automatically. I've never seen anyone else use this approach. Now I've built an interpreter in Rust/WASM so it can run in the browser - partly nostalgia, partly preservation before this kn…
I get a 404 for that repo; is it private? Also, the page you link to in the original post is in German; it might be nice to have an English page for the mostly English speaking audience here on HN
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#5https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-390A...
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#6AutoCad nowadays uses .NET as well, and thus any CLR enabled language, with a MSIL backend. https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-390A...
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#7Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#8related: "In Version 2.5, AutoLISP allowed access to the DWG database. AutoLISP was based on XLISP, a public domain version of LISP written by David Betz. Betz later complained that Autodesk had failed to acknowledge the source, which the company later did." ( https://www.shapr3d.com/history-of-cad/autodesk-and-autocad ) https://github.com/dbetz/xlisp
My interpreter doesn't aim for full compatibility - just enough to run the schematic generation workflow from 1991. The core is: defun, setq, car/cdr, recursion, and the (command ...) interface to draw entities.
The interesting part was how templates could trigger other templates - inserting a contactor (Schütz) would automatically generate its coil in the control circuit. Code writing code, classic LISP.
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#9In the early 90s I wrote AutoLISP code for AutoCAD 9/10 that enabled a CSV → template → parametric drawing workflow. You could define components in spreadsheets, feed them through templates, and generate complete technical drawings automatically. I've never seen anyone else use this approach. Now I've built an interpreter in Rust/WASM so it can run in the browser - partly nostalgia, partly preservation before this kn…
Re: Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago
#10In the early 90s I wrote AutoLISP code for AutoCAD 9/10 that enabled a CSV → template → parametric drawing workflow. You could define components in spreadsheets, feed them through templates, and generate complete technical drawings automatically. I've never seen anyone else use this approach. Now I've built an interpreter in Rust/WASM so it can run in the browser - partly nostalgia, partly preservation before this kn…
I get a 404 for that repo; is it private? Also, the page you link to in the original post is in German; it might be nice to have an English page for the mostly English speaking audience here on HN