Parser and Lexer for Laravel 4