Hi Casey, 

You might enjoy looking at "operational semantics" -- whose idea has been 
around 
longer than the term. There is also "denotational semantics", which goes back 
to 
Christopher Strachey in the 60s.

The latter is more amenable to automated reasoning processes, and the former is 
more amenable to lower level translations that create working machinery.

We are more interested in the former, and doing something about it is on our 
list, but this is not likely to happen for quite a few months. 


So it would be great for folks on the fonc list to weigh in. For example, Nile 
is currently translated by OMeta into a variety of targets, including 
Javascript, Squeak, and C -- and soon into a STEPS lower level language (which 
could be thought of as a kind of "operational semantics"). 


It would be nice to have more schemes for semantics which allow both reasoning 
and translation into efficient lower level code.

Cheers,

Alan




________________________________
From: Casey Ransberger <[email protected]>
To: Fundamentals of New Computing <[email protected]>; "[email protected]" 
<[email protected]>
Sent: Sun, November 21, 2010 3:40:31 PM
Subject: [fonc] Describing Semantics

So I was in a heated debate with a good friend about Ometa. He pointed out, 
inadvertently, that matters of syntax and grammar are only the easy part of the 
problem. 


Ometa, I think, is the most elegant language we've seen for binding 
syntactic/grammatical constructs to semantics implemented in a host language, 
but the host language, as cool as it's gotten (e.g., JavaScript has some decent 
semantics, once one can work around the syntax) is still resistant, and Ometa 
leaves it up to us to express the semantics we want in whatever host language 
we've chosen. 


How many hoops do we want to jump through in order to express our semantics? 
Obviously JavaScript isn't ideal for that. 


I imagine I'm not the only person thinking about this. Ometa seems to *want* to 
be embedded in a language that expresses diverse semantics compactly.

What language is that?

My friend presented me with a construct that looked very much like a dictionary 
but where the keys and values could be only of certain types in the target 
language (this in an argument about the value of source to source translation.)

I wonder if the way to describe those requirements and relationships doesn't 
look like a Prolog.

If anyone on the list has some experience in this area, I'd love pointers to 
interesting research. 


Thanks in advance, and sorry if the topic has come up before!

C
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc



      
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to