Your IP : 216.73.216.74


Current Path : /proc/thread-self/root/usr/share/doc/perl-GraphViz/examples/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/perl-GraphViz/examples/yapp.pl

#!/usr/bin/perl -w
#
# This is an example of using GraphViz::Parse::Yapp
# to graph a simple Yapp grammar (well, the Ruby grammar
# converted to Parse::Yapp) 

use strict;
use lib '../lib';
use GraphViz::Parse::Yapp;

my $g = GraphViz::Parse::Yapp->new('Yapp.output');
$g->as_png("yapp.png");