implemented syntax for enums; moved type constants to a separate file
changed the translator to look up names via the configurable sig/arg/fun_namer proc