On Jul 7, 2:05 pm, John Cromartie <jcromar...@gmail.com> wrote:
> I've whipped up a proof-of-concept of how to implement built-in
> examples for functions and macros.

I've been poking at something similar:

http://github.com/markmfredrickson/postdoc

In my version, examples can be either strings or quoted code. If you
want to add explanation, you can use strings like ";this is a comment
\n(foo 1 2 3)". There is a function (examples ...) that runs the
examples in a sandboxed namespace (I'm still working out some bugs on
this). There is a version on clojars if you want to play with it:

http://clojars.org/postdoc

The system also has some smarts for tagging and cross-indexing.

-M

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