Example #1
0
 def create_out(self):
     """
     creates the output files - first we get the output file name and
     then  we create a compilation engine with our in file and out file
     and the engine compiles the infile and saves the output in
     the output file
     """
     for file in self._inputs:
         out_name = str(os.path.basename(file).split('.')[0]) + ".vm"
         comp = CompilationEngine(file, self._out_path + "/" + out_name)
         comp.compile_class()