Atomi propusi pentru analiza lexicala

litera ::= A . . Z | a . . z
cifra ::= cifraZec | A . . F | a . . f
cifraZec ::= 0 . . 9
identificator ::= litera( litera | cifraZec )*
cuvantCheie ::= and | begin | case | char | const | div | do | downto | else | end | for | function | if | integer | mod | not | of | or | procedure | program | real | repeat | then | until | var | while
constNum ::= nrIntreg | nrReal
nrIntreg ::= nrBaza10 | baza@cifra (cifra )*
nrBaza10 ::= ( cifraZec )+
baza ::= cifraZec [ cifraZec ]
nrReal ::= nrBaza10.nrBaza10 [ ( E | e ) ( [ + ] | - ) expon]
expon ::= cifraZec [ cifraZec ]
delimit ::= ;| . | , | : | ..
operator ::= + | - | * | / | ( | ) | [ | ] | < | <= | > | >= | <> | = | :=
coment ::= { ( caracter_tiparibil | spatiiAlbe )*}
spatiiAlbe ::= blank | tab | CR\LF
constSir ::= "( caracter_tiparibil | blank )* "
constChar ::='caracter_tiparibil | blank'

Legenda: