SHARE
TWEET

Untitled

a guest Jan 3rd, 2020 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %token IDENTIFIER LBRACKET RBRACKET EOF
  2.  
  3. %%
  4. call: expr expr EOF;
  5.  
  6. primary_expr
  7.     : IDENTIFIER
  8.     | LBRACKET expr RBRACKET
  9.     ;
  10.  
  11. postfix_expr
  12.     : primary_expr
  13.     | postfix_expr LBRACKET RBRACKET
  14.     | postfix_expr LBRACKET expr RBRACKET
  15.     ;
  16.  
  17. expr
  18.     : postfix_expr
  19.     ;
  20.  
  21. %%
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top