UNPKG

@rbxts/insitux

Version:

Extensible s-expression scripting language enabling players to safely mod Roblox games themselves.

12 lines (11 loc) 821 B
import { ErrCtx, InvokeError, Val } from "./types"; export declare const asBoo: (val: Val) => boolean; export declare function arityCheck(op: string, nArg: number, errCtx: ErrCtx): InvokeError[] | undefined; export declare function typeCheck(op: string, args: Val["t"][][], errCtx: ErrCtx, optimistic?: boolean): InvokeError[] | undefined; export declare const typeErr: (m: string, errCtx: ErrCtx) => InvokeError; export declare function numOpErr(errCtx: ErrCtx, types: Val["t"][]): InvokeError[]; export declare function keyOpErr(errCtx: ErrCtx, types: Val["t"][]): InvokeError[]; export declare const isLetter: (code: number) => boolean; export declare const isDigit: (code: number) => boolean; export declare const isSpace: (code: number) => boolean; export declare const isPunc: (code: number) => boolean;