A javascript assembler for the hack language.
sudo npm install -g hack-assembler
hack-asm ./program.asm > program.hack
npm install --save hack-assembler
var assembler = require('hack-assembler')
// code => string of assemble code
// Comments will be removed
var codeObj = new assembler(code)
// Get assembled code (machine code) as string
var machineCode = codeObj.getAssembledCode()
MIT © Dennis Iversen