Documentation is available at generate_path.php
<?php require_once 'PHP/LexerGenerator.php'; $lex = new PHP_LexerGenerator('Path.plex');