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
Register / Login
JavaRanch » Java Forums » Other Languages » Other Languages
Reply Bookmark "Software Factories / MPS" Watch "Software Factories / MPS" New topic
Author

Software Factories / MPS

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8457

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, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4695

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: 8457

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: 4695

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: 8457

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

Joined: Feb 05, 2003
Posts: 4695

Writing DSLs in Groovy
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4695

The practicality of writing DSLs (in Ruby).
 
IntelliJ Java IDE
 
subject: Software Factories / MPS
 
Threads others viewed
WA #1.....word association
Tools for testing static methods
new forum - testing
Pair programming
Tech Word Game
IntelliJ Java IDE