more port of model_syntax

next up is INST_CORE stuff