This is an old revision of the document!


Sujets

  1. Écrivez un AFN qui accepte (aabb)|(a(ab)*a). Transformez-le en un AFD.
  2. Écrivez l'expression régulière d'un domaine Internet
  3. Ecrivez la grammaire LL / LR pour la langage suivante
    [object methodParameterName1:parameter1 parameterName2:parameter2 parameterName3:parameter3 ...]
  4. Ecrire un analyseur LL pour la grammaire suivante (FIRST, FOLLOW)
    S -> select F from id
    S -> select F from id where E
    F -> id, F
    F -> id
    F -> epsilon
    T -> id
    E -> id op E
    E -> id
    E -> number
  5. Ecrire un analyseur LR pour la grammaire suivante (FIRST, FOLLOW)
    S -> select F from id
    S -> select F from id where E
    F -> id, F
    F -> id
    F -> epsilon
    T -> id
    E -> id op E
    E -> id
    E -> number
  6. Prouvez que la grammaire suivante n'est pas LL (0) / LR (0)
    \
    E -> E + E
    E -> id
    E -> number
alf/res/subiecte.1495064427.txt.gz · Last modified: 2017/05/18 02:40 by alexandru.radovici
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0