Skip to content

Commit

Permalink
v4-changed for catch and expression
Browse files Browse the repository at this point in the history
  • Loading branch information
server5056 committed Sep 2, 2024
1 parent 8b359c2 commit 7a8a6f3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions document/core/valid/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,8 @@ $${rule-prose: Instr_ok/global.set}
(2) Change Inequality condition to existence condition

(4) Wrong result type.

(8) Change “mut” to “var”

below is the official specification

Expand Down Expand Up @@ -2373,13 +2375,13 @@ $${rule-prose: Catch_ok}
.. todo::
below is the official specification

(L2) - [change double "~" to expand Or Erase the double "~" sign if the below prose specification is correct]
(L2) - [change double "~" to expand]

(2) Change Inequality condition to existence condition

(*) - [ Make "Or" branches more visible to seperate some cases]

(*) - [As in (L2), "expand(C.tags[x])" should be deleted Or the official prose specification is wrong ]
(**) - [THE OFFICIAL SPECIFICATION IS WRONG! It should have "expansion" in the tag type ]

* The tag :math:`C.\CTAGS[x]` must be defined in the context.

Expand All @@ -2402,15 +2404,15 @@ $${rule: Catch_ok/catch}
.. todo::
below is the official specification

(L2) - [change double "~" to expand Or Erase the double "~" sign if the below prose specification is correct]
(L2) - [change double "~" to expand ]

(1) Erase Unnecessary parentheses, epsilon or ‘?’ Symbol. - [Erase un necessary symbols in the last line]

(2) Change Inequality condition to existence condition

(*) - [Erase null in the last line]

(*) - [As in (L2), "expand(C.tags[x])" should be deleted Or the official prose specification is wrong ]
(**) - [THE OFFICIAL SPECIFICATION IS WRONG! It should have "expansion" in the tag type ]

(**) - ["R E F E X N" to "ref exn" IN THE OFFICIAL PROSE]

Expand Down Expand Up @@ -3100,12 +3102,10 @@ $${rule-prose: Instr_const}
.. todo::
below is the official specification

(L1) - [instruction name should be "instr* end const" in the first LaTeX formula, erase "n" in the "array_new_fixed x n"]
(L1) - [instruction name should be "instr* end const" in the "instr* const" LaTeX formula, erase "n" in the "array_new_fixed x n",Unnecessary "iN \in i32 i64" in the premise of "iN.binop"]

(*) - [ Make "Or" more visible, simplify the case where 'instr' is 'gloabl.get x']

(*) - ["iN.binop" is unknown]

* In a *constant* expression :math:`\instr^\ast~\END` all instructions in :math:`\instr^\ast` must be constant.

* A constant instruction :math:`\instr` must be:
Expand Down

0 comments on commit 7a8a6f3

Please sign in to comment.