Sean Mountcastle wrote: > I apologize if this has been asked on this list before (I did a quick > search using Namazu and didn't find any specific books; perhaps that's > because they don't exist): > > Are there any good books on domain specific languages (preferably in > Ruby)? I've read Fowler's article on DSLs, I attended Glenn > Vanderburg's "Metaprogramming Ruby" talk at OSCON, I also listened to > Rich Kilmer speak at a NoVARUG meeting about a DSL he wrote for the > USAF/BBN and I've listened to the recording of Domain Specific > Languages by Jim Weirich from RubyConf 2005 -- but I still don't "get" > it. It seems like black magic to me, so I'm hoping there's a book out > there devoted to implementing DSLs using Ruby that can help me better > understand this useful technique. > > Does anyone know of such a book? > > Many thanks in advance, > Sean Its not Ruby related, but you might want to look at "Starting Forth" and "Thinking Forth". These are classic texts, and the terminology (buzzwords) are not the same as today, but still a pleasure to read. Starting Forth: http://home.iae.nl/users/mhx/sf.html Thinking Forth: http://thinking-forth.sourceforge.net/ or if you want to look at a quick DSL example, take a look at this: http://home.iae.nl/users/mhx/sf1/sf1.html Maybe someone can translate this example to Ruby sometime. It seems so natural in Forth though. Its weird how sometimes largely forgotten things still have the power to teach us :) HTH, Amr -- Posted via http://www.ruby-forum.com/.