Just stumbled across this thread 10 years later! I'm actually interested in doing the same thing: taking some clojure logic that I write and converting it to a call-graph in html. Is there any prior art here I should know about? Or can this be done with basic clojure to e.g. convert the code of a function into nested lists for me to then convert to html?
- Kovas On Tuesday, May 10, 2011 at 8:18:03 PM UTC-7 Bill Robertson wrote: > Thanks for the feedback and pointers. > > > > On May 10, 11:37 am, Timothy Baldridge <tbaldri...@gmail.com> wrote: > > On Tue, May 10, 2011 at 10:26 AM, Jonathan Fischer Friberg < > > > > odysso...@gmail.com> wrote: > > > "How do I actually just load code w/o evaluating it?" > > > mostly when you want something like this, you want a macro. > Manipulating > > > code is also done within macros. > > > > Yeah, I would consider the whole code-is-data thing to refer more to > using > > macros than eval. For something fun to read up on this check out this > > tutorial: > > > > http://www.learningclojure.com/2010/09/clojure-faster-than-machine-co... > > > > Here the author goes and takes a tree data structure, and on-the-fly > > generates function that represents that structure. The result is some > > insanely fast code. > > > > Timothy -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/c5c6965d-0098-484d-bec7-48e57e149ccfn%40googlegroups.com.