L-attributed grammar
id:
l-attributed-grammar-323-9599615
title:
L-attributed grammar
text:
L-attributed grammars are a special type of attribute grammars. They allow the attributes to be evaluated in one depth-first left-to-right traversal of the abstract syntax tree. As a result, attribute evaluation in L-attributed grammars can be incorporated conveniently in top-down parsing. A syntax-directed definition is L-attributed if each inherited attribute of X j on the right side of A → X 1 , X 2 , … , X n depends only on the attributes of the symbols X 1 , X 2 , … , X j − 1 the inherited
brand slug:
wiki
category slug:
encyclopedia
description:
original url:
https://en.wikipedia.org/wiki/L-attributed_grammar
date created:
date modified:
2020-07-17T05:50:46Z
main entity:
{"identifier":"Q3113340","url":"https://www.wikidata.org/entity/Q3113340"}
image:
fields total:
13
integrity:
13