retagged by
603 views
1 votes
1 votes
Which statement is/are true ?

$a). $Using a top-down Translation scheme, we can implement any L-attributed definition based on LL(1) grammar.

$b).$ Using a bottom-up Translation scheme, we can implement any L-attributed definition based on LL(1) grammar.

$c).$ Using a top-down Translation scheme, we can implement any L-attributed definition based on LR(1) grammar.

$d).$ None of above follows
retagged by

1 Answer

0 votes
0 votes

Attributed evalution in L- attributed grammar is similar to Top down parsing.

Option A is correct.

Reference: http://web.cs.wpi.edu/~cs544/PLT6.5.2.html

Correct me if i am wrong

Related questions