A simple compiler for PCAT programming language