calcium-lang
Version:
Calcium language interpreter
13 lines (12 loc) • 304 B
TypeScript
import { FuncBody } from "../builtin";
import { InternalType } from "../type";
/**
*
* @param name
* @param body
* @returns the internal representation of a built-in function
*/
export default function createBuiltinFunction({ name, body, }: {
name: string;
body: FuncBody;
}): InternalType;