OPEN SOURCE ✳ .NET LANGUAGE INFRASTRUCTUREFRAMEWORK / 001

Languages,
composed.

Build a language implementation from independent parts — not a fixed compiler pipeline.

UniversalToolchain composes package-owned .NET features, typed transformations and backends into one deterministic, immutable plan.

UT / COMPOSITION SCHEMATICFIG. 01 — LANGUAGE ASSEMBLY
01 / INDEPENDENT PACKAGES
Syntaxfrontend contributions
01
Semanticstyped transformations
02
Executionbackend executors
03
02 / LANGUAGE COMPILER
✳IMMUTABLE OUTPUT
LanguagePlan
typed routes · exact selection · identity
03 / EXACT RUNTIME
LanguageRuntime
Selected implementations only
↳ Interpreter backend
↳ Compiled backend
CONFIGURE ONCE. RESOLVE EXPLICITLY. Conceptual diagram · not a live compiler
DESIGNED FOR LANGUAGE AUTHORS / COMPILER BUILDERS / .NET DEVELOPERSSCROLL TO EXPLORE
01   /   THE PROBLEMWHY THIS FRAMEWORK EXISTS

A pipeline is easy
to hardcode.
An ecosystem isn't.

Most compilers know their parts at build time. That's often exactly right.

But when packages independently contribute language features, passes and execution paths, someone has to resolve their contracts, dependencies, ownership and order.

UT makes that decision explicit, inspectable and reproducible.
01 /

Declare

Features and contributions live with the packages that own them.

02 /

Resolve

Typed routes, dependencies and conflicts meet a single planner.

03 /

Materialize

The runtime binds the exact selected implementations, not a new guess.

If you only need a fixed parser and one backend, a handwritten pipeline is probably simpler. UT is for the composition problem.

02   /   THE ARCHITECTURE

One language.
One resolved plan.

The interesting work happens before source compilation. Package registrations become a typed, deterministic configuration for a language implementation.

LIFECYCLE EXPLORER
SELECT A STAGE TO INSPECT
THE DISTINCTION

These are stages of language configuration — not four passes over a user's source file.

LANGUAGE / CONFIGURATION TIMEMODEL 01—04
01 / DECLARE

Choose what belongs.

Describe the language, select features and backends, and provide package-owned registrations. No source code is parsed here.

use feature acme.pricing.core
enable interpreter, compiled
policy RequireDeterminism
Source: LanguageDefinitionBuilder / Acme sample
≠

Two different clocks.

Framework composition is not the same operation as compiling a source program.

CONFIGURATION TIME
Packages → Definition → Compiler → Plan → Runtime
PROGRAM TIME
Input artifact → planned typed route → chosen executor
03   /   TWO WAYS IN

Start small.
Go structural.

UT is an infrastructure project, but it has two concrete entry points. Choose the one that fits what you're building.

PATH 01 / WISTf(x) → T
usage * 0.7 +
reliability * 0.3

Controlled formulas.
Typed results.

Wist is UT's reference language and the approachable .NET API. Validate restricted expressions, inspect diagnostics, compile approved formulas into typed delegates.

Try the Wist quickstart
PATH 02 / AUTHORING SDKA → B → C

Your language.
Your representations.

The low-level alpha SDK lets independent packages define artifact types, transformations and backend executors. It does not require Wist's AST or IR.

Explore language authoring
THE ROUTE / NOT EVERY LANGUAGE USES WIST IR
Source→Syntax→Semantics→Bytecode→AIR→Interpreter / CIL

Wist's concrete reference pipeline. Its shared supported behavior is subject to interpreter/CIL parity tests — parity is not automatic for arbitrary extensions.

04   /   AN ACTUAL ENTRY POINT

Less magic.
More contracts.

Start with a restricted formula or author an entirely different language. These examples come from UT's current documentation and repository — not an imagined browser compiler.

↗ Confirmed against upstream 5626a5e
Program.cs Wist / restricted arithmetic
using UniversalToolchain.Wist;

using var wist = WistEngine.CreateRestrictedArithmetic();

var formula = wist.Compile<Func<double, double, double>>(
    "price * 0.9 + fee",
    "price",
    "fee");

double result = formula.CompiledDelegate(100.0, 5.0);
Console.WriteLine(result); // 95
01 / VALIDATE & COMPILESee source ↗
05   /   DESIGN PRINCIPLES

Built for composition.
Not hidden coupling.

[01]

Typed boundaries

Transformations advertise input and output artifact contracts. The planner can reject structurally incompatible routes before execution.

[02]

Deterministic planning

Declared ownership, dependencies, pass ordering and route costs resolve to one repeatable language configuration — or explicit diagnostics.

[03]

Exact materialization

The runtime validates plan provenance and activates selected components, rather than inventing a second pipeline.

[04]

Backend-aware routes

The interpreter and CIL paths are real in Wist. Generic authoring also supports its own executors; equivalence is a tested contract, not a universal guarantee.

06   /   CURRENT REALITY

Early by design.
Clear about it.

UniversalToolchain is alpha software. The planner and runtime contracts are concrete; the higher-level authoring experience is still evolving.

Read known limitations
IMPLEMENTED

Package-owned contributions, typed routes, immutable plans, exact runtime selection, Wist interpreter/CIL.

ALPHA SURFACE

External Language Authoring SDK, templates and current source Wist API. Public stable 1.0 guarantees are not offered.

RESEARCH / FUTURE

Richer grammar authoring, semantic evidence exchange and expanded backend validation remain directions, not shipped promises.

IMPORTANT BOUNDARY ↗

Structural planning does not prove third-party optimizer correctness, security of hostile code, or universal backend parity.

UT / OPEN SOURCE / APACHE-2.0 ✳

Build languages
out of parts.

Explore the source, run Wist, or start authoring an independent language. The framework is being built in the open.