I've been wondering this as well -- I'm specifically curious about how one might jump back and forth between literate source like this<https://raw.github.com/nakkaya/nakkaya.com/master/resources/posts/2011-12-15-fractals-in-clojure-distributed-buddhabrot-fractal-using-clojurescript.org> and the REPL. I know you can evaluate code snippets into the repl; I'm thinking of early steps like loading an entire namespace into the repl when its code exists in separate code blocks. Some command like "evaluate all code snippets that'll be tangled into this file."
I will blog the hell out of this once I figure it out. My goal is to rewrite Cascalog as a literate program. On Mon, Jan 23, 2012 at 5:14 AM, Colin Yates <colin.ya...@gmail.com> wrote: > Hi all, > > There are some excellent resources on this mailing list regarding literate > resources, but they are more based around the theory rather than actual use. > > Has anybody got any "real world usage reports" regarding using literate > programming in emacs? In particular, does paredit and slime work inside > the clojure "fragments" when using org.babel for example? > > Finally - how are people finding practising TDD with literate programming? > I imagine that Clojure's excellent REPL (+ evaluating clojure forms from > within a buffer) mean there are far less "type, extract tangled code, run > tests" needed. Hmmm, not sure that is clear. What I mean is, do people > find that the ability to evaluate a clojure form from within org.babel > (assuming that is possible!) is sufficient for TDD or do you find you need > to type, extract the tangled code and then run lein (for example) to run > the tests? > > Basically - how do y'all get on with TDDing in emacs following the > approach of literate programming - any advice welcome! > > Thanks all. > > Col > > -- > 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 -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie09 (Too brief? Here's why! http://emailcharter.org) -- 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