I reply to myself.
The answer is here: http://clojure.org/compilation
http://clojure.org/compilationSorry
2010/5/28 Catonano caton...@gmail.com
Hello people,
so, my questions are not about Clojure, they're about the tools of the
trade. I hope no one will be bothered. In my opinion the tools are a part of
this.
So, the swank-clojure-project is gonna be deprecated and I should settle on
slime-connect instead. Fine.
But being a beginner with both Emacs and Slime, I'd appreciate some insight
about what the usage patterns are supposed to be.
I mean, what is gonna happen when I ask slime to compile the contents of a
buffer ? Is it gonna produce a .class file ? Or a jar ? Where is it gonna
put it ?
Are the contents of the file gonna be available from that time on ? Or
should I add the thing to the dependencies ?
Right now, I connected to my lein based swank server, then I defined a
small hello world function in a file. From the SLIME menu I choose compile
defun and it doesn't complain about anything. I choose compile file and an
error pops up with a stacktrace (ugh) and the third line in the stacktrace
says something like
user$eval__1975.invoke(NO_SOURCE_FILE)
So, I wonder: what's going on ?
Thanks for ANY hint
Catonano
--
La difesa più sicura contro il male è l'estremo individualismo,
l'originalità di pensiero, la stravaganza, perfino, se volete,
l'eccentricità… Il male va matto per la solidarietà.
Less than one di Joseph Brodsky
--
La difesa più sicura contro il male è l'estremo individualismo,
l'originalità di pensiero, la stravaganza, perfino, se volete,
l'eccentricità… Il male va matto per la solidarietà.
Less than one di Joseph Brodsky
--
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