aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/wasm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbruiser/wasm/dwasm.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bruiser/wasm/dwasm.py b/bruiser/wasm/dwasm.py
index 28f3c4d..e404dca 100755
--- a/bruiser/wasm/dwasm.py
+++ b/bruiser/wasm/dwasm.py
@@ -5,9 +5,14 @@ import code
import readline
import signal
import sys
-from parse import Argparser, premain, SigHandler_SIGINT
+from parse import Argparser, premain, SigHandler_SIGINT,PythonInterpreter
from utils import ParseFlags
+def getWASMModule():
+ module_path = sys.argv[1]
+ interpreter = PythonInterpreter()
+ module = interpreter.parse(module_path)
+
def main():
signal.signal(signal.SIGINT, SigHandler_SIGINT)
argparser = Argparser()