Design of systems languages : a thesis presented in partial fulfillment of the requirements for the degree of Master of Science in Computer Science at Massey University