Oops, and for the MOP stuff, I wrote up some notes on (a possible) canonical encoding of Java constructs as invokedynamic expressions. It was a initially part of my Project Coin proposal, except I deleted it on the (reasonable) grounds that it is too much too early to bake into the language.
Some variation of this encoding should become (part of) a MOP for JVM languages. Since you are inventing such a thing now, I thought I'd share my notes, even though they are half baked. There are specific subtle choices in the rendering side-effecting operators which allow a wide range of (both imperative and functional) data structures to be usefully bound to operators like ++ and +=. Also, the treatment of && and ||, taken from Lisp, obviates the need for a separate "Elvis" operator. Enjoy: http://wikis.sun.com/display/mlvm/DynamicJava -- John On Apr 22, 2009, at 12:29 AM, John Rose wrote: > Thanks, Attila, for jumping in with the MVLM build stuff.... --~--~---------~--~----~------------~-------~--~----~ 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 jvm-languages+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---