Research portable Memory game | Исследовать портируемую игру Память
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
306B

  1. #!/usr/bin/env python3
  2. import os
  3. import sys
  4. from process import *
  5. DIR = os.path.dirname(os.path.realpath(sys.argv[0]))
  6. # Demand file as input
  7. if len(sys.argv) < 2:
  8. print("Usage: /path/to/translate CPP_FILE")
  9. sys.exit(1)
  10. FILE_IN = sys.argv[1]
  11. # Translate file.
  12. out = process(FILE_IN)
  13. print(out)