Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage Presentations Introduction to Domain Specific Languages

Introduction to Domain Specific Languages



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


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

About the conference

Recorded at:

Oct 31, 2006

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • 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)?

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p