Good books on Ruby based DSL [closed]

一世执手 提交于 2019-12-03 03:25:43

问题


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!


回答1:


Here are some possible sources:

  • Metaprogramming Ruby: Program Like the Ruby Pros (Prag Progs, Feb 2010)
  • Martin Fowler's DSL Book (in beta)



回答2:


  • 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.



来源:https://stackoverflow.com/questions/2772407/good-books-on-ruby-based-dsl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!