Skip to content

Commit

Permalink
fix(docs): HTMLとして不正な構文を修正
Browse files Browse the repository at this point in the history
kakkokari-gtyih committed Jan 6, 2025
1 parent a67c915 commit a6b6a15
Showing 2 changed files with 40 additions and 36 deletions.
38 changes: 20 additions & 18 deletions docs/en/references/syntax.md
Original file line number Diff line number Diff line change
@@ -324,24 +324,26 @@ See the table below for which functions they are replaced with.
### List of Operators
The higher the precedence, the higher it is in the table. (Some have the same precedence)
<table>
<tr><th>Operator</th><th>Corresponding Function</th><th>Meaning</th></tr>
<tr><td><code>^</code></td><td><code>Core:pow</code></td><td>Exponentiation</td></tr>
<tr><td><code>+ (unary)</code></td><td>None</td><td>Positive</td></tr>
<tr><td><code>- (unary)</code></td><td>None</td><td>Negative</td></tr>
<tr><td><code>! (unary)</code></td><td>None</td><td>Negation</td></tr>
<tr><td><code>*</code></td><td><code>Core:mul</code></td><td>Multiplication</td></tr>
<tr><td><code>/</code></td><td><code>Core:div</code></td><td>Division</td></tr>
<tr><td><code>%</code></td><td><code>Core:mod</code></td><td>Modulus</td></tr>
<tr><td><code>+</code></td><td><code>Core:add</code></td><td>Addition</td></tr>
<tr><td><code>-</code></td><td><code>Core:sub</code></td><td>Subtraction</td></tr>
<tr><td><code>></code></td><td><code>Core:gt</code></td><td>Greater than</td></tr>
<tr><td><code>>=</code></td><td><code>Core:gteq</code></td><td>Greater than or equal to</td></tr>
<tr><td><code><</code></td><td><code>Core:lt</code></td><td>Less than</td></tr>
<tr><td><code><=</code></td><td><code>Core:lteq</code></td><td>Less than or equal to</td></tr>
<tr><td><code>==</code></td><td><code>Core:eq</code></td><td>Equal to</td></tr>
<tr><td><code>!=</code></td><td><code>Core:neq</code></td><td>Not equal to</td></tr>
<tr><td><code>&&</code></td><td><code>Core:and</code></td><td>And</td></tr>
<tr><td><code>||</code></td><td><code>Core:or</code></td><td>Or</td></tr>
<tbody>
<tr><th>Operator</th><th>Corresponding Function</th><th>Meaning</th></tr>
<tr><td><code>^</code></td><td><code>Core:pow</code></td><td>Exponentiation</td></tr>
<tr><td><code>+ (unary)</code></td><td>None</td><td>Positive</td></tr>
<tr><td><code>- (unary)</code></td><td>None</td><td>Negative</td></tr>
<tr><td><code>! (unary)</code></td><td>None</td><td>Negation</td></tr>
<tr><td><code>*</code></td><td><code>Core:mul</code></td><td>Multiplication</td></tr>
<tr><td><code>/</code></td><td><code>Core:div</code></td><td>Division</td></tr>
<tr><td><code>%</code></td><td><code>Core:mod</code></td><td>Modulus</td></tr>
<tr><td><code>+</code></td><td><code>Core:add</code></td><td>Addition</td></tr>
<tr><td><code>-</code></td><td><code>Core:sub</code></td><td>Subtraction</td></tr>
<tr><td><code>></code></td><td><code>Core:gt</code></td><td>Greater than</td></tr>
<tr><td><code>>=</code></td><td><code>Core:gteq</code></td><td>Greater than or equal to</td></tr>
<tr><td><code><</code></td><td><code>Core:lt</code></td><td>Less than</td></tr>
<tr><td><code><=</code></td><td><code>Core:lteq</code></td><td>Less than or equal to</td></tr>
<tr><td><code>==</code></td><td><code>Core:eq</code></td><td>Equal to</td></tr>
<tr><td><code>!=</code></td><td><code>Core:neq</code></td><td>Not equal to</td></tr>
<tr><td><code>&&</code></td><td><code>Core:and</code></td><td>And</td></tr>
<tr><td><code>||</code></td><td><code>Core:or</code></td><td>Or</td></tr>
</tbody>
</table>

### if
38 changes: 20 additions & 18 deletions docs/ja/references/syntax.md
Original file line number Diff line number Diff line change
@@ -324,24 +324,26 @@ Ai:kun() // kawaii
### 演算子一覧
上から順に優先度が高くなっています。(一部優先度が同じものもあります)
<table>
<tr><th>演算子</th><th>対応する関数</th><th>意味</th></tr>
<tr><td><code>^</code></td><td><code>Core:pow</code></td><td>冪算</td></tr>
<tr><td><code>+(単項)</code></td><td>なし</td><td>正数</td></tr>
<tr><td><code>-(単項)</code></td><td>なし</td><td>負数</td></tr>
<tr><td><code>!(単項)</code></td><td>なし</td><td>否定</td></tr>
<tr><td><code>*</code></td><td><code>Core:mul</code></td><td>乗算</td></tr>
<tr><td><code>/</code></td><td><code>Core:div</code></td><td>除算</td></tr>
<tr><td><code>%</code></td><td><code>Core:mod</code></td><td>剰余</td></tr>
<tr><td><code>+</code></td><td><code>Core:add</code></td><td>加算</td></tr>
<tr><td><code>-</code></td><td><code>Core:sub</code></td><td>減算</td></tr>
<tr><td><code>></code></td><td><code>Core:gt</code></td><td>大きい</td></tr>
<tr><td><code>>=</code></td><td><code>Core:gteq</code></td><td>以上</td></tr>
<tr><td><code><</code></td><td><code>Core:lt</code></td><td>小さい</td></tr>
<tr><td><code><=</code></td><td><code>Core:lteq</code></td><td>以下</td></tr>
<tr><td><code>==</code></td><td><code>Core:eq</code></td><td>等しい</td></tr>
<tr><td><code>!=</code></td><td><code>Core:neq</code></td><td>等しくない</td></tr>
<tr><td><code>&&</code></td><td><code>Core:and</code></td><td>かつ</td></tr>
<tr><td><code>||</code></td><td><code>Core:or</code></td><td>または</td></tr>
<tbody>
<tr><th>演算子</th><th>対応する関数</th><th>意味</th></tr>
<tr><td><code>^</code></td><td><code>Core:pow</code></td><td>冪算</td></tr>
<tr><td><code>+(単項)</code></td><td>なし</td><td>正数</td></tr>
<tr><td><code>-(単項)</code></td><td>なし</td><td>負数</td></tr>
<tr><td><code>!(単項)</code></td><td>なし</td><td>否定</td></tr>
<tr><td><code>*</code></td><td><code>Core:mul</code></td><td>乗算</td></tr>
<tr><td><code>/</code></td><td><code>Core:div</code></td><td>除算</td></tr>
<tr><td><code>%</code></td><td><code>Core:mod</code></td><td>剰余</td></tr>
<tr><td><code>+</code></td><td><code>Core:add</code></td><td>加算</td></tr>
<tr><td><code>-</code></td><td><code>Core:sub</code></td><td>減算</td></tr>
<tr><td><code>></code></td><td><code>Core:gt</code></td><td>大きい</td></tr>
<tr><td><code>>=</code></td><td><code>Core:gteq</code></td><td>以上</td></tr>
<tr><td><code><</code></td><td><code>Core:lt</code></td><td>小さい</td></tr>
<tr><td><code><=</code></td><td><code>Core:lteq</code></td><td>以下</td></tr>
<tr><td><code>==</code></td><td><code>Core:eq</code></td><td>等しい</td></tr>
<tr><td><code>!=</code></td><td><code>Core:neq</code></td><td>等しくない</td></tr>
<tr><td><code>&&</code></td><td><code>Core:and</code></td><td>かつ</td></tr>
<tr><td><code>||</code></td><td><code>Core:or</code></td><td>または</td></tr>
</tbody>
</table>

### if

0 comments on commit a6b6a15

Please sign in to comment.