Summary:
Broadly speaking, there are two ways to create a DSL. One is to invent a syntax from scratch, and build an interpreter or compiler. The other is to tailor an existing general-purpose language by adding or changing methods, operators, and default actions. This article explores using the latter method to build a DSL on top of Ruby.
The ability to add new comments in this discussion is temporarily disabled.
Most recent reply: April 28, 2006 0:22 PM by
Chiaro
|
Jim Freeze uses Ruby to create DSL on top of Ruby. Read this Ruby Code & Stlye article to learn more. http://www.artima.com/rubycs/articles/ruby_as_dsl.htmlWhat did you think of Jim's approach?
|
|
|
for more information go to http://www.apex45.com
|
|
|
Hey, Tapan Khandelwal, thanks for the spam. It makes you look very professional.
|
|
|
Great article! I might have found an alternative solution to the variable assignment conundrum: http://liquiddevelopment.blogspot.com/2006/04/way-of-meta-part-iv-hijacking-local.html--Chiaroscuro--
|
|