For this individual assignment, I was tasked to write compilers for C–, a subset of C; and SCL, a different subset of C. This involved creating the programs thaqt perform the whole compilation process: lexical analyser, syntax analyser, and code generator. You can download and view the code here.
Code (C) Matthew Tinn, 2011-2012. Note that elements of the code are (C) D.A.Harrison of Northumbria Univeristy, where indicated. Please do not copy or reproduce this work without permission.