On Jul 8, 10:14 am, "Stephen C. Gilardi" <[email protected]> wrote:
> Once it's compiled, it's JVM bytecode. I'm not aware of a tool that  
> could decompile it into Clojure code, even in a low-level form.

That's what I was afraid of.

How do folks interactively code with a REPL and then once things
"settle down" dump it back out so you can make a proper module out of
it?

I'm using that JLine thing for command history, but I would imagine
it's completely oblivious to Clojure forms so they get split
(potentially, depending on how I typed it) on multiple lines.

Is SLIME (slime?) a better approach to interactive development?
(I.e., is it like a REPL in a buffer, and does it have hooks so you
know which definition of what is actually in place currently?)

I find myself doing a lot of:

(use :reload-all 'some-more-stable-thing-im-working-on)
(defn foobar [...] ...)
; play with stuff, oops
(defn foobar [...] ...) ; fixed foobar
(defn foobaz [...] ...) ; etc.
(defn foobar [...] ...) ; fixed foobar again
;; now I want to take the new stuff I've experimented with in the REPL
and
;; put it in some-more-stable-thing-im-working-on, but what is it?

Does this make any sense?  Maybe I'm not doing things right.  Again,
any advice on what your interactive development workflow is would be
appreciated!

Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to