
technologyApr 7, 200750:41pending
Episode 52: DSL Development in Ruby
About this episode
In this episode, we're talking to Obie Fernandez about agile DSL development in Ruby. We started our discussion by defining what a DSL is, the difference between internal and external DSLs as well as the importance of the flexibly syntax of the host language in order to make DSLs worthwhile. We then looked at a couple of real world examples for DSLs, specifically, at Business Natural Languages. We then progressed to the main part of the discussions, which centered around the features of Ruby that are important for building DSLs. These include the flexible handling of parentheses, symbols, blocks as well as literal arrays and hashes. We then discussed Ruby's meta programming feautures and how they are important for building DSLs: instantiation, method_missing callback, class macros, top level functions and sandboxing. Features like eval, class_eval, instance_eval and define_method are also important for DSLs in Ruby, as well as using alias_method for simple AOP.
Get every episode summarized
Each time Software Engineering Radio - the podcast for professional software developers publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Software Engineering Radio - the podcast for professional software developers

SE Radio 737: Owen McGirr on Software Accessibility
Software Engineering Radio - the podcast for professional software developers
Sep 9, 202651:09completed

SE Radio 736: Sahil Walia on Apache Iceberg
Software Engineering Radio - the podcast for professional software developers
Sep 3, 202651:27pending

SE Radio 735: Vivek Yadav on Regression Testing Microservices
Software Engineering Radio - the podcast for professional software developers
Aug 26, 202659:06pending

SE Radio 734: Sathiesh Veera on Engineering Data-Protection Guardrails with LLMs
Software Engineering Radio - the podcast for professional software developers
Aug 19, 202642:32pending