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:

  1. https://revs.runtime-revolution.com/building-a-dsl-in-ruby-part-1-d210a785477b
  2. https://revs.runtime-revolution.com/building-a-dsl-in-ruby-part-2-ca578dae804e

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.