diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-17 12:14:24 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-17 12:14:24 -0400 |
commit | bcb31712b35f1a3596f8a631bbcf3c4db68f4ff1 (patch) | |
tree | a1c045407575e737e1fdf7e09e8040d7b428ff3b /tools | |
parent | 824ce80cd1a52e1300d56099e9630cafa3789e17 (diff) | |
download | vijayanagara-bcb31712b35f1a3596f8a631bbcf3c4db68f4ff1.tar.gz |
Interactive Successions
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gencode.js | 6 |
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 |