summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-03-17 12:14:24 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-03-17 12:14:24 -0400
commitbcb31712b35f1a3596f8a631bbcf3c4db68f4ff1 (patch)
treea1c045407575e737e1fdf7e09e8040d7b428ff3b /tools
parent824ce80cd1a52e1300d56099e9630cafa3789e17 (diff)
downloadvijayanagara-bcb31712b35f1a3596f8a631bbcf3c4db68f4ff1.tar.gz
Interactive Successions
Diffstat (limited to 'tools')
-rw-r--r--tools/gencode.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/gencode.js b/tools/gencode.js
index a68451a..b962a07 100644
--- a/tools/gencode.js
+++ b/tools/gencode.js
@@ -61,7 +61,7 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) {
SCODE[line[1]] = pc
console.log("")
console.log("// SUCC " + line[1])
- console.log("CODE[" + line[1] + " * 2 + 72] = [")
+ console.log("CODE[" + line[1] + " * 2 + 74] = [")
break
case "if_space":
@@ -138,6 +138,10 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) {
emit([ line[0], line.slice(1).join(" ") ])
break
+ case "log_h2":
+ emit([ line[0], line[1], line.slice(2).join(" ") ])
+ break
+
case "count_spaces":
emit([ line[0], "(s)=>" + line.slice(1).join(" ") ])
break