• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Software Factories / MPS

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

What do you think about this? They call it Meta Programming, the next revolution in programming.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we use Groovy to write a DSL? Never thought of it!
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Writing DSLs in Groovy
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The practicality of writing DSLs (in Ruby).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic