Advertisement
tinyevil

Untitled

Apr 27th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. LL language (but not LL grammar)
  2.  
  3. e -> e * f
  4. e -> f
  5. f -> f + p
  6. f -> p
  7. p -> ( e )
  8. p -> num
  9.  
  10.  
  11. LL grammar for that language:
  12.  
  13. e -> p e' f'
  14. f -> p f'
  15. p -> num
  16. p -> ( e )
  17. e' -> * f
  18. e' ->
  19. f' -> + p
  20. f' ->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement