silverbullet/plug-api/syscalls/lua.ts

9 lines
193 B
TypeScript
Raw Normal View History

import { syscall } from "../syscall.ts";
import type { ParseTree } from "../lib/tree.ts";
export function parse(
2024-10-11 21:34:27 +08:00
code: string,
): Promise<ParseTree> {
2024-10-11 21:34:27 +08:00
return syscall("lua.parse", code);
}