I'd like to announce fedit, a structure editor for Clojure, is now 
available on GitHub:

https://github.com/simon-brooke/fedit

It is experimental, proof of concept code, and has bugs and infelicities. 
It emulates the Portable Standard Lisp/Cambridge Lisp fedit, a terminal 
oriented structure editor, not the InterLisp DEdit display editor, but it 
is preliminary code towards writing a display editor (I've now worked out 
more or less how I would approach that). If it is to be developed further, 
it will need a substantial (but backwards compatible) reworking of the 
Clojure package system, since that is predicated on the concept of 
out-of-core text editing.
Usage

Preliminary, incomplete, alpha quality code. This implements a structure 
editor in a terminal, not a display editor in the tradition of InterLisp's 
DEdit. I do intend to follow up with a display editor, but this is 
exploratory proof-of-concept code.

To edit an arbitrary s-expression:

(sedit sexpr)

This pretty much works now; it returns an edited copy of the s-expression. 
Vectors are not handled intelligently (but could be).

To edit a function definition

(fedit 'name-of-function)

This is still broken (it cannot rebind the function symbol), but shows 
promise.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to