Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1.  
  2.  
  3. Litera = "a" | "A" | "b" | "B" | "c" | "C" | "d" | "D" | "e" | "E" | "f" | "F" | "g" | "G" | "h" | "H" | "i" | "I" | "j" | "J" | "k" | "K" | "l" | "L" | "m" | "M" | "n" | "N" | "o" | "O" | "p" | "P" | "q" | "Q" | "r" | "R" | "s" | "S" | "t" | "T" | "u" | "U" | "v" | "V" | "w" | "W" | "x" | "X" | "y" | "Y" | "z" | "Z";
  4. Cifra = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
  5. Cifra_nenula = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
  6. Spatiu = "_" ;
  7.  
  8. Operator_unar = "&" | "*" | "+" | "-" | "!" | "-";
  9. Operator_binar = "+" | "-" | "*" | "/" | "%" | "&" | "|" | "&&" | "||" | "^" | ">>" | "<<" || "<" | ">" | "<=" | ">=" || "==" || "!=";
  10. Operator_postfixare = "++" | "--";
  11. Operator_prefixare = "++" | "--";
  12. Operator_atribuire = "=" | "+=" | "-=" | "/=" | "*=" | "|=" | "&=" | "^=";
  13. Operand = Cifra_nenula , {Cifra} | {Litera};
  14.  
  15.  
  16.  
  17. Expresie = (Operator_unar ,Spatiu, Operand) | (Operand , Spatiu, Operator_binar , Spatiu , Operand) , Expresie;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement