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.
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.
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.
Features and contributions live with the packages that own them.
Typed routes, dependencies and conflicts meet a single planner.
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.
The interesting work happens before source compilation. Package registrations become a typed, deterministic configuration for a language implementation.
These are stages of language configuration — not four passes over a user's source file.
Describe the language, select features and backends, and provide package-owned registrations. No source code is parsed here.
LanguageCompiler resolves declared dependencies, conflicts, ownership constraints and type-compatible routes. Ambiguity can be diagnosed instead of silently guessed away.
An immutable LanguagePlan records selected contributions, ordering, typed routes and package identity. Runtime does not re-plan behind your back.
LanguageRuntime checks package provenance and binds the exact chosen components. The application's input artifact can then follow a planned backend route.
Framework composition is not the same operation as compiling a source program.
UT is an infrastructure project, but it has two concrete entry points. Choose the one that fits what you're building.
Wist is UT's reference language and the approachable .NET API. Validate restricted expressions, inspect diagnostics, compile approved formulas into typed delegates.
The low-level alpha SDK lets independent packages define artifact types, transformations and backend executors. It does not require Wist's AST or IR.
Wist's concrete reference pipeline. Its shared supported behavior is subject to interpreter/CIL parity tests — parity is not automatic for arbitrary extensions.
An independent language built with the generic SDK. Its own syntax and typed artifacts; no required Wist AST, Bytecode or AIR.
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.
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// Excerpt from samples/Acme.PricingLanguage/Program.cs
var interpreter = new BackendId("interpreter");
var compiled = new BackendId("compiled");
var syntax = new LanguageArtifactKind<PricingExpression>("acme.pricing.syntax");
var executable = new LanguageArtifactKind<Func<decimal>>(
"acme.pricing.executable");
// The languagePackage is registered above this excerpt.
var registry = new LanguagePackageRegistry().AddPackage(languagePackage);
var definition = LanguageDefinitionBuilder.Create("Acme.PricingLanguage", "1.0.0")
.UseFeature("acme.pricing.core")
.EnableBackend(interpreter)
.EnableBackend(compiled)
.UseRuntimeProvider("acme.pricing.runtime", "1.0.0")
.WithRuntimePolicy(new LanguageRuntimePolicy(
RequireDeterminism: true, MaximumSourceLength: 256))
.Build();
var plan = new LanguageCompiler(registry)
.Compile(definition).GetRequiredPlan();Transformations advertise input and output artifact contracts. The planner can reject structurally incompatible routes before execution.
Declared ownership, dependencies, pass ordering and route costs resolve to one repeatable language configuration — or explicit diagnostics.
The runtime validates plan provenance and activates selected components, rather than inventing a second pipeline.
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.
UniversalToolchain is alpha software. The planner and runtime contracts are concrete; the higher-level authoring experience is still evolving.
Read known limitationsPackage-owned contributions, typed routes, immutable plans, exact runtime selection, Wist interpreter/CIL.
External Language Authoring SDK, templates and current source Wist API. Public stable 1.0 guarantees are not offered.
Richer grammar authoring, semantic evidence exchange and expanded backend validation remain directions, not shipped promises.
Structural planning does not prove third-party optimizer correctness, security of hostile code, or universal backend parity.
Explore the source, run Wist, or start authoring an independent language. The framework is being built in the open.