Skip to Content
i documentation
Contributing

Repository layout

Find the compiler crates, libraries, tests, and supporting tools.

This page maps the repository so you can find the source or test for a change. The workspace includes every crate under crates/.

DirectoryContents
cratesRust workspace crates listed below.
lib/iLanguage library modules under the i/ paths.
stdStandard library package and its tests.
tests/specCases organized by standard section.
tests/reviewIndependent review projects, observations, and requirements.
testsSpec and review cases and other test fixtures.
examplesExample packages.
editorsVS Code and Zed support and the tree-sitter grammar.
docsStandard, development documents, design notes, and this site.
scriptsVerification, corpus, generation, and development tools.
benchBenchmark package and tests.
bindingsHost bindings, including the JavaScript SDK.
licensesLicenses of included third-party code.
.githubRepository workflows, including CI.
CrateResponsibility
ilang-syntaxTokens, parsing, syntax trees, and formatting.
ilang-packagePackage files, modules, dependencies, and the package graph.
ilang-checkName resolution, top-level order, and type inference.
ilang-macroCompile-time syntax macro programs and expansion.
ilang-wasmWasmGC code generation and runtime.
ilang-binaryenBinaryen optimization of WasmGC modules.
ilang-hostWasmtime embedding of the i binary interface.
ilang-cliThe i command and its load, check, build, and run pipeline.
ilang-lspLanguage server diagnostics and editor operations.
ilang-runnerNative package runner to which i build appends a program.

See also

On this page