lispg
Lisp-like expression type and evaluator for PostgreSQL
lispg · Lisp-like expression type and evaluator for PostgreSQL
Overview
Usage
Sources:
lispg version 1.0 is an experimental Lisp-like value type and evaluator for PostgreSQL. Its implemented evaluator is a very small numeric calculator, so it should not be treated as a general Lisp runtime or a procedural language.
Core Workflow
The custom type parses and serializes parenthesized expressions. The debug evaluator parses a C string, evaluates the expression, and returns its textual representation.
SQL Objects
lispgis a variable-length, extended-storage type.lispg_in(cstring)andlispg_out(lispg)are its input and output functions.lispg_debug(cstring) RETURNS textevaluates an expression for inspection.
The pinned implementation registers only binary + and - numeric operations. It has no documented persistence, sandboxing, SQL access, or stable language API. Use it only for experimentation against the exact build you have installed.