This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DSL examples?

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you give us some examples of DSL's usage?

Thank you.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Martin Fowler has posted nice examples of DSLs in his blog.
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rogerio,

If you're a Java developer you probably use several DSLs on a regular basis: ant, regular expressions, and XML being the most common.
Burk
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh I was not aware Ant, regex and XML are examples of DSL
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vyas Sanzgiri wrote:Oh I was not aware Ant, regex and XML are examples of DSL


I've heard speakers use ant as an example - it's domain is building applications, kind of like 'make'. Regular expressions are all about using it's commands to match data according to a pattern - those commands are the DSL. I think that the DSL in XML is more the schema definition language.

Burk
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic