Prism criticism

Thomas M. Farrelly s720@eik.ii.uib.no
Sat, 12 Jun 1999 22:10:52 +0200


James Little wrote:
[ prism ]

I think I follow your idea. I just use a different terminology. I.e. in
an oo-context you would say that a class specifies a consept and the
protocol of the class specifies the language.

Just two questions:

How do you write the meta-models, languages? In other words what is the
language of the meta-meta model?

And what do you do when languages conflict? I.e. when I reserve the
notation ' ${foo.foo} ', or ' ** use ... ** ' in own little sublanguage.


Also, when going about the problem as you do, i.e. code within code and
languages within languages, there is an accute need to clearly define
the order of evaluation. For example:

--- Prism example --- creating a HTML document with a number of "There's
another one"'s in it 

** use HTML **

Time

** use BASIC FOR i = 0 to some_integer_somewhere ** use HTML There's another one. ** use BASIC NEXT i ** use HTML

--- example end --- I want to do this in order to create a HTML document dynamically _dependent_ on outside world stuff. For example the list of "There's another one"'s. Clearly, this does not work, and you are back to the same situation as in your Java example - so you badly want this to be possible. I haven't gone into to much detail on the Prism specification, so this could just be not-a-problem-because, but I'll propose a solution: --- Prism example --- ** use HTML { Time

** use BASIC { FOR i = 0 to some_integer_somewhere ** use HTML { There's another one. } NEXT i }

} --- example end --- Catch my drift? =============================================================================== Thomas M. Farrelly s720@ii.uib.no www.lstud.ii.uib.no/~s720 ===============================================================================