InfoQ Homepage Presentations Introduction to Domain Specific Languages
Introduction to Domain Specific Languages
Summary
Domain Specific Languages (DSLs) are limited forms of computer language designed for a specific class of problems. In this JAOO conference talk, Martin Fowler introduces a simple example of DSL, bringing out the difference between external and internal DSLs, and talking through the trade-offs in using both forms. The talk is based on Martin's language workbench article on martinfowler.com.
Bio
Martin Fowler is one of our industry's most well known thought leaders having had an influence in the adoption of OO, refactoring, patterns, agile methodologies, domain modeling, UML, and XP. Martin is Chief Scientist at ThoughtWorks, and writes regularly at www.martinfowler.com.
Community comments
Smalltalk and DSLs
by Carl Gundel,
DSL or not
by Jonas Ekstrom,
Smalltalk and DSLs
by Carl Gundel,
Your message is awaiting moderation. Thank you for participating in the discussion.
Mr. Fowler rightly mentioned Lisp as a language for creating DSLs, but I was surprised that he did not mention Smalltalk. Those interested in DSLs certainly owe it to themselves to take a close look at Smalltalk.
DSL or not
by Jonas Ekstrom,
Your message is awaiting moderation. Thank you for participating in the discussion.
Let's say the problem domain is specific to process patterns.
Is it better to use a well known language (such as C#) together with a domain specific framework (such as CCR) to solve a problem, or should one use a DSL (such as BPEL)?