dbo:abstract
|
- Une grammaire LR-attribuée est un type spécial de grammaire attribuée.Elle permet aux attributs d'être évalués par un . Ainsi, l'évaluation d'attributs est incorporéede manière commode dans un . zyacc est fondé sur une grammaire L-attribuée.Les grammaires attribuées sont un sous-ensemble des grammaires LR-attribuées où les attributs peuvent être évalués par unetraversée de gauche à droite de l'arbre syntaxique abstrait. Elles sont un sur-ensemble des qui n'autorisent que les attributs synthétisés. Avec yacc, un hack répandu consiste à utiliser des variables globales pour simuler les attributs hérités et donc l'attributionde type LR. (fr)
- LR-attributed grammars are a special type of attribute grammars. They allow the attributes to be evaluated on LR parsing. As a result, attribute evaluation in LR-attributed grammars can be incorporated conveniently in bottom-up parsing. zyacc is based on LR-attributed grammars. They are a subset of the L-attributed grammars, where the attributes can be evaluated in one left-to-right traversal of the abstract syntax tree. They are a superset of the S-attributed grammars, which allow only synthesized attributes. In yacc, a common hack is to use global variables to simulate some kind of inherited attributes and thus LR-attribution. (en)
|
dbo:wikiPageExternalLink
| |
dbo:wikiPageID
| |
dbo:wikiPageLength
|
- 1172 (xsd:nonNegativeInteger)
|
dbo:wikiPageRevisionID
| |
dbo:wikiPageWikiLink
| |
dcterms:subject
| |
gold:hypernym
| |
rdf:type
| |
rdfs:comment
|
- LR-attributed grammars are a special type of attribute grammars. They allow the attributes to be evaluated on LR parsing. As a result, attribute evaluation in LR-attributed grammars can be incorporated conveniently in bottom-up parsing. zyacc is based on LR-attributed grammars. They are a subset of the L-attributed grammars, where the attributes can be evaluated in one left-to-right traversal of the abstract syntax tree. They are a superset of the S-attributed grammars, which allow only synthesized attributes. In yacc, a common hack is to use global variables to simulate some kind of inherited attributes and thus LR-attribution. (en)
- Une grammaire LR-attribuée est un type spécial de grammaire attribuée.Elle permet aux attributs d'être évalués par un . Ainsi, l'évaluation d'attributs est incorporéede manière commode dans un . zyacc est fondé sur une grammaire L-attribuée.Les grammaires attribuées sont un sous-ensemble des grammaires LR-attribuées où les attributs peuvent être évalués par unetraversée de gauche à droite de l'arbre syntaxique abstrait. Elles sont un sur-ensemble des qui n'autorisent que les attributs synthétisés. (fr)
|
rdfs:label
|
- Grammaire LR-attribuée (fr)
- LR-attributed grammar (en)
|
owl:sameAs
| |
prov:wasDerivedFrom
| |
foaf:isPrimaryTopicOf
| |
is dbo:wikiPageWikiLink
of | |
is foaf:primaryTopic
of | |