Notices

  • Assignment 5 Marked

    Posted by Jingling Xue Thursday 30 April 2020, 10:03:55 AM.

    Please check your marks.

  • Assignment 4: Marked

    Posted by Jingling Xue Tuesday 14 April 2020, 03:56:30 PM.

    Assignment 4 has been marked. Please check your marks and read the feedback online.

    Once again, your final mark will be the sum of the marks from all the five programming assignments (with the bonus assignment mark added on the top). No assignments are compulsory in the sense that you will pass the course as long as your final mark is >= 50.

  • Assignment 5: Released

    Posted by Jingling Xue Monday 06 April 2020, 06:34:20 PM.

    To give everyone more time to work on Assignment 5, its spec has just been released.

  • SY/FL Decision for COMP3131/9102

    Posted by Jingling Xue Tuesday 31 March 2020, 11:33:00 AM.

    Dear COMP3131/9102 Students,

    Our course will also move to SY/FL. In addition, the final exam will be canceled.

    Your final mark will be calculated as:

    M = min(P + B, 100)

    where P is the score you have obtained in your five programming assignments (marked out of 100) and B is the score for the optional bonus assignment (worth 5 marks).

    Your final grade will be calculated as follows:

    SY: if M >= 50

    FL: otherwise


  • Lecture recordings today (30/3)

    Posted by Jingling Xue Monday 30 March 2020, 05:27:52 PM.

    Available now.

  • Assignment 3 Marked

    Posted by Jingling Xue Saturday 28 March 2020, 06:46:59 PM.

    As before, you can see the mark stats, feedback and test cases used for marking this assignment.

  • Assignment 3 Marked

    Posted by Jingling Xue Saturday 28 March 2020, 06:46:17 PM.

    Please check your marks.

  • The Bonus Assignment

    Posted by Jingling Xue Thursday 26 March 2020, 11:21:06 PM.

    I have released the spec for the bonus assignment. However, given that the assessment criteria for this course are likely to be changed soon (pending for a notice from the faculty), you may wish to wait for 1 or 2 days before you decide whether you should do this or not.

  • Survey

    Posted by Jingling Xue Thursday 26 March 2020, 04:13:29 PM.

    Dear COMP3131/9102 Student,
    I have created a simple survey to get some feedback from you on making this course also SY/FL course. You must have also heard some news on this proposal from other sources by now. You are welcome to make some comments either anonymously or otherwise. This is a difficult time for all of us. Please look after yourself and stay safe. Here is the link for the survey:

    https://www.surveymonkey.com/r/STQK7B9

    I would appreciate for you to complete this survey by 12noon tomorrow

  • The Spec for Assignment 4 Released

    Posted by Jingling Xue Wednesday 25 March 2020, 08:11:53 PM.

    The spec for the type checking assignment has just been released.

  • Today's lecture

    Posted by Jingling Xue Tuesday 24 March 2020, 06:25:59 PM.

    I have just uploaded a recording for today's lecture. Assignment 4 is relatively straightforward, once you understand how to use the visitor design pattern. Once again, some supporting code has been provided for you. You will mostly focus on implementing a few key visit methods, including visitBinaryExpr and visitUnaryExpr. This week's two lectures share the same set of lecture notes, which is duplicated at the two download links.

  • Online Tutorial Update

    Posted by Jingling Xue Tuesday 24 March 2020, 04:12:14 PM.

    Dear COMP3131/9102 Student,


    Samad has asked to pass the following to everyone. This will be for coordination purposes in case zoom doesn't work.

    I have made a group for COMP3131 Tutorials in Telegram. Could you please ask the students to install Telegram and join it using the following invitation link?


    https://t.me/joinchat/BRTmZRmG0dXYKD0HwWnMZw

  • Tutorial at 8pm

    Posted by Jingling Xue Monday 23 March 2020, 05:59:35 PM.

    Dear COMP3131/9102 Student,
    As this is the first time we hold tutorials via zoom, there were some hiccups.
    For those who couldn't attend the online tutorial just now, could you please join the meeting with Samad at 8pm?
    Thank you for your understanding.

  • Online Tutorials

    Posted by Jingling Xue Monday 23 March 2020, 01:24:20 PM.

    Dear COMP3131/9102 Student,

    Our tutorials will now be done via zoom. Please join it at your own tutorial times:

    unsw.zoom.us/j/5594271718


    Stay safe.

  • Exchange Students

    Posted by Jingling Xue Wednesday 18 March 2020, 05:30:06 PM.

    If you are an exchange student enrolling in this course, you can continue to submit your programming assignments online once you have returned to your home country. As for the on-campus exam, the school is currently discussing a solution for this. I don't currently have an answer for this.

    Please take care of yourself during this difficult time.

  • Ongoing Teaching for COMP3131/9102

    Posted by Jingling Xue Tuesday 17 March 2020, 03:36:16 PM.

    Dear COMP3131/9102 Student,

    You may have seen the messages sent to you regarding COVID-19 by UNSW.
    This week, we are teaching free.
    From next week (i.e., Week 6 onwards), I will deliver my lectures as usual at the venues allocated to this course during our lecture times. However, you can listen to the lecture recordings made available to you.
    As for our tutorials, we are looking at the option of delivering them via zoom. I will update you on this later.

    Take care!

  • Assignment 2 Marked

    Posted by Jingling Xue Sunday 15 March 2020, 11:43:29 AM.

    The marks for Assignment 2 is now available.

    You can now extend your Recogniser to obtain a Parser in Assignment 3.

    The spec for Assignment 3 gives a lot of small programs, together with their corresponding ASTs, to help you complete this assignment.

    Have fun!

  • Assignment 3

    Posted by Jingling Xue Sunday 15 March 2020, 09:51:12 AM.

    Please note the deadline for Assignment 3 is a Friday not a Saturday any more.

    In Week 5 (this coming week), we will have no lectures, so that you can have more time working on Assignment 3.

    However, we will continue to have the tutorials in Week 5.

    Take care!


  • Assignment 3

    Posted by Jingling Xue Sunday 08 March 2020, 05:58:54 PM.

    The spec for Assignment 3 is now available. Please note the deadline for Assignment 3 is a Friday.

  • Assignment 1 Marked

    Posted by Jingling Xue Sunday 01 March 2020, 02:22:02 PM.

    Please check your marks for Assignment 1.

  • Assignment 2

    Posted by Jingling Xue Thursday 27 February 2020, 05:31:20 AM.

    The spec is now available so that you can start earlier.

  • Lecture Recordings

    Posted by Jingling Xue Sunday 23 February 2020, 02:31:44 PM.

    COMP3131/9102 doesn't have a "web" stream. Therefore, I may supply material in lectures that isn't recorded. For example, I sometimes make use of the whiteboard during lectures to better explain important concepts. For this reason, you are expected to attend COMP3131/9102 lectures. However, to accommodate those who may have to miss certain lectures, I also try to draw things using Word if possible.

  • Whitespaces

    Posted by Jingling Xue Friday 21 February 2020, 12:18:24 PM.

    The whitespaces are certainly interpreted differently inside and outside strings. This is the same as in C, C++ and Java.

  • VC SPEC + FAQs

    Posted by Jingling Xue Wednesday 19 February 2020, 02:53:35 PM.

    If you click "Assignments" from the left menu, you will see a new "Resources" section added just before "Assignment 1". You may wish to gloss over the spec for VC for now. You can also check some FAQs listed there as well.

  • Spec for Assignment 1

    Posted by Jingling Xue Monday 17 February 2020, 08:46:16 PM.

    The spec for Assignment 1 is already available.
    You can now start working on Assignment 1.

  • Welcome to COMP3131/9102

    Posted by Jingling Xue Tuesday 11 February 2020, 11:00:37 PM.

    Welcome to COMP3131/9102, where you will learn how to write a compiler to translate a subset of C (plus some Java features) into Java bytecode that can be executed on JVM. Please read the course outline to understand how to learn this course efficiently and effectively.


Back to top

COMP3131/COMP9102 20T1 (Programming Languages and Compilers) is powered by WebCMS3
CRICOS Provider No. 00098G