Here lies dragons (and an awfully written "case" compiler)