Alternatively, instead of creating a compile-able file (in whatever language), transform it into a program in a scripting language, say Python or Perl, which can then be executed by the the scripting ...