Exemple #1
0
<?php

/**
 * Parses and runs the keymaker.wr program using
 * the php Whirl parser, made by Jakob Westhoff
 * <*****@*****.**>
 */
include_once "phpWhirl/classes/WhirlParser.php";
$filename = "test/subjects/benchmarks/php-benchmarks/benchcli/tests/phpWhirl/keymaker.wr";
$whirl = new WhirlParser();
$whirl->loadfile($filename);
$whirl->parse();