Re: What language do most students use to write the assembler?
Posted by jsaff on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/What-language-do-most-students-use-to-write-the-assembler-tp1999299p4029119.html
I used Common Lisp. ~100 lines of code when blank and comment lines are ignored.
I wrote it in functional style using an alist instead of a hash table for the symbol table so I guess it will be a bit slow when assembling a program with a huge number of symbols. No trouble with pong though - it assembles in a fraction of a second.
This is the longest program I've written in lisp to date. It was also the toughest of the projects so far for me but the buzz from playing pong assembled with my program certainly made it worthwhile.
This really is a fantastic course. Thank you!