Solod (So) is an open-source transpiler that converts a strict subset of Go into readable C11 code. It targets systems programming with zero runtime, no garbage collection, stack-first allocation, and native C interop without CGO. Supported Go features include structs, methods, interfaces, slices, multiple returns, and defer — while channels, goroutines, closures, and generics are excluded. The toolchain integrates with standard Go tooling (LSP, linting, go test), and the generated C11 code compiles with GCC, Clang, or zig cc. Installation is via `go install`, and the workflow involves writing Go code, then running `so translate`, `so build`, or `so run`.
Table of contents
ExampleInstallation and usageLanguage tourStandard libraryPlaygroundSo by exampleTestingBenchmarksCompatibilityDesign principlesFrequently asked questionsRoadmapContributingLicenseSort: