On Nov 18, 2008, at 12:53 AM, Stephen C. Gilardi wrote:
>
> On Nov 17, 2008, at 11:42 PM, Stephen C. Gilardi wrote:
>
>> It seems there's something not quite right, though. I did a fresh
>> checkout of 1108 and built with "ant" and ran with "java -jar
>> clojure.jar" and got an exception:
>
On Nov 17, 2008, at 11:42 PM, Stephen C. Gilardi wrote:
> It seems there's something not quite right, though. I did a fresh
> checkout of 1108 and built with "ant" and ran with "java -jar
> clojure.jar" and got an exception:
Making pushNS public on line 4461 of src/jvm/clojure/lang/
Compile
On Nov 17, 2008, at 10:33 PM, Rich Hickey wrote:
> Fixed (SVN 1108) - thanks for the report.
Cool, thanks. I especially like "loadClassForName".
It seems there's something not quite right, though. I did a fresh
checkout of 1108 and built with "ant" and ran with "java -jar
clojure.jar" and g
On Nov 17, 8:50 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2008, at 10:34 PM, Rich Hickey wrote:
>
> > Since it only requires main, might I suggest you write this in
> > Clojure instead?
>
> I gave that a try.
>
> Here's a simple version of a driver for the compiler, stored
I like it and Obj-C inspired syntax on the JVM is cosmic justice.
On Nov 17, 2008, at 2:37 PM, "Stephen C. Gilardi" <[EMAIL PROTECTED]>
wrote:
>
> On Nov 17, 2008, at 9:51 AM, Rich Hickey wrote:
>> main now needs to be called -main, as all methods will be defined
>> with leading -.
>
> Seei
On Nov 17, 2008, at 9:51 AM, Rich Hickey wrote:
> main now needs to be called -main, as all methods will be defined
> with leading -.
Seeing that makes me think of Objective-C where instance methods have
a leading - and static methods (class methods) having a leading +. I
think a conventio
> I think you've got some of the interim work I've done integrating gen-
> class. main now needs to be called -main, as all methods will be
> defined with leading -.
I'm at SVN 1106 which doesn't appear to have any changes relative to
1104 in this area. My compiled "hello.clj" works with its f
On Nov 17, 8:50 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> In working through this, I also found that a compiler driver written
> in Java may be preferable for use via build.xml because of a bootstrap
> problem.
Yes, that's why I wanted to implement it in Java.
-S
--~--~-~-
On Nov 17, 8:50 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2008, at 10:34 PM, Rich Hickey wrote:
>
> > Since it only requires main, might I suggest you write this in
> > Clojure instead?
>
> I gave that a try.
>
> Here's a simple version of a driver for the compiler, stored
On Nov 16, 2008, at 10:34 PM, Rich Hickey wrote:
> Since it only requires main, might I suggest you write this in
> Clojure instead?
I gave that a try.
Here's a simple version of a driver for the compiler, stored in src/
clj/clojure/compile.clj:
(ns clojure.compile)
(defn
On Nov 17, 4:34 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Nov 16, 9:47 pm, "Stuart Sierra" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Rich, and all,
>
> > I took a stab at writing a static compiler class, i.e. a main() that
> > just compiles all the .clj files on the command line and saves the
On Nov 16, 9:47 pm, "Stuart Sierra" <[EMAIL PROTECTED]>
wrote:
> Hi Rich, and all,
>
> I took a stab at writing a static compiler class, i.e. a main() that
> just compiles all the .clj files on the command line and saves the
> .class files. Patch attached.
>
> It almost works. The only thing t
Hi Rich, and all,
I took a stab at writing a static compiler class, i.e. a main() that
just compiles all the .clj files on the command line and saves the
.class files. Patch attached.
It almost works. The only thing that seems to be missing is creating
the class for the namespace itself, like "
13 matches
Mail list logo