Chez Scheme is a Scheme programming language implementation that compiles code to optimized machine code and runs on a wide range of platforms from embedded systems to servers.
The tool addresses the need for a practical, high-performance Scheme implementation by combining a compiler that generates native code with a run-time system that handles memory management, I/O, and library loading. Code is compiled by default rather than interpreted, whether loaded on-the-fly from source files or precompiled into binary form. The compiler performs optimization within and across library boundaries, and can perform whole-program compilation to reduce a program and its dependencies into a single binary. The implementation includes a garbage collector, support for multiple threads, non-blocking I/O, and extensive facilities for interfacing with C and other languages.
Chez Scheme suits developers who need a standards-compliant Scheme implementation with production-grade performance and broad platform support. The tool is appropriate for projects ranging from small scripts to large applications, particularly where interoperability with C libraries is valuable or where the ability to compile code at runtime is useful. The implementation supports the full R6RS standard and adds numerous extensions including user-defined records, hygienic macros, continuations, and exception handling. The programming environment includes a source-level debugger, profiling tools that generate HTML displays of hot spots, memory inspection utilities, and an interactive shell with multi-line expression editing.
The project maintains active development across multiple platforms, with the compiler and run-time system tightly integrated to enable runtime code generation and dynamic compilation. The tool provides comprehensive documentation including language references and a user guide covering both core features and implementation-specific extensions. Repository cloning is optimized to avoid downloading large boot files for older versions through the use of blob filtering.