9 lines
158 B
JavaScript
9 lines
158 B
JavaScript
|
import init from "./out.mjs"
|
||
|
|
||
|
const mod = await init()
|
||
|
|
||
|
export function run (source) {
|
||
|
const result = mod.ludus(source).value
|
||
|
return JSON.parse(result)
|
||
|
}
|