pl0syntax: factor out cwriteln calls