Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <condition> -> <expression> | boolean Literal
  2.  
  3. <expressions> -> <expression>
  4. | <expressions> <expression>
  5.  
  6. <expression> -> <operand>
  7. | <operand> <operator> <operand>
  8.  
  9. <operand> -> Variable
  10. | Value
  11.  
  12. <operator> -> '+'
  13. | '-'
  14. | '*'
  15. | '/'
  16. | '%'
  17. | '=='
  18. | '!='
  19. | '<='
  20. | '>='
  21. | '<'
  22. | '>'
  23.  
  24. <blocked Statement> -> '{' <statement> '}'
  25.  
  26. <If-Or> -> 'if(' <condition> ')' <blocked Statement>
  27. | 'if(' <condition> ')' <blocked Statement> <Or-extends>
  28.  
  29. <Or-extends> -> <Or-extend>
  30. | <Or-extends> <Or-extend>
  31.  
  32. <Or-extend> -> 'or(' <condition> ')' <blocked Statement>
  33.  
  34. <Exec-When> -> 'exec' <blocked Statement> 'when(' <condition> ').'
  35.  
  36. <range> -> 'from' <expressions> 'to' <expressions>
  37.  
  38. <Count> -> 'count(' <range> ')' <blocked Statement>
  39. -----------------------
  40. if-or condition
  41.  
  42. if(condition){
  43.  
  44. }or(){
  45.  
  46. }or(){
  47.  
  48. }or(true){
  49. User defined drop section
  50. }
  51. -------------------------
  52. exec-when command
  53.  
  54. exec{
  55.  
  56. }when(condition).
  57. ------------------------
  58.  
  59. count(from 1 to 10){
  60. user defined incrementation;
  61. }
  62.  
  63. ------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement