Is this part of the second half of the course ? I don't remember implementing an assembler, but I only did the 1st half ;)
I did it in javascript. I didn't really miss typing. Although when things went wrong a lot of debugging was needed. But I think these were logic errors iirc. I'm not sure if typing would have helped.
In part two you build a stack-based virtual machine and then javaesq programming language, that is built on top of the assembler you built in part one.