implement literal reader for date