C-style language compiler created in cpp