write bin/cscodegen