15 lines
381 B
Python
15 lines
381 B
Python
from typing import Any, Dict, List, Optional, Union
|
|
|
|
from . import binary
|
|
from . import option
|
|
from . import execution
|
|
|
|
class Runtime:
|
|
store: execution.Store
|
|
|
|
def __init__(self, module: binary.Module, imps: Optional[Dict[str, Any]] = None, opts: Optional[option.Option] = None):
|
|
...
|
|
|
|
def exec(self, name: str, args: List[Union[int, float]]) -> Any:
|
|
...
|