/* * Created by PyramIDE. * User: フランスのトトロ aka (David RENÉ) * Date: 23/01/2017 * Time: 22:37 * © David RENÉ */ read tools/basis.anubis read tools/streams.anubis read tools/ISO-8601.anubis read system/string.anubis read densaku_lib/types/ds_types.anubis read densaku_lib/types/ds_message.anubis public define String insert_read_foreign_type ( DS_Message ds_message //type description )= with foreign_type_list = get_all_extern_type(ds_message), join("", map((Extern_type ext_type) |-> since ext_type is extern(_, read_file), "read "+read_file+"\n", foreign_type_list)) . public define Maybe(One) generate_message_header ( Stream stream, DS_Message ds_message //type description )= write_string(stream, "/* * Created by 伝作 (Densaku) * Types & Messages generator written by フランスのトトロ aka (David RENÉ) * Date: "+_Int_to_ISO_8601_date(now)+" * Time: "+_Int_to_ISO_8601_time(now)+" * */ transmit system/muscle.anubis transmit system/convert.anubis transmit tools/basis.anubis " + insert_read_foreign_type(ds_message)+ "\n" ) .