Wrote a parser for literal values