On Nov 20, 2:04 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> I'm in favor. I'd like to get a single story together incorporating
> Stuart's build.xml, his file compiler:
>
> http://groups.google.com/group/clojure/msg/4f0aa3be9a2dc79d
>
> and this path suggestion.

Yes!  All we need is a file compiler that works. :)  There's something
missing, in both my attempts, which causes the root class file for the
namespace not to be generated.  Rich, any idea what's missing?

Related to this, I would like separate the lib/require system from
loading/compiling.  Basically, I'd like to bring back load-file, and
add compile-file, like this:

* "require/compile" take a symbol argument, the name of a lib, and
load the necessary files from the classpath.

* "load-file/compile-file" take a string argument, interpreted as a
normal filesystem path

* "load" takes a string argument naming a resource, like "foo/bar",
and loads either foo/bar.class or foo/bar.clj from the classpath

Ideally, the file compiler is just a main() that invokes compile-
file.  This simplifies build.xml, eliminates the need for
precompile.clj, and gives us a standalone Clojure compiler.  Whee!

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to