| 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).
|
 |
 |
|
|
subject: Software Factories / MPS
|
|
|