Sexp Matrix proposes treating a spreadsheet not as a grid of ordinary values and formulas, but as a matrix of editable S-expressions. Each row begins with a function, followed by its inputs; evaluating the row produces an output in a final cell. Inputs can themselves be expressions, and the evaluator can run functions remotely and asynchronously, potentially in parallel. This makes a spreadsheet a representation of computations rather than just data, with functions supplied by a library, serverless services, REST endpoints, or even language-model agents.
Examples illustrate possible uses: calculating shipping fees from cart and customer details, retrieving and updating balances across financial accounts, and checking whether extracted identity documents are valid. Rows can also consume earlier rows’ results, forming pipelines, or be combined with a reduce operation for map-reduce-style work. Entangle, a small Clojure prototype, demonstrates the approach through a REST API and browser interface: users edit expressions, submit them for evaluation, and receive results asynchronously, which populate each row’s output cell. The proposal’s central claim is that richer, remotely evaluated expressions could make spreadsheets more capable for expensive or complex tasks than conventional, locally computed, GUI-centric tools. It presents a working demonstration of the core idea, rather than a full account of its broader design or implementation.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.