hn.today

Sexp Matrix

lisper.cc39 points11 comments
Screenshot of Sexp Matrix

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.

Read on lisper.cc11 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Sarasa Gothic Mono

Sarasa Gothic Mono

Sarasa Gothic Mono is a free, open-source monospace typeface built for multilingual programming, combining Source Han Sans and Iosevka. It offers coding ligatures, pixel-friendly hinting, condensed characters, and support for Latin, Cyrillic, Greek, and East Asian scripts. (picaq.github.io)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.