Skip to content

Commit 9d8a486

Browse files
committed
add Wirth
1 parent afffb2f commit 9d8a486

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ <h1>DNCL3実行環境</h1>
66
サンプル <select id=selexamples></select>
77
<label><input type=checkbox id=chkvar checked>変数表示</label>
88
<label><input type=checkbox id=chkmaxloop checked>繰り返し上限 <input id=inmaxloop value=1000></label>
9-
<label><input type=checkbox id=chkblacket checked>ブロック括弧表記</label>
9+
<label><input type=checkbox id=chkwirth>Wirth(非ブロック括弧表記)</label>
1010
<button id=btnstop>STOP</button>
1111
<main>
1212
<div class=diveditor id=divprog></div>
1313
<div class=diveditor id=divrun></div>
1414
</main>
1515

16-
<a href=https://github.com/code4fukui/DNCL3/blob/main/README.md>DNCL3言語仕様</a> <a href=https://github.com/code4fukui/DNCL3/>src on GitHub</a>
16+
<a href=https://github.com/code4fukui/DNCL3/blob/main/README.md>DNCL3言語仕様</a> / <a href=https://github.com/code4fukui/Wirth/blob/main/README_ja.md>Wirth言語仕様</a> <a href=https://github.com/code4fukui/DNCL3/>src on GitHub</a>
1717

1818
<style>
1919
body {
@@ -107,7 +107,7 @@ <h1>DNCL3実行環境</h1>
107107
run.setValue("");
108108
run.revealLine(1);
109109
try {
110-
const blacketmode = chkblacket.checked;
110+
const blacketmode = !chkwirth.checked;
111111
const dncl = new DNCL3(src, (s) => {
112112
run.setValue(run.getValue() + s + "\n");
113113
}, null, blacketmode);
@@ -155,7 +155,7 @@ <h1>DNCL3実行環境</h1>
155155
selexamples.value = fn0;
156156
selexamples.oninput();
157157

158-
chkvar.oninput = chkmaxloop.oninput = inmaxloop.oninput = chkblacket.oninput = () => onchange();
158+
chkvar.oninput = chkmaxloop.oninput = inmaxloop.oninput = chkwirth.oninput = () => onchange();
159159
</script>
160160

161161
</body></html>

0 commit comments

Comments
 (0)