new_contents: from lex_1 import generate_lex
  from parser_2 import generate_parser
  from semantic_3 import generate_semantic
  from generator_4 import generate_output
  
  if __name__ == "__main__":
      import os
      test_dir = "./tests/compiling/"
      for file in os.listdir(test_dir):
          prog = open(test_dir+file).read()
          generate_lex(prog)
          result = generate_parser(prog)
          generate_semantic(prog)
          generate_output(result, file.split('.')[0])
subject: Add compiler file