How to use Clojure with Robocode

2010-03-19 Thread ubolonton
Hi, Has anyone been able to use Clojure with Robocode? I've followed this http://www.fatvat.co.uk/2009/05/clojure-and-robocode.html but got the error Round 1 initializing.. Let the games begin! java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0

Re: How to use Clojure with Robocode

2010-03-21 Thread ubolonton
On Mar 19, 8:19 pm, Jeff Foster wrote: > Could you post the source code? This is the Clojure code (ns ubolonton.MyRobot (:gen-class :extends robocode.Robot)) (defn -run [robot] (doto robot (.ahead 100) (.turnGunRight 360) (.back 100)) (.turnGunRight 360) (recur robot)) (d

Re: How to use Clojure with Robocode

2010-03-21 Thread ubolonton
On Mar 20, 9:46 pm, "Heinz N. Gies" wrote: > Hi, > I hope that in a week or two I am able to release a 'mini game' as a tech > demo for something some friends and me are working on, if you're interested > in Robocode you might like it. It will be a tournament game where two fleets > fight eac

Re: Problem with installation of swank-clojure without elpa...

2010-04-05 Thread ubolonton
Maybe you forgot this (ad-activate 'slime-read-interactive-args) -- 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 you

Re: Problem with installation of swank-clojure without elpa...

2010-04-05 Thread ubolonton
dvice using `ad-activate' after (require 'swank-clojure) On Apr 6, 2:23 am, Preecha P wrote: > Tried that, not working. It gave me "Wrong type argument: stringp, > 126" error in mini buffer. I don't think that's the problem,  most > '.emacs" I sa