#clojure logs

2008-07-11

04:21homayoonhi. anyone here has any experience with setting up slime with both a common lisp implementation and clojure? i'm getting an error message when i run "M-- N-x slime clojure" saying "Unable to resolve symbol: progn in this context"
04:53ktnehi, anyone here using enclojure?
18:30tomppaI have searched the Clojure pages and group but I couldn't find any info on if it is it possible to compile Clojure to .class files?
19:06pjb3_tomppa: kind of, it depends on what you are trying to do
19:07pjb3_You can use gen-and-save-class to create a class file
19:08pjb3_but also, clojure code gets JIT compiled at runtime, so if you just have clojure code, you can include in in a jar and have your java program load it
19:57jouberthi there,
19:58Chouserhi
19:58jouberthi Chouser.
19:58joubertdoes anybody here use the slime/swank stuff for Clojure? I have a Q about auto paren closing
19:59joubertmay of my expressions end in things like }]}))]}]})
19:59joubert:-)
19:59Chouseryeah, there are people here who use emacs, but I'm not one of them.
19:59Chousersorry.
19:59joubertin CL, you can use slime to auto-close parens, or if you forget the shortcut, just keep hitting ) and with auto-highlighting you know when to stop
20:00joubertbut with ] } and ), this becomes cumbersome
20:00joubertit totally slows me down
20:00Chouserhm, good point.
20:01ChouserI often type open and close brackets together, and then insert code in-between.
20:02joubertYeah. I really love the syntax for maps, vectors, etc. but can make editing a pain if you have larger expresson trees.
20:02joubertI guess one could add it to the Clojure slime/swank interface
20:02Chouserit hadn't struck me as a "pain", but you do have a point
20:03ChouserI guess I never used CL enough to get used to a single kind of close syntax.
20:03joubertyeah, because you have to *read* and decide which bracket style comes next, instead of just going ))))))
20:04Chouseryep, I understand.
20:05joubertI'm going to shoot Jeffrey Chu a note and see whether he can add paren-close to his slime/swank module, if it does not already exist.
20:05joubertChouser: what editor do you use?
20:12Chouservim
20:18joubertok; what's the clojure support like there?
22:56Chouseroh, it's got syntax hilighting and pretty good indentation support.