Documentation
Learn the engine.
Then extend it.
A task-focused guide to the public evaluator, its boundaries, and the private packages that add teaching and presentation layers.
Start here
Choose the question you need to answer.
Every page includes a concrete expression, the relevant contract, and a path into the next feature.
Core · 00Getting startedInstall and make the first call →Core · 01Grammar & precedenceOperators, grouping, and AST rules →Core · 02Functions & variablesAllowlisted calls and custom functions →Core · 03Errors & spansStable codes and useful validation →Core · 04Resource limitsBound work before it grows →Core · 05PHP APIInstall, evaluate, integrate →
Private add-ons
When a number needs a lesson, a picture, or a measurement.
01ExplainingSteps, translations, observers, analyzersExplore the teaching layer →02VisualsPlots, models, SVG fallbacksExplore the presentation layer →03UnitsDimensions, conversions, display valuesExplore the measurement layer →
Core firstEvery add-on accepts the same validated inputs as the public evaluator.
Models over markupReturn arrays and representations your web, mobile, or CLI client can consume.
License-awarePrivate packages have separate licenses; their distribution and access model remains a product decision.