Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Statement:
- ID ASSIGN Expr {;}
- | LBRACE StatementSEMICOLON RBRACE {;}
- | IF Expr LBRACE StatementSEMICOLON RBRACE {;}
- | IF Expr LBRACE StatementSEMICOLON RBRACE ELSE LBRACE StatementSEMICOLON RBRACE {;}
- | FOR Expr LBRACE StatementSEMICOLON RBRACE {;}
- | FOR LBRACE StatementSEMICOLON RBRACE {;}
- | RETURN {;}
- | RETURN Expr {;}
- | FuncInvocation {;}
- | ParseArgs {;}
- | PRINT LPAR StatementExprSTRLIT RPAR {;}
- | error {;}
- ;
- StatementSEMICOLON:
- StatementSEMICOLON Statement SEMICOLON {;}
- | Statement SEMICOLON {;}
- ;
- StatementExprSTRLIT:
- Expr {;}
- | STRLIT {;}
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement