Phil:
You ask whether, if I had found it, the following web page would have
helped:
http://dev.clojure.org/display/doc/Getting+Started+with+Emacs
The answer: Definitely yes.
The page advises me to use for bringing up a Clojure REPL
java -cp path/to/clojure.jar clojure.main
whereas the page
http://clojure.org/getting_started
advises
java -cp clojure.jar clojure.main
I followed the latter advice blindly because I didn't know what "-cp"
was doing.
What I have now done is follow the Confluence advice for setting the
value of the Aquamacs variable 'inferior-lisp-program, and so far things
are working well. Some time soon I want to set up a Slime plus Swank
Clojure plus Leiningen environment instead, but right now I prefer to
spend the time I have for such things digging deeper into Clojure proper.
By the way, I don't want to come across as unhappy with Clojure and
Clojurians. Starting with the creation of the language itself, I very
much appreciate what you guys have done and are doing, and I predict
that that creation and the subsequent evolution of the language will
ultimately go down as a major development in the history of computer
science -- at least, for the very important areas of programming
multi-processor systems and of experimental programming (so important,
for example, for artificial intelligence research).
--Larry
On 7/16/11 10:10 AM, Phil Hagelberg wrote:
On Fri, Jul 15, 2011 at 11:29 PM, Larry Travis<tra...@cs.wisc.edu> wrote:
Thanks, Sergey. The problem was indeed a classpath problem. The part of my
ignorance about Java that seems to cause me the most trouble is my ignorance
about Java classpaths. I think some Clojurians underestimate the
difficulties involved in learning Clojure without knowing Java first.
I updated the Confluence getting started page to address this last week:
Clojure is unlike most language in that you don't generally install Clojure
itself; it's just a library that's loaded into the JVM. You don't
interact with
it directly, you use a build tool and editor/IDE integration instead.
* IDEs and Editors
[...]
* Build Tools
[...]
http://dev.clojure.org/display/doc/Getting+Started
Would this have helped if you had found it? Using the jar file
directly is really not very common or convenient which is why it's not
well-documented, but people coming from other languages naturally
assume that the first step is to "install Clojure".
It's unfortunate that the Getting Started page on clojure.org is in
such an embarrassing state of disarray, but according to Clojure Core
they can't spare any resources to fix it at the present time. The
community-editable pages are generally much more helpful, but they
aren't as prominent or easy to find.
-Phil
--
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
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en