Yes, it is indeed easy to do what you say, and it's close to what I think is needed but not quite there, mainly because it won't give you an editing environment with Clojure indentation or paren-matching. As I mentioned I think those editor features are really necessary, and unfortunately the next step, to get Clojure-aware editing, is messier. Also, BTW, I think that contrib is necessary, which your method won't provide. And (this I actually just don't know) if you want to split your code into multiple files that require each other, will they be found if they're in the same directory?
-Lee On Jun 28, 2010, at 11:23 PM, Brent Millare wrote: > > > On Jun 28, 6:34 pm, Lee Spector <lspec...@hampshire.edu> wrote: >> Speaking for me only: Let a million IDEs bloom. >> >> I'm just expressing my interest in there being at least one that allows new >> users to download/install/edit/run code with minimal work and minimal prior >> knowledge. >> > > Technically if its just this as your requirement, this is easy. > > 1. Download and install > $ mkdir easy-to-setup > $ cd easy-to-setup > $ wget http://clojure.googlecode.com/files/clojure-1.1.0.zip > $ unzip clojure-1.1.0.zip > > 2. Edit code in any text editor. > $ nano foo.clj > or > $ emacs foo.clj > or > $ gedit foo.clj > > 3. Run (get a repl going) > $ java -cp "clojure-1.1.0/clojure.jar:./" clojure.main > > Boom done. In 3 easy steps. This of course assumes a *nix environment > but thats easy to do these days with ubuntu, OS X, and vmware/ > virtualbox. I'd assume a windows java developer could easily write a > tutorial for windows users. > > I believe that asking for other requirements, like getting it to work > with your favorite IDE, is what makes it hard for newbies if there is > little support, however, that is to be expected. > > I'm trying a new approach to make meeting more difficult requirements > easier with my clojure distribution, http://github.com/bmillare/dj but > there is still a lot of work needed, including getting it to self > install on different platforms. > > Best, > Brent -- Lee Spector, Professor of Computer Science School of Cognitive Science, Hampshire College 893 West Street, Amherst, MA 01002-3359 lspec...@hampshire.edu, http://hampshire.edu/lspector/ Phone: 413-559-5352, Fax: 413-559-5438 Check out Genetic Programming and Evolvable Machines: http://www.springer.com/10710 - http://gpemjournal.blogspot.com/ -- 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