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 8:24

THIS THREAD HAS BEEN REPLACED WITH THE FOLLOWING THREAD:
  
   Subject: The D Programming Language
   Name:
   It does   work.

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