Implemented rudimentary case checking/compilation