Tableify
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 21:50:28 +0000 (14:50 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 23 Jun 2016 21:50:28 +0000 (14:50 -0700)
src/CPU/tableify.js [new file with mode: 0644]

diff --git a/src/CPU/tableify.js b/src/CPU/tableify.js
new file mode 100644 (file)
index 0000000..7645969
--- /dev/null
@@ -0,0 +1,5 @@
+/*
+ * automatically fills up a buffer with stuff from text
+ */
+
+console.log(require("fs").readFileSync(process.argv[2]).toString().split("\n").map(function(line) { return 'add "' + line + '" to ' + process.argv[3]; }).join("\n"));
This page took 0.022227 seconds and 4 git commands to generate.