On Wed, Dec 10, 2008 at 7:15 AM, Simon Brooke <[EMAIL PROTECTED]> wrote: > > I note people seem mainly to be using Emacs as an editing/development > environment for Clojure. But as people keep pointing out, Clojure is > homoiconic; the canonical source of a function is not a stream of > bytes read from a file, but is a structure in core. > > Now, in-core editing does raise some issues - there needs to be some > means of associating the structure which is the canonical source of a > function with the function itself
There is sufficient information provided in most Var metadata to get the source code where the Var defined (assuming the source code is available in the classpath). I'm working on (or perhaps more accurately, poking at) a small program to leverage Swing to provide an environment for editing Clojure and interacting with a running REPL. It's by no means emacs or even vim yet, but it will have no dependencies beyond what Clojure requires and may provide a sufficiently comfortable environment for spot-editing. It will also attempt to be an acceptable starting place for people wanting to play with Clojure who aren't too deeply committed to emacs or vim. It already has an 'open' function to pull up the source of a function in the edit pane. I'm not ready to provide a link yet, but go ahead and ask me in a few weeks how "textjure" is coming along. --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---