Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Comment définir la grammaire du programme dans IntelliJ?
- Sachant que :
- DECLARE: 'declare';
- AND: 'and';
- RETAIN: 'retain';
- PARO: '(';
- PARF: ')';
- POIV: ';';
- REP:'*';
- Programme: DECLARE AND RETAIN
- PARO VarDecl POIV PARF REP # Pour ( VarDecl ; ) *
- PARO Instruction PARF REP
- ClauseDefault
- ;
- Programme: DECLARE AND RETAIN
- PARO FctDel PARF REP # Pour ( FctDel ) *
- PARO Instruction PARF REP
- ClauseDefault
- ;
- *** OU ALORS ***
- Programme: DECLARE AND RETAIN
- PARO VarDecl POIV PARF REP # Pour ( VarDecl ; ) *
- PARO FctDel PARF REP # Pour ( FctDel ) *
- PARO Instruction PARF REP
- ClauseDefault
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement