mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
7 lines
136 B
JavaScript
7 lines
136 B
JavaScript
import * as rp from 'rustpython_wasm';
|
|
import pyCode from 'raw-loader!./main.py';
|
|
|
|
const vm = rp.vmStore.get('main');
|
|
|
|
vm.exec(pyCode);
|