Advertisement
cardel

Untitled

Jun 24th, 2019
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <programa> := (un-programa) expresion
  2.  
  3.  
  4. <expresion> := (numero-lit) <número>
  5. := (texto-lit)"<letras>"
  6. := (primitiva-exp) <primitiva> [expresion (expresion*) (;)]
  7.  
  8. <primitiva> := (suma) +
  9. := (resta) -
  10. := (modulo) mod
  11. := (multiplicacion) *
  12. := (concat) concat
  13. := (length) length
  14.  
  15. <número> digito digito*
  16. <letras> letra (letra | digito)*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement