Paul C. Anagnostopoulos via llvm-dev
2020-Jul-28 12:02 UTC
[llvm-dev] TableGen terminology
Folks, I'd like to get involved with LLVM and I'm thinking of doing a little editing of the TableGen documents. After reading the Introduction and Reference documents, I see that there is no consistent term for the fields of the records that TableGen creates. They are referred to as fields, values, definitions, etc. I propose to make this consistent with the term "field." Is that the best choice? Other possibilities are "slot" and "item." I think it's clear that "value" and "definition" are confusing. ~~ Paul
"Paul C. Anagnostopoulos via llvm-dev" <llvm-dev at lists.llvm.org> writes:> I'd like to get involved with LLVM and I'm thinking of doing a little > editing of the TableGen documents. After reading the Introduction and > Reference documents, I see that there is no consistent term for the > fields of the records that TableGen creates. They are referred to as > fields, values, definitions, etc. > > I propose to make this consistent with the term "field." Is that the > best choice? Other possibilities are "slot" and "item." I think it's > clear that "value" and "definition" are confusing.+1 for "field." I don't know if "field" is used in other contexts though. "A record-level let expression is used to change the value of a value definition in a record." lolwat -David