Heh heh, pretty bad. I couldn't remember and had to go back and read the
code. Here is how to run it:

./utils/plot-code.scm db.scm,runs.scm *.scm > test.dot
dot -Tpdf test.dot > test.pdf

This reads all .scm files and creates output for db.scm and runs.scm.

I'd like to enhance this to be able to filter functions for the display.


On Wed, Feb 19, 2014 at 4:18 AM, Geoffrey <[email protected]>wrote:

>  Hi Matt, what are the command line arguments that should be passed?
>
> (define files (cddddr (argv))) ?
>
>
> On 11/02/14 17:15, Matt Welland wrote:
>
>  I made a hack to try this out and although very interesting the output
> (i) is crude. The script itself (ii) is an awful mess.
>
>  Somehow though it seems to me there could be some useful insight to be
> gained from something visual like this and I imagine it has been done
> before. Any pointers to nice ways to visualize scheme code would be
> appreciated. I poked around in Google land but didn't find quite what I was
> looking for.
>  --
> Matt
> (i)
> http://www.kiatoa.com/cgi-bin/fossils/megatest/doc/re-re-factor-server/docs/results.pdf
> (ii)
> http://www.kiatoa.com/cgi-bin/fossils/megatest/doc/re-re-factor-server/utils/plot-code.scm
> -=-
> 90% of the nations wealth is held by 2% of the people. Bummer to be in the
> majority...
>
>
> _______________________________________________
> Chicken-users mailing 
> [email protected]https://lists.nongnu.org/mailman/listinfo/chicken-users
>
>
>


-- 
Matt
-=-
90% of the nations wealth is held by 2% of the people. Bummer to be in the
majority...
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to