[patch] 6746458 support for exotic identifiers (identifier superquote)

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Tue Sep 9 17:43:41 PDT 2008


Per,

I understand that the goal is to allow integration with other languages,
but if they're all running on top of a JVM and the JVM spec does not allow
these characters, then what is the point of allowing them at the Java
level.

-- Jon

Per Bothner wrote:
> Jonathan Gibbons wrote:
>> Since the characters are illegal at the JVM level, what's the reason 
>> for allowing them?
>
> See the first paragraph of John's announcement: to allow integration
> with other langauges, that don't have those restrictions (or have
> different restrictions).
>
> For example, the Lisp/Scheme divide function is named "/" - a simple
> implementation strategy is to use static Java methods with the same
> name:
>
> public class LispBuiltins {
>   ...
>   public static Object #"/" (Object x, Object y) { ... }
> };




More information about the compiler-dev mailing list