Creating a DSL in Ruby
Creating a Domain Specific Language has been on my TODO-list for a long time!
Ruby is the perfect language for this task
I have collected a list of tutorials that I intend to go thru and comment:
A long and complete tutorial:
- https://www.toptal.com/ruby/ruby-dsl-metaprogramming-guide
A short, to-the-point (very Rubyesqe!) tutorial:
- https://thoughtbot.com/blog/writing-a-domain-specific-language-in-ruby
A 2-part really good tutorial:
- https://revs.runtime-revolution.com/building-a-dsl-in-ruby-part-1-d210a785477b
- https://revs.runtime-revolution.com/building-a-dsl-in-ruby-part-2-ca578dae804e