← All projects
Project record1 mention
Originally shared on Hacker News

Excel-like formula engine

A statically-typed engine for Excel-like formulas that validates, compiles, and evaluates formulas, available both as a library (with the runtime rewritten in TypeScript) and as a hosted service. It addresses common shortcomings of homegrown formula engines by offering broad function support, solid documentation, errors surfaced before runtime rather than only at runtime, and formula editor support such as autocomplete. The library is nearly complete, extracted from the author's app compiler, with a service for validating, compiling, and evaluating formulas planned next.

Last shared For Developers building SaaS applications who need formula support
01 / The problem

What it addresses

People frequently reinvent formula engines, often for SaaS applications, and the implementations are underwhelming: limited function support, sparse or non-existent documentation, errors communicated only at runtime, and formula editors lacking autocomplete.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Excel-like formula engine

    A statically-typed engine for Excel-like formulas that validates, compiles, and evaluates formulas, available both as a library (with the runtime rewritten in TypeScript) and as a hosted service. It addresses common shortcomings of homegrown formula engines by offering broad function support, solid documentation, errors surfaced before runtime rather than only at runtime, and formula editor support such as autocomplete. The library is nearly complete, extracted from the author's app compiler, with a service for validating, compiling, and evaluating formulas planned next.

    Problem: People frequently reinvent formula engines, often for SaaS applications, and the implementations are underwhelming: limited function support, sparse or non-existent documentation, errors communicated only at runtime, and formula editors lacking autocomplete.

    Audience: Developers building SaaS applications who need formula support

    Posted by @davidpolberger · Original source ↗

    Source text · @davidpolberger · · Source ↗

    I'm working on an engine for Excel-like formulas, which will be available both as a library and as a service (which I've mentioned on HN a few times before). I originally started work on the engine back in 2008, when our app builder needed it.