You are on page 1of 3

TD: Analyse Syntaxique

Exercice1:

1)

2)
3)

Exercice2:

1)

Premier(S) =a,b,c ; Follow(S) = ,0

Premier(A) =c,b,eps ; Follow(A) =a


Premier(B) =b ; Follow(B) =,b,a

Premier(C) =c,eps ; Follow(C) =b

Exercice3:

1)

SE; SE; SE+T ; S T+T ; SF+T ; S const+T ; S const+T*F;

Sconst +F*F; Sconst + const * const  5+3*2

You might also like