Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good books on Ruby based DSL [closed]

Tags:

ruby

dsl

I'm trying to create a DSL in ruby, can you suggest me some good books? I looked around amazon and safari but so far couldn't find any.

Thanks in advance!

like image 683
user314362 Avatar asked May 05 '10 10:05

user314362


2 Answers

Here are some possible sources:

like image 185
Mike Woodhouse Avatar answered Oct 17 '22 19:10

Mike Woodhouse


  • Martin Fowler's Domain Specific Languages book contains some Ruby examples in the Internal DSLs section. You can read the work in progress on his web site or if you've got a Safari account then it's available as a rough cut.

  • There are also some slides here from an Agile DSL Development in Ruby presentation by Obie Fernandez

  • Metaprogramming Ruby: Domain-Specific Languages for Programmers (PDF here) from an OSCON '05 session by Glenn Vanderburg

  • There is a relevant chapter One Lair and Twenty Ruby DSLs in the ThoughtWorks Anthology which is available in PDF as an example chapter.

like image 30
mikej Avatar answered Oct 17 '22 21:10

mikej