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.
VOID Language
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
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.
VOID gives everyday game systems a familiar shape: classes, interfaces, generics, delegates, and events behave as normal language features instead of framework-specific patterns.
Structs keep value semantics even when they are nested, readonly, stored in multidimensional arrays, captured by closures, or carried through iterator state.
Exceptions, finally, using, await using, and iterator disposal share one cleanup model, so synchronous and asynchronous scope exits do not create separate lifetime rules.
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.
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.
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
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.
See the complete language/runtime surface, nullability, initialization, metadata, GC, unsafe code, and native integration.
02Object ModelConstructor chaining, interface inheritance, struct interfaces, virtual properties, events, delegates, and conditional expressions.
03Value Types & Control FlowNested/readonly structs, jagged and rectangular arrays, closure capture, iterator completion, compound targets, and GC-aware value layouts.
04ExceptionsThrow, handlers, propagation, GC-safe unwinding, finally, rethrow, iterator/delegate integration, native boundaries, and worker exception delivery through Join().
Managed workers, ThreadPool scheduling, Task/ValueTask completion and composition, structural awaiters, async lambdas, and state machines share GC coordination, synchronization, cancellation, faults, and lifetime rules.
06Lifetime & AbstractionsDeterministic cleanup, IDisposable/IAsyncDisposable, using/await using, iterator cleanup, ref-like suspension rules, generic inference, extension methods, and interface abstractions.
Declaration, relational, logical, property and recursive patterns, guarded switch cases, and expression-form switch.
08Operators & Generic MathUser-defined unary/binary operators, static-interface operator contracts, constrained generic dispatch, and iterator-safe generic provenance.
09ConversionsUnified standard and user-defined conversions, nullable lifting, target-typed sites, static-interface conversion contracts, and constrained generic dispatch.
10Getting StartedSee the current project flow, source-only checking, native builds, and debug workflow.
11LibrariesCollections, UTF-8 text, Span/Memory, async primitives, Console and standard IO, reusable VOID library projects, and native archive output.
12CompilerFrom parsing and semantics through C lowering, native binaries, checking, and debug mapping.
13DiagnosticsSource excerpts, precise ranges, stable codes, notes, help, related locations, parser recovery, and optional JSON output from one compiler model.
14Toolingvoidc check, live diagnostics, hover/signatures, completion, navigation, references, symbols, source mapping, and multi-file editor state.
Pointers, unmanaged storage, scoped pinning, native-backed Span views, explicit string ABI contracts, callbacks, native dependencies, and library exports.
Browse the working language, initialization, native, diagnostics, and tooling examples.
Built with a purpose
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.
Nullable values, named arguments, target-typed defaults, initializers, static state, and deterministic type initialization compose normally.
voidc check runs the real front end without generating C, invoking a native compiler, or creating build outputs.
Tools can ask the compiler for symbols, types, definitions, members, and callable parameter metadata from one analyzed session.
Precise spans now render with source excerpts, stable codes, explanatory context, confident help, and machine-readable output from the same compiler data.
Generated C emits standard line mappings so native debug information points back to original VOID files and lines.
Live diagnostics, hover, signatures, semantic completion, definitions, references, document/workspace symbols, and synchronized unsaved project state.
VOID lowers to C and links project-local native dependencies through its explicit unsafe ABI boundary.