blob: 4f41470eb5b9a8c4ca092b3192f3054038f37232 [file] [log] [blame]
from pywy.core import Executor
from pywy.platforms.python.execution import PyExecutor
from pywy.platforms.python.platform import PythonPlatform
from pywy.core import Plugin
from pywy.platforms.python.mappings import PywyOperatorMappings
class PythonPlugin(Plugin):
def __init__(self):
super(PythonPlugin, self).__init__({PythonPlatform()}, PywyOperatorMappings)
def get_executor(self) -> Executor:
return PyExecutor()