A well-designed DSL improves programmer productivity and communication with domain experts. The Ruby community has produced a number of very popular external DSLs—Coffeescript, HAML, SASS, and Cucumber to name a few.
Parslet makes it easy to write these kinds of DSLs in pure Ruby. In this talk you’ll learn the basics, feel out the limitations of several approaches and find some common solutions. In no time, you’ll have the power to make a great new DSL, slurp in obscure file formats, modify and contribute to other people’s grammars (like Gherkin, TOML, or JSON), or even write your own programming language!
Presented by Jason Garber at Wicked Good Ruby Conf and NYC.rb. https://www.promptworks.com