Do you want to create an html visualization in html? The main thing to 
check is other code walkers for reference 
like but I strongly recommend trying 
this out yourself without using other libraries as you will learn a lot in 
the process.

You don't need to "convert" clojure to nested lists. It already is a nested 
list. Wrapping a clojure exp in a macro provides the macro with the 
unevaluated nested data. Alternatively, when viewing files, then you simply 
want to call read/read-string on raw clj file data.

On Monday, November 29, 2021 at 3:16:23 PM UTC-5 wrote:

> 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 <> wrote: 
>> > On Tue, May 10, 2011 at 10:26 AM, Jonathan Fischer Friberg < 
>> > 
>> >> 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: 
>> > 
>> > 
>> > 
>> > 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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
For more options, visit this group at
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 view this discussion on the web visit

Reply via email to