"Making a Programming Language for 3D Design"
summary
Built a tiny declarative language called KCl (Kitty Cat Language) with its parser and compiler written in Rust, using parser combinators and targeting WASM for a web editor that keeps code and GUI in sync. The system produces parametric models, cached instances instead of duplicating 2,000 identical parts, and a live editable telescope that was 3D printed from the app. Also rebuilding a new GPU and multi thread CAD kernel for real speed.
AI-written summary · about
chapters (10)
- 0:00Creating a new language
- 3:25From skepticism to CAD language
- 6:41Why CAD apps are slow
- 10:00Code solves CAD problems
- 14:29Built our own language
- 17:48Making your own language
- 22:07Error messages and type checking
- 24:04Interpreters vs compilers
- 26:16Design your own language
- 27:05Q&A
related talks
21mWhat I Learned About Rust by Creating a Language
36mRusty Runtimes: Building Languages In Rust
42mImplementing Languages for Fun and Profit
33mDeclarative programming in Rust
44mBuilding Languages Using Kotlin
15mBuilding Little Languages with Rust
01h 31m"Thoughts on language evolution"
22mA Vision of Miking: Interactive Programmatic Modeling, Language Composition, and Compilation
