Advertisement
Guest User

Untitled

a guest
Dec 18th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <identifier> :== <primul_caractere> <repetat_lc> | <primul_caracter>
  2. <primul_caracter> :== <underscore> | <letter>
  3. <litera_cifra> :== <letter> | <digit>
  4. <repetat_lc> :== <litera_cifra> | <litera_cifra> <repetat_lc>
  5. <letter> :== "A" | "B" | ... | "Z" | "a" | "b" | ... | "z"
  6. <digit> :== "0" | "1" | ... | "9"
  7. <digit_plus> :== "1" | "2" | ... | "9"
  8. <underscore> :== "_"
  9. <const> = <int> | <char> | <string> | <true> | <false>
  10. <int> :== <digit> | <positive_number> | "-" <positive_number>
  11. <cint> :== <digit> | <digit> <cint>
  12. <positive_number> :== <digit_plus> | <digit_plus> <cint>
  13. <string> :== <letter> | <letter> <string>
  14. <OP_P1> = "+" | "-"
  15. <OP_P2> = "*" | "\"
  16. <RELATION> = "==" | ">" | ">=" | "<" | "<=" | "!="
  17. <digit> = "0" | "1" | ... | "9"
  18. <digit_plus> = "1" | "2" | ... | "9"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement