============================= Quiz 26: Initial ABC Compiler [TOC] ============================= Implement the ABC compiler described in this session: - It should contain the features, extensions and cleanups described on __Page 2__ - The I/O hack provided on __Page 3__. - An example subdirectory with the makefile, the test program ``test.abc``, the assembly files ``getuint64.s`` and ``printuint64.s`` provided on __Page 3__. - The implementation of constant folding is kind of optional. The implementation of _constFoldExpr()_ can simply return its parameter, i.e. never fold an expression. In the tests we then can replace your stub with an actual implementation. Hence, your implementation still has to use this function. In the parser assembly code should be generated from the expression returned by _constFoldExpr()_. How to Submit ============= You have to submit a __tarball__ _quiz26.tgz_ of your project. In your project directory do the following: - Run _make clean_ - Create the tarball with ---- CODE (type=txt) ----------------------------------------------------------- tar cfvz quiz26.tgz * -------------------------------------------------------------------------------- - On _theon_ you can submit the tarball with _submit hpc quiz26 quiz26.tgz_ :links: tarball -> https://en.wikipedia.org/wiki/Tar_(computing) Page 2 -> doc:session23/page02 Page 3 -> doc:session23/page03