The engine

Semantic IR. 11 Targets. Self-extending.

KERN compiles one source to production code across 11 targets, extends itself by discovering patterns, and powers the deepest static analysis in the industry.

.KERNSOURCEASTSEMANTICKERN IRTAILWINDNUXTNEXT.JSREACTVUEEXPRESSFASTAPINATIVECLITERMINALINKREVIEWHover to explore — source → IR → 11 targets

Why it works

KERN isn't regex. It's a semantic IR.

Rules operate on meaning, not text patterns. That's why KERN catches what regex-based tools miss.

.kernSource
ParserAST
KERN IRSemantic
Targets11 outputs

Actions & Effects

Every function call is classified: read, write, network, auth. KERN knows what your code does, not just what it looks like.

Guards & Boundaries

KERN tracks whether effects are guarded by auth checks, try/catch, or validation. Missing guard = finding.

Confidence Scores

Every finding includes a confidence score. Filter by threshold. No more alert fatigue from low-confidence noise.

One source, every target

Same .kern. 11 outputs.

KERN compiles to Next.js, React, Vue, Express, FastAPI, React Native, CLI, Terminal, Ink, Nuxt, and Tailwind. One source file, every stack.

order.kern7 lines
machine name=Order initial=pending
  transition from=pending
    to=confirmed event=confirm
  transition from=confirmed
    to=shipped event=ship
  transition from=shipped
    to=delivered event=deliver
compiled → order.ts140+ lines
export enum OrderState {
  Pending = 'pending',
  Confirmed = 'confirmed',
  Shipped = 'shipped',
  Delivered = 'delivered',
}

export enum OrderEvent {
  Confirm = 'confirm',
  Ship = 'ship',
  Deliver = 'deliver',
}

const transitions: OrderTransition[] = [
  { from: OrderState.Pending,
    to: OrderState.Confirmed,
    event: OrderEvent.Confirm },
  // ... + type guards, transition fn,
  // exhaustive checks (140+ lines)
];
7

lines of KERN

140+

lines of TypeScript

11

compile targets

Self-extending

The language that extends itself.

kern evolve discovers patterns in your codebase, proposes new syntax, validates it through 9 steps, and extends the language. No other language does this.

$ kern evolve:discover src/

Found 3 recurring patterns:

  1  auth-guard-pattern
     Appears 12x across 4 files
     guard auth.check() before db.write()

  2  api-response-shape
     Appears 8x across 3 files
     { data: T, error?: string, status: number }

  3  retry-with-backoff
     Appears 5x across 2 files
     retry(fn, { max: 3, backoff: 'exponential' })

? Promote to language construct? [y/N]
1. DiscoverFind recurring patterns
2. ProposeGenerate new syntax
3. Validate9-step pipeline
4. ExtendYou approve it
9-step

validation pipeline

Sandboxed

Compiles offline. No network.

You approve

Nothing enters the language without your sign-off.

Proof

This site is compiled from .kern.

68 source files. Next.js output. This page included. The compiler is real. The language works.

Start here.

Free for developers. Enterprise for teams.