VOID Language

Familiar syntax.
Built for games.

An independently designed game-development language with its own compiler, runtime, GC, standard library, native C output, and a compiler-side language server powered by the same semantic model as normal builds.

The language today

Familiar on the surface. Independent underneath.

VOID is designed to feel familiar in ordinary game code while remaining independent underneath. Its object model, value semantics, cleanup, threading, GC, native boundary, and tooling are built as parts of one language instead of separate add-ons.

Familiar game code

VOID gives everyday game systems a familiar shape: classes, interfaces, generics, delegates, and events behave as normal language features instead of framework-specific patterns.

Values that stay predictable

Structs keep value semantics even when they are nested, readonly, stored in multidimensional arrays, captured by closures, or carried through iterator state.

Structured lifetime & failure

Exceptions, finally, using, await using, and iterator disposal share one cleanup model, so synchronous and asynchronous scope exits do not create separate lifetime rules.

Concurrency stays one model

Managed threads and ThreadPool workers handle execution, while Task, ValueTask, structural awaiters, async methods, async lambdas, async iterators, Task composition, timer-backed delays, and cancellation timeouts reuse the same continuation, fault, GC, cleanup, and scheduling rules instead of introducing parallel runtime systems.

Native compiler pipeline

VOID lowers to portable C, then uses the system compiler and linker to produce native programs and libraries. Debug builds preserve original VOID filenames and source lines.

Compiler-owned tooling

The same compiler model powers builds and editor intelligence, so checking, diagnostics, completion, navigation, and symbol lookup do not drift into a second language implementation.

The language today

Cleaner call sites, clearer failures.

Inline typed and inferred out variables now participate in ordinary overload resolution, generic inference, scope, flow, discards, diagnostics, and tooling. Runtime failures can present a VOID source excerpt before a truthful synchronous VOID call stack, while missing-source, publish, native, exit, and launch boundaries remain explicit instead of being flattened into one invented trace.

Built with a purpose

Keep language intelligence inside the compiler.

The language server does not reimplement VOID. Builds, source-only checks, and editor features all read from the same semantic model, so a thin editor client can stay accurate as the language grows.

Nullability & initialization

Nullable values, named arguments, target-typed defaults, initializers, static state, and deterministic type initialization compose normally.

Source-only checking

voidc check runs the real front end without generating C, invoking a native compiler, or creating build outputs.

Semantic queries

Tools can ask the compiler for symbols, types, definitions, members, and callable parameter metadata from one analyzed session.

Rich diagnostics

Precise spans now render with source excerpts, stable codes, explanatory context, confident help, and machine-readable output from the same compiler data.

Debug source mapping

Generated C emits standard line mappings so native debug information points back to original VOID files and lines.

Compiler-backed LSP

Live diagnostics, hover, signatures, semantic completion, definitions, references, document/workspace symbols, and synchronized unsaved project state.

Native C integration

VOID lowers to C and links project-local native dependencies through its explicit unsafe ABI boundary.