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!
Here are some possible sources:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With