Codes for the compilers lab