Compilers I: Tutorial Exercises

    Compilers II: Tutorial Exercises

    Tutorial exercises for the advanced compilers course can be found on-line here, in two forms:

    • HTML, i.e. in a convenient form for on-line browsing
    • Postscript, ie ready for you to print (the quality is somewhat better than if you just print the web pages).
    The on-line versions often include the sample solutions; obviously, use these only when you have made a serious attempt yourself.

    For on-line browsing (HTML):

    • Ex1-Wavefronts

    • Ex2-InstructionScheduling

    • Ex3-ReuseInMatrixMultiply

    For printing (postscript):
    • Postscript/Ex1-Wavefronts.ps.gz
    • Postscript/Ex2-InstructionScheduling.ps.gz
    • Postscript/Ex3-ReuseInMatrixMultiply.ps.gz