Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Prolog

Name: Anonymous 2010-11-17 10:04

I want to make a rule dependency graph for a Prolog program. For instance, the following program


foo :- bar.
bar :- quux, coox.
baz.


would result in


depends(foo, [bar]).
depends(bar, [quux, coox]).
depends(baz, []).


(which I would turn into a graph using some graphic hackery). Any tips? (I've already read SICP.)

Name: Anonymous 2010-11-18 16:21

How many Prolog programmers does it take to change a lightbulb?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List