This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSOC | Extending Common Lisp support


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]