tokenize constants and keywords; parse literals