calcium-lang
Version:
Calcium language interpreter
9 lines (8 loc) • 297 B
TypeScript
import Environment from "../runtime/environment";
import { Expression } from "../expression";
import { InternalType } from "../type";
/**
* signature for the body of a built-in function.
*/
declare type FuncBody = (args: Expression[], env: Environment) => InternalType;
export default FuncBody;