A language built for data
Vectors, matrices, ranges, loops, functions, and missing values — with MATLAB-like syntax that stays out of the way.
Bun-native statistical computing
iStat pairs a small, expressive language with a typed statistics library and a live browser studio. Import data, compute, and chart — without leaving your workflow.
Live playground
The same interpreter as the CLI, compiled to the web. No server, no sign-up — your code stays in this tab.
Why iStat
Everything you need for exploratory analysis, from a quick mean to a regression model and a chart you can drop into a report.
Vectors, matrices, ranges, loops, functions, and missing values — with MATLAB-like syntax that stays out of the way.
Descriptive statistics, correlation, regression, probability distributions, and the building blocks for deeper analysis.
Histograms, line charts, bar charts, and scatter plots return plain SVG — ready to save, embed, or download.
Read and write CSV, XLSX, and JSON. Handle missing cells explicitly with the nan* function family.
A TUI REPL with a variables sidebar, session transcript, and fullscreen chart history. Stay in the flow.
The same statistical core is a TypeScript library. Import it, compose it, and ship it in your own projects.
Get started
Clone the repository, install the Bun dependencies, and start the REPL. Prefer a packaged build? Grab the latest CLI archive from GitHub Releases.
git clone https://github.com/emrekayik/istat.git
cd istat
bun install
bun run istat
bun run istat editor
Opens the local editor at 127.0.0.1:4173. Use --port 0 to pick a free port.