I've created basic bnf-like file which allows to generate parser with Grammar-Kit. It allows different injections, so i think it would be enough to handle perl.
I've implemented few built-ins tree building: package, sub, use and require
I've created annotator, which allows to show a error message with proper syntax hint.