aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes DSL examples? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "DSL examples?" Watch "DSL examples?" New topic
Author

DSL examples?

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

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

Thank you.


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Martin Fowler has posted nice examples of DSLs in his blog.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
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


SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Oh I was not aware Ant, regex and XML are examples of DSL


===Vyas Sanzgiri===
My Blog
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
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
 
subject: DSL examples?