logo - 刷刷题
下载APP
【单选题】

In the definition of L-attributed, if the production A→X_1, X_2,⋯,X_n, each semantic rule of N calculates the inherited attribute of X_j (1≤j≤n), then it depends on ① Inherited attribute of a ② Synthesized attribute of a ③ Attributes of production X_j's left symbol X_1 X_2,⋯,X_(j-1) ④ Attributes of production X_j's right symbol X_(j+1) X_(j+2),⋯,X_n

A.
①③
B.
②④
C.
①④
D.
②③
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】Which of the following statements about the definition of L-attributed is correct ()

A.
S-attributed definition belongs to l-attributed definition
B.
The syntax-directed definition of variable type declaration is not an l-attributed definition
C.
L-attributed definition contains only synthesized attributes
D.
L-attributed definition contains only inherited attributes

【单选题】当前制约ODR发展的因素是()

A.
ODR的推广和宣传还不够
B.
缺乏ODR工作人员的职业规范和管理制度
C.
缺乏ODR程序规则最低限度原则的统一
D.
以上皆是