Repository navigation
Pure Zig Toolchain
Vodka includes a complete standalone suite of 21 pure-Zig (+ inline-assembly) host developer, compiler, Unicode/NLS, ABI verification, debugging, packaging, and prefix tools under vodka/src/tools/ (with shared utilities in vodka/src/tools/common.zig), vodka/src/install/, and vodka/src/server/protocol.zig.
Every Vodka tool compiles natively in a single zig build invocation with zero external C, Perl, Python, or shell build-helper dependencies.
| Vodka Binary | Source Path | Summary |
|---|---|---|
vodka-mc |
vodka/src/tools/mc/ |
Windows Message Compiler (.mc -> .h, .rc, binary MESSAGE_RESOURCE_DATA .bin) |
vodka-rc |
vodka/src/tools/rc/ |
Windows Resource Compiler (full C preprocessor, recursive-descent .rc parser, 32-bit .res writer) |
vodka-dump |
vodka/src/tools/dump/ |
Multi-format binary inspector (PE32/PE64, COFF .obj/.lib, .res, .lnk, .emf/.wmf, MDMP, PDB MSF 7.0, NE/LE/LX) |
vodka-build |
vodka/src/tools/wbuild/ |
.spec compiler, .def/version-script emitter, COFF/AR import-library builder, relay & syscall thunk generator |
vodka-gcc |
vodka/src/tools/gcc/ |
Multi-stage Windows PE & Unix compiler/linker driver |
vodka-makedep |
vodka/src/tools/makedep/ |
C/C++/RC/IDL #include dependency graph scanner |
vodka-idl |
vodka/src/tools/idl/ |
IDL/COM compiler (lexer, AST parser, C/C++ header emitter, GUID generator, binary typelib emitter) |
vodka-maker |
vodka/src/tools/maker/ |
Windows project scanner & Makefile / Zig build generator |
vodka-triple |
vodka/src/tools/target_triple.zig |
Inline-assembly cpuid + POSIX uname host guesser & GNU/Zig target triple canonicalizer |
vodka-specgen |
vodka/src/tools/specgen.zig |
.spec synchronizer, Zig module manifest scanner, & release notes generator |
vodka-dev |
vodka/src/tools/devutils.zig |
.ico/.bmp encoder, symbol locator (findfunc), subprocess test runner (runtest), & Win32 relay trace analyzer |
vodka-unicode |
vodka/src/tools/unicode/ |
Unicode Character Database (UCD) parser & binary Windows .nls compiler (emits 7 .nls tables into share/vodka/nls/) |
vodka-winapi |
vodka/src/tools/winapi/ |
120+ type ABI registry, Zig/C/.spec/.api parser, static ABI checker, Markdown doc extractor, build log filter, & runnable Win32/Win64 struct-layout @sizeOf/@offsetOf test generator |
vodka-dbg |
vodka/src/tools/debug/ |
PE64 .pdata/.xdata UNWIND_INFO/UNWIND_CODE binary decoder, virtual frame unwinder, inline-assembly host context capture, & GDB/LLDB script emitter |
vodka-ci |
vodka/src/tools/ci/ |
Multi-arch CI matrix generator, SHA-256 checksum packager, GitHub Actions workflow & Containerfile emitter |
vodka-sfnt2fon |
vodka/src/tools/sfnt2fon.zig |
SFNT/TrueType bitmap-to-Windows NE .fon font compiler |
vodka-xftmpl |
vodka/src/tools/xftmpl.zig |
Direct3D .x binary template compiler |
vodka-proto |
vodka/src/server/protocol.zig |
Protocol definition parser & Zig binary RPC wire generator |
vodka-install |
vodka/src/install/main.zig |
Atomic staging installer (0700 staging dirs, O_CREAT | O_EXCL writes) |
vodkapath |
vodka/src/tools/vodkapath.zig |
POSIX <-> Windows drive path translator (-u, -w, -l, -s) |
vodkaboot |
vodka/src/tools/vodkaboot.zig |
Native prefix initializer & system directory/hive bootstrapper |
Lexes and parses Windows .mc message tables (lexer.zig, parser.zig, emitter.zig) and generates C header constants (.h), resource scripts (.rc), and little-endian MESSAGE_RESOURCE_DATA binary tables (.bin).
./zig-out/bin/vodka-mc -h out_dir -r out_dir messages.mcIncludes an integrated C preprocessor (preproc.zig), lexer, recursive-descent .rc parser (ast.zig, parser.zig), and 32-bit Windows .res binary writer (res_writer.zig) for STRINGTABLE, DIALOG/DIALOGEX, MENU, VERSIONINFO, ACCELERATORS, ICON, BITMAP, and RCDATA.
./zig-out/bin/vodka-rc -I include -D UNICODE -o app.res app.rcFull IDL compiler (lexer.zig, ast.zig, parser.zig, header_gen.zig, guid_gen.zig, typelib.zig) supporting -I include directories, -D defines, C/C++ COM interface header generation (-h), GUID definitions (-u), proxy/stub generation (-p), and binary typelib emission (-t).
./zig-out/bin/vodka-idl -h -o sample.h -u -o sample_i.c sample.idl-
vodka-build: Parses.specfiles (spec_parser.zig), emits.def/version scripts (def_gen.zig), builds COFF/AR.lib/.aimport libraries (implib.zig), and generates relay/syscall thunks (relay.zig). -
vodka-gcc: Multi-stage Windows PE & Unix compiler/linker driver (args.zig,planner.zig). -
vodka-makedep: C/C++/RC/IDL#includedependency graph scanner (scanner.zig,graph.zig). -
vodka-maker: Scans Windows Visual Studio / C / C++ project directories (scanner.zig,generator.zig) and generatesMakefileor Zig build files (--zig).
./zig-out/bin/vodka-build --def -o kernel32.def kernel32.spec
./zig-out/bin/vodka-build --implib -o libkernel32.a kernel32.spec
./zig-out/bin/vodka-maker --zig -o ./out ./win_project_dirInspects PE32/PE64 (pe_dump.zig), COFF .obj/.lib (coff_dump.zig), .res (res_dump.zig), .lnk (lnk_dump.zig), .emf/.wmf (emf_dump.zig), Windows Minidump MDMP (minidump.zig), PDB MSF 7.0 (pdb_dump.zig), and NE/LE/LX (ne_le_dump.zig) binaries.
./zig-out/bin/vodka-dump -x ./zig-out/lib/vodka/x86_64-windows/kernel32.dllDecodes Windows x64 .pdata (RUNTIME_FUNCTION) and .xdata (UNWIND_INFO / UNWIND_CODE) unwind tables, performs virtual stack frame unwinding, captures live host register contexts via inline assembly, and generates GDB and LLDB initialization/unwind scripts.
Maintains a 120+ Win32/NT type ABI registry, parses Zig, C, .spec, and .api definitions, performs static ABI checks across vodka/src/dlls, extracts Markdown API documentation, filters build logs, and emits runnable Zig Win32/Win64 struct-layout @sizeOf / @offsetOf verification suites.
Parses Unicode Character Database (UCD) tables and compiles all 7 standalone binary Windows National Language Support (.nls) data files installed to zig-out/share/vodka/nls/ during zig build: l_intl.nls, c_1252.nls, c_437.nls, c_28591.nls, c_65001.nls, normnfd.nls, and sortdefault.nls.
Uses inline-assembly cpuid and POSIX uname to detect the host architecture and OS, and canonicalizes GNU Autoconf and Zig target triples.
Synchronizes .spec export tables against implementation modules, scans Vodka Zig module manifests, and generates structured release notes.
Provides four integrated developer subcommands: .ico/.bmp image encoding, cross-tree symbol lookup (findfunc), subprocess test execution (runtest), and Win32 relay trace analysis.
Generates multi-architecture CI matrices, computes SHA-256 release checksum manifests, and emits GitHub Actions workflows and Containerfiles.
-
vodka-sfnt2fon: Compiles TrueType/OpenType SFNT bitmap strikes (EBDT/EBLC) into Windows NE.fonfont executables. -
vodka-xftmpl: Compiles Direct3D.xtext templates into binary header arrays. -
vodka-proto: Parses protocol definitions and generates Zig RPC request/reply definitions forvodkaserver. -
vodka-install: Performs race-free atomic file installation using private0700staging directories andO_CREAT | O_EXCLwrites. -
vodkapath: Translates between Linux POSIX paths and Windows drive-letter paths (-u,-w,-l,-s). -
vodkaboot: Bootstraps a new Vodka prefix (drive_c/windows/system32,syswow64,dosdevices/c:,dosdevices/z:, PE DLL symlinks, andVODKA REGISTRY Version 2hives).
VODKAPREFIX=/tmp/my-prefix ./zig-out/bin/vodkaboot --init
VODKAPREFIX=/tmp/my-prefix ./zig-out/bin/vodkapath -w /tmp/my-prefix/drive_c/windowsCopyright (c) 2026 buntatoes. Vodka is a 100% standalone runtime built from scratch and licensed under the Apache License 2.0. The Vodka name, wordmark, and logo are All Rights Reserved.
Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc. DirectX, Windows, AMD, NVIDIA, Intel, and other third-party trademarks belong to their respective owners; Vodka is an independent project and is not affiliated with or endorsed by them.
Core Runtime
Graphics, Display & Audio
Tools & Programs
Platform & Project
Links