GSOC | Extending Common Lisp support

Charles Turner chturne@gmail.com
Fri Jun 8 13:13:00 GMT 2012


On 8 June 2012 13:30, Helmut Eller <eller.helmut@gmail.com> wrote:
> I think this SHOULD NOT work.  java.util.Date is clearly not a CL
> function and isn't this supposed to be a CL implementation?

Nor is it Scheme function but we have,

$ java -cp kawa-1.12.jar kawa.repl
#|kawa:1|# (java.util.Date)
Fri Jun 08 14:08:24 BST 2012

I was attempting to keep the same allocation syntax used from Kawa Scheme:
http://www.gnu.org/software/kawa/Allocating-objects.html

> Despite that, the standard CL reader upcases all symbols.  If this gets
> fixed the compiler would see |JAVA.UTIL.DATE|.  So using symbols to
> denote Java classes will cause problems later when we get a real reader.
>
> I'd use (make "java.util.Date" ...).

That does make more sense to me too :-)

Thanks,
Charles.



More information about the Kawa mailing list