[armedbear-devel] [PATCH] jcall(there are multiple matchingmethods)

Tobias C. Rittweiler tcr at freebits.de
Tue Dec 22 20:05:00 UTC 2009


Alessio Stalla writes:

> On Mon, Nov 23, 2009 at 2:47 PM, Alessio Stalla wrote:
>
> Now jcall can be used with less verbose syntax, for example:
> (jcall "toString" 4) ==> "4"
> (jcall "compareTo" 4 5) ==> -1
>
> it would be nice to add (#"methodName" args) a la JSS for even shorter syntax.

FWIW, I do not like the special read syntax. I think, the real solution
that ABCL should strive for is 

  - to implement per-package symbol case sensitivity a la Clisp

    See  http://clisp.cons.org/impnotes/package-case.html

  - introduce a package JAVA (with nickname J) where symbols are
    interned in while preserving case.

Ultimatively, ABCL should strive for making

  (funcall j:compareTo 4 5)  [read in as (FUNCALL J:|compareTo| 4 5)]

work.

Sounds like a nice project for the free time between the years. 

Any takers?

  -T.





More information about the armedbear-devel mailing list