A PHP based lexer and parser that can be configured on the fly