At the Mountains of Madness: A primer on Writing
summary
Argues that writing a language teaches deeper design and validation and recommends prototyping in Ruby then porting later, citing Dagon language as a concrete result and a working BF interpreter implemented to prove completeness. Uses Ragel and Racc for lexing and parsing, confronts real issues like a persistent shift-reduce conflict and an 11,000 line parser file, and shows a production use case that reduces a giant real estate form into a single search box cutting a ten minute task to 10 minutes to 10 seconds.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:00Use Ruby
- 5:10Lexing
- 5:45Parsing
- 6:35Evaluation
- 7:20Raggle
- 8:30Rack
- 8:50C Libraries
- 9:15Ragga
related talks
01h 10mDomain Specific Languages: Molding Ruby
48mRapid Programming Language Prototypes with Ruby RACC
43mStately State Machines with Ragel
40mWorst. Ideas. Ever.
32mPolyglot: When Ruby isn't enough or even sane
47mA Game of Theories: why languages do what they do
33mRuby: A Family History
40mRuby Writing Machines
