Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

translate 306B

7 months ago
7 months ago
7 months ago
7 months ago
1234567891011121314151617
  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)