Lexer/Parser (Boost::Spirit like) written in Javascript