File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Domains for DSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Domains for DSL" Watch "Domains for DSL" New topic
Author

Domains for DSL

Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
Hi,
What are the areas(domains) where use of DSL may be helpful ? From maintenance/support perspective, how DSLs qualify compared to the languagues like Java/c# ?

MH
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Hi Arjun,

You might want to read the article I linked to from this other thread. It makes a nice contrast between programming languages and domain-specific languages.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1836
    
    7

The only project I've yet been involved with that made use of a DSL was focussed on providing telecom services.
Allowing operators to visually design a service by selecting, interconnecting en configuring service building blocks, and exporting such a model to an XML-based DSL.
The Java-based service delivery platform would would read and interpret those service definitions and translate them to their runtime Java equivalents.

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
Arjun,

As I understand it the Rails framework (of Ruby on Rails fame) is actually a DSL for building web sites in Ruby. If that's true the I strongly suspect that Grails is a DSL for building web sites in Groovy - the dynamic language with a simplified Java syntax that works well with Java and runs on the JVM.

Burk


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

Joined: Mar 13, 2003
Posts: 1874
Thanks everybody for the reply.
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
You're welcome. I hope it helped.
Burk
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Domains for DSL