1 Aug 2009 01:09
Re: Integration of CL and Java
On Sat, Aug 1, 2009 at 12:18 AM, Tobias C. Rittweiler<tcr@...> wrote: > > To incite some discussion about what steps are required to make it > convenient to write Java from within CL. The result should probably be > added to Trac. > > Short term: > > * make Java objects inspectable. Working on that ;) > * make DESCRIBE be useful on Java objects. Should mention > inheritance tree, public attributes, and methods. > > * fix inconsistencies, for example JMETHOD takes class-name first, > then method-name, but JSTATIC takes it the other way around. > > Medium term: > > * make JMethods be a subclass of FUNCALLABLE-INSTANCE, so they can > be funcalled, passed to HOFs, stored into SYMBOL-FUNCTION etc. Cool. I never thought about this, it's a great idea. We probably need a JMethod extends JavaObject class to make this easier. > * add reader-macros for convenience. For example, #J'class.method > for (jmethod "class" "method"). This would be useful, but I also think we should provide some kind of(Continue reading)
RSS Feed