CHICKEN Scheme's New Compiler: CRUNCH – A Statically Typed Scheme Compiler
2024-12-17
This article introduces CRUNCH, a new compiler for a statically typed subset of the Scheme programming language. Built on top of the CHICKEN Scheme system, it compiles Scheme code into portable C99 code. CRUNCH aims to provide a high-performance, lightweight Scheme compiler, addressing shortcomings in existing Scheme systems regarding performance and portability. It's particularly well-suited for game development, virtual machine creation, and embedded systems programming. While CRUNCH has limitations in supported Scheme features, it achieves efficient code generation through type inference and various optimizations, seamlessly integrating with the CHICKEN Scheme ecosystem.
Development
Statically Typed