Add scripts to generate the lr tables

This allows the parser to used the cached lr table for a significant
performance boost.
Update perfect to run single files