program PFL(input, output); label 99; {error failure; stop} type alfa = packed array [1..10] of char; #include "lex.type.P" {Lexical Types} #include "syntax.type.P" {Syntactic Types} var prog:tree; #include "syntax.print.P" {Print a Parse Tree} #include "syntax.P" {The Parser} #include "lazy.exec.P" {The Interpreter} begin prog:=parser; writeln; writeln(' --- end of parsing --- '); printtree(prog); writeln; writeln(' --- running --- '); execute(prog); 99:writeln; writeln(' --- finished --- ') end. {\fB Parallel Functional Language Interpreter, Main Program. \fP} { Do not remove: This program is released under Gnu `copyleft' General } { Public Licence (GPL) -- L.Allison, CSSE, Monash Uni., .au, 7/2004 }