Hi,

I'm looking at implementing a language that would be best represented 
using CPS. Now, I can't really find any references to full CPS 
implementations on the JVM anywhere. I'm looking at using the technique 
Kawa is planning for compiled code (see the last part at 
http://www.gnu.org/software/kawa/internals/complications.html). Has 
anyone else done this? It seems one of the natural side effects of 
something like this would be a need to have almost all primitives 
implemented in the language itself, since writing this kind of code by 
hand is a bit of a pain.

Second, has anyone tried, or is it even possible to do real CPS in 
interpreted style on the JVM? It would seem as that would require at 
least TCO to work.

I guess my implementation won't have any interpretation if that's the 
case. =)

Cheers

-- 
 Ola Bini (http://ola-bini.blogspot.com) 
 JRuby Core Developer
 Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
 Practical JRuby on Rails (http://apress.com/book/view/9781590598818)

 "Yields falsehood when quined" yields falsehood when quined.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to