PAL compiler written using an object oriented language