diff --git a/core/bnf/statements.bnf b/core/bnf/statements.bnf index ccbb404..8949ff7 100644 --- a/core/bnf/statements.bnf +++ b/core/bnf/statements.bnf @@ -1,9 +1,12 @@ ::= | | + | + | | | | + | ::= ".set(" ")" ";" @@ -11,6 +14,10 @@ ::= "while" "(" ")" "{" * "}" + ::= "loop" "(" "," "->" ["," ]? ")" "{" * "}" + + ::= "rloop" "(" "," "->" ["," ]? ")" "{" * "}" + ::= "(" ? ")" ";" ::= ("," )* @@ -18,3 +25,7 @@ ::= "rtn" ";" ::= "using" ".set(" ")" "{" * "}" + + ::= ".attempt" "{" * "}" + + ::= ("ok" | | "error") "{" * "}"