kei-lisp - v3.0.1
    Preparing search index...

    Type Alias KeiLispPlugin

    A kei-lisp plugin contributes additional Lisp-callable functions to the interpreter. Register one with LispInterpreter.use(plugin). When the evaluator encounters (symbol ...) and symbol is not a special form, registered plugins are consulted in registration order; the first plugin whose has(symbol) returns true handles the call.

    Arguments are pre-evaluated by the interpreter before being passed to apply, matching the calling convention of built-in functions.

    type KeiLispPlugin = {
        name: string;
        apply(symbol: InterpretedSymbol, args: Cons, ctx: PluginContext): LispValue;
        has(symbol: InterpretedSymbol): boolean;
    }
    Index
    name: string

    Plugin identifier, used for diagnostics and collision messages.