all repos — hex @ 03ccdf7988588085c6dc4a0607da66393c1409b8

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Fixes
h3rald h3rald@h3rald.com
Sun, 22 Dec 2024 11:13:55 +0000
commit

03ccdf7988588085c6dc4a0607da66393c1409b8

parent

e1ce2080fc55ce085717e3d7d6016bd65f9d15f4

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M web/assets/hex-playground.jsweb/assets/hex-playground.js

@@ -19,7 +19,7 @@ outputBox.textContent += text + "\n";

}; eval.addEventListener("click", (e) => { - const data = textarea.value.replace(/^#!.*?\n/, '').replace(/;.*?\n/g, ' ').replace(/#|.*?|#/mg, '').replace(/\n/mg, ' '); + const data = textarea.value.replace(/^#!.*?\n/, '').replace(/;.*?\n/g, ' ').replace(/#\|.*?\|#/mg, '').replace(/\n/mg, ' '); Module.pending_lines.push(data); let resolver = Module.pending_fgets.shift(); resolver(Module.pending_lines.shift());