Do you want to create an html visualization in html? The main thing to
check is other code walkers for reference
like https://github.com/ztellman/riddley 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 "c
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
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 <
>
> 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 m
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-i
"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.
http://www.gigamonkeys.com/book/macros-standard-control-constructs.html
http://www.gigamonkeys.com/book/macros-defining-your-own.html
Jon
Thank you very much.
On May 10, 1:32 am, Justin Kramer wrote:
> 'read' and 'read-string' are what you're looking for. They each read a
> single Clojure object from an input source (PushbackReader for read,
> String for read-string).
>
> Alternatively, something like this can read all top-level fo
'read' and 'read-string' are what you're looking for. They each read a
single Clojure object from an input source (PushbackReader for read,
String for read-string).
Alternatively, something like this can read all top-level forms from a
file:
(defn read-all
"Reads all top-level forms from f, whi