最初に書こうと思ったのはファイルの依存関係とタイムスタンプから実行の必要なテストを見つけるプログラムで、makefile風に書くと dependency-list: **/*.scm update-dependency dependency-list $? for test in $$(find-test --backward dependency-list $?); do \ gosh $${test} ; \ done のようなプログラムだったのだけど、とりあえずモジュールの依存関係をグラフ化してみた 追記: Gauche 0.9.7に対して再びグラフ化してみた。 グラフ化はGraphvizのtwopiで、 twopi -Tpng dotファイル -o 出力ファイル.png みたいにして、dotファイルの生成は以下のプログラム。 (use file.util) (use srfi-1)
![Gaucheのライブラリモジュールの依存関係のグラフ - 再帰の反復blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/51e658f1c068d9b6862fe25d02b3101527cf8a2e/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fl%2Flemniscus%2F20130217%2F20130217001611.png)