lexical analyzer using recursive descent parsing,CD assignment