Short version:  How do I just open an editor, type in some Clojure
code, save it in a file, and then run it?

Long version:  Okay, I'm very new to Clojure.  But I'm not a Java
programmer (don't want to be).  I'm not used to all this complexity
just to do something simple.  What I want to do is the "normal
programming" that I do with every other environment and language I
work with, i.e. I edit some source code on screen, save it in a file,
and either compile/run, or interpret it or whatever.  But I haven't
figured out how to do that yet, and don't know if it's possible.

I downloaded Netbeans and Enclojure.  It runs fine.  I can get a REPL,
blah blah.  But have no idea how to do anything "real" i.e. execute a
program saved in a file.  Again, I want to edit some code with the
very nice editor, save it, and hit some button that says "execute" or
perhaps "compile and execute" or perhaps "build and execute" or
whatever.  But apparently there is a heck of a lot more to it than
that.  I understand that you have to build a "project" or whatever.
Fine - I did that.  Still, I have no idea which directory out of that
huge structure I'm supposed to put code in, I have no idea how to set
up all these "dependencies" or whatever.  I did try some random stuff,
i.e. saving a file in various directories and hitting "build" but that
didn't work.  I also tried editing various files that were already
there, hoping one of them was the "main" file I was supposed to be
dumping source code into, but that didn't work either.

So I downloaded Clojure Box.  It installs and runs fine.  Again, I get
a REPL no problem.  But there's only so much coding I can do in a
REPL.  Again, I'd like to do more.

I spent a long time trying to find some help online (googling, etc),
but everything I've found assumes I know too much, i.e. how to set up
all these projects and dependencies.

Actually, I'm not interested in fooling with all the boilerplate and
crap AT ALL.  So if I HAVE to do that, I'm outta here.  But something
tells me I may not have to, i.e. there may be some automated tool
somewhere, or some "template" files I can just use over and over, or
some "trick" to use like "just name your program 'main' and stick it
in such-and-such directory."

Any help?

-- 
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

Reply via email to