Dump common code in build-cpu.js
authorAlyssa Rosenzweig <alyssa@backtick.town>
Wed, 29 Jun 2016 23:27:14 +0000 (16:27 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Wed, 29 Jun 2016 23:27:14 +0000 (16:27 -0700)
src/CPU/build-cpu.js

index 1685960..ab897b4 100644 (file)
@@ -141,6 +141,10 @@ var sources = table.map(function(x, i) {
     }
 });
 
+// dump common code
+var common = fs.readFileSync("common.tosh");
+console.log(common.toString());
+
 // dump out an 8 level deep BST
 console.log(bst(sources, 0, 255).join('\n'));
 
This page took 0.023676 seconds and 4 git commands to generate.