File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DSL examples?

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic