Hi Stuart.
thank you for pointing me to my 'cloSure' misspelling. Have lived in the
Scheme world for too long :-)
As to Java classes generation, IMHO it is more save to generate Java
bytecode directly instead of using intermediate Java sources. This is how I
create classes now using a
Thanks Nicolas,
may be you are right, and I'll end up with Kawa or Bigloo. I just evaluate
Clojure, trying to find out if it fits to my goals.
On Monday, November 5, 2012 1:40:10 PM UTC+4, Nicolas Oury wrote:
I am not sure it will help, but have you tried Kawa?
It is a Scheme compiling to
Thank you Stephen,
the problem is that it is impossible to create create a Java class using
closure with the following characteristics:
1) all methods must match given Java signature. For example, if I need a
method
public String getSomeString();
all I get is
public Object getSomeString();
Hello,
Clojure (by the way, it is not spelled closure) is not really designed to
generate pure-Java classes. `gen-class` is slightly more flexible than
`deftype`, but it will still generate references to Clojure classes.
If the structure of your Java classes is defined by interfaces, `deftype`
Hi closure developers.
In one of my purely Java project I have to create hundreds of java classes
with repeatable structure, so the task is an excellent candidate for
automation. I hoped I will be able to create these classes with the latest
closure, using the 'deftype' construct.
I learned
On Sat, 2012-11-03 at 13:57 -0700, Vladimir Tsichevski wrote:
In one of my purely Java project I have to create hundreds of java classes
with repeatable structure, so the task is an excellent candidate for
automation. I hoped I will be able to create these classes with the latest
closure,