Old Homeworks

 

Homework section 3

1.  (1 June 2009) Try to run the example scanner (in test-tok.txt )  using the given tools.   Modify it to print out differently, for example, output one symbol per line, output each symbol with prefix"  (quote) etc.    This will give you a task to learn how to use the tool and to be familiar with the language NUT.  Please hand-in the code section that you modify and show the sample of your output.
2.  (23 June 2009)  Do the "build-your-own-compiler" excercise.  This is to prepare yourself to understand the parser and code generator.