Skip to main content

Experimental

Epsil

A programming language for scientific computing, built on the Compute Engine.

Try it

This runs in your browser. Edit the source and re-run it.

⌘/Ctrl + Enter

Symbolic by default

Expressions stay exact until you ask for a number. Simplify, differentiate and solve without leaving the language.

How evaluation works

Math you can read

Implicit multiplication, superscripts, ranges and LaTeX islands — notation that matches what you would write on paper.

Read the syntax

Errors are values

A failed computation produces a diagnostic you can pattern-match on, not an exception that unwinds your program.

Control flow

Built for agents

A small, unambiguous grammar with a machine-readable spec, an MCP server and a CLI, so tools can generate and check it.

Epsil for AI agents

Use it from JavaScript

import { ComputeEngine, executeEpsil } from
  "@cortex-js/compute-engine/epsil";

const ce = new ComputeEngine();
const { value, diagnostics } = executeEpsil(ce, "1 + 2");

There is also a command-line REPL, a VS Code extension and an MCP server.