A front-end compiler final year project