leoroos/sandboxdroog — Issue #50: Martin Fowler's Language Workbench Example DSL
Author: leoroos
Created: 2011-10-18 15:37:41+00:00
State: open
Labels: Examples, task

== The Language Workbench Example from Marting Fowler ==
In his article on http://martinfowler.com/articles/languageWorkbench.html Martin Fowler demonstrates how DSLs can enhance work process. He motivates the use of DSLs on a Parser that processes data from a file in a static format where every line contains a single record and each record contains data specific to the code represented by the first characters on that line.
Fowler showcases how to implement a solution in C#, further abstracting the configurable parts to an XML and Properties file. Finally he demonstrates how to implement a pretty short solution in Ruby very similar looking and hardly longer than than the properties solution.
Might be interesting to see if it can be even further simplified when using a Tigerseye DSL.