• Aucun résultat trouvé

( X → aXb | aY | ε Y → aY | ε

N/A
N/A
Protected

Academic year: 2022

Partager "( X → aXb | aY | ε Y → aY | ε"

Copied!
1
0
0

Texte intégral

(1)

Exerie 1: Donnerinq exemples demots dansles langages dénisparles grammaires

suivantes, ainsi que des dérivations le prouvant, et les arbres syntaxiques (dans haque as, le

symboledestartest

X

):

(1) X → aXc | bXc | ε (2) X → aXa | bXb | ε (3)

( X → aXb | aY | ε Y → aY | ε

Danshaqueas,dérireaussilelangageaepté,souslaforme

L =

w ∈ {a, b} | w

satisfait lapropriété

P

Exerie 2: Donnerdesgrammairesdontlessolutionssontleslangagessuivants:

L 1 =

a n b 2n | n ∈ N L 2 =

w1 n | w ∈ {a, b} , n ∈ N , n = # a (w) L 3 =

a n b m | n ≤ m ≤ 2n, n ∈ N

Exerie 3: Indiquerpourhaun desmots

abbaaa

,

aabbbab

,

aabaaaaa

s'il appartientau

langagedesgrammairesuivantes :

(1)

 

 

S → aBA | bBS A → SB | BA B → aSS | ε

(2)

 

 

 

 

S → aSbAB | aAb | CCA | ε A → bSSA | ASa | B | ε B → BBS | AS | aAS | ACbb C → aSCa | CbC | aC

Attentionauxnonterminauxinutiles!(inaessiblesounon-génératifs)

Références

Documents relatifs

~ -:-Som8 pageS '~ay ,1have indistlnci prin/ :;;;cially if the originlil pages'were typed with a poor typewriter ribbOn'or if the univeflity sentus a poor photocopy;..

(Files of. :· ati:-uctional ·conunittee, decided on · a family life education.. Development of· the Catholic Family ·Life Program. of the Catholic Educati. School nqarcf

Evaluation of the periaqueductal central gray (PAG) as a morphine spe~ific locus of .action and examination. of morphine induced an~stimulation pro- duced analgesia

teur (articles de revue, exameris publies, etc.) ne sont pas. La ~eproduetion, meme partielle, · de. Veuillez prendre eonnaissance de' s for- mules d' autorisation. qui

.•. h~ve i: ndistinct prin. the university s' enf us. rious a fait paivenir une photocopie de'mau.Jaise qualite. the authorization 'torms ·which accompany this thesif?. NOUS L'

Centre .-(include.. kind of ·transportation do you.. emergency department to' :you and..

treated oysters became infected only if a suspension of spirochetes was added to the sea water in which they were held, and this infection was of short

It is considered that for strong electrophiles the rate determining (and substrate selectivity determining) trans- ition state resembles an oriented 1T-complex