File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Languages and the fly likes Software Factories / MPS 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 » Languages » Other Languages
Bookmark "Software Factories / MPS" Watch "Software Factories / MPS" New topic
Author

Software Factories / MPS

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9616
    
    2

Guys,

What do you think about this? They call it Meta Programming, the next revolution in programming.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I'm curious to see links to what you've read, particularly something that connects software factories with metaprogramming.

The only possible connection I see is with the creation of Domain Specific Languages (DSLs).


A good workman is known by his tools.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9616
    
    2

You are right Mark...I meant those DSL"s. What do you think about these? In particular have you tried the MPS system from Jetbrains?
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I think the idea of DSLs is a good one. It allows for very expressive code

I looked at JetBrains' calculator tutorial for MPS and it seems significantly complicated for a fairly simple DSL. Granted, a lot of the work goes into making a language that can explain to you when you're not following certain rules, but still. In a language like Groovy, (J)Ruby, or even Scala you've got a lot of flexibility to craft a DSL subset of the language itself. Assuming you already know one of those languages, you don't have to learn a completely new tool just to write a DSL.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9616
    
    2

Can we use Groovy to write a DSL? Never thought of it!
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Writing DSLs in Groovy
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

The practicality of writing DSLs (in Ruby).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Software Factories / MPS