| Crates.io | acadlisp |
| lib.rs | acadlisp |
| version | 0.1.0 |
| created_at | 2025-12-26 15:34:34.544639+00 |
| updated_at | 2025-12-26 15:34:34.544639+00 |
| description | AutoLISP interpreter and mini CAD engine - CSV/TPL/LSP workflow emulator for AutoCAD 9/10 (DOS era) |
| homepage | https://acadlisp.de |
| repository | https://github.com/acadlisp/acadlisp |
| max_upload_size | |
| id | 2005868 |
| size | 878,799 |
AutoLISP interpreter and mini CAD engine in Rust, targeting WebAssembly.
Emulates CSV/TPL/LSP workflows from AutoCAD 9/10 (DOS era) for educational and archival purposes.
Live demo: acadlisp.de
use acadlisp::Engine;
let mut engine = Engine::new();
engine.eval("(setq x 10)");
engine.eval("(command \"LINE\" '(0 0) '(100 100) \"\")");
let entities = engine.get_entities();
let dxf = engine.export_dxf();
cargo run --bin acadlisp-cli -- samples/TEST.LSP
trunk serve
# Open http://localhost:8080
setq defun if cond while repeat progn lambda apply mapcar foreach
+ - * / 1+ 1- abs sin cos atan sqrt expt min max rem gcd
= /= < > <= >= eq equal
and or not null
car cdr cons list append reverse length nth member assoc subst
strcat strlen substr strcase atoi atof itoa rtos read
print princ prin1 terpri prompt
command getvar setvar entget entmake entmod ssget sslength ssname
# Native
cargo build --release
# WASM
trunk build --release
MIT