llvm--emulator/bin/llvm--emulator

19 lines
389 B
Python
Executable File

#!/usr/bin/env python3
"""Small script to run the emulator."""
from __future__ import print_function
import sys
def run_emulator():
"""Run the emulator."""
if sys.version_info.major < 3:
print('You need Python 3 to run this emulator. Aborting...')
return
from llvm_emulator import emulator
emulator.main()
if __name__ == '__main__':
run_emulator()