Literal parser implementation.