Suvarna Garge (Editor)

Ikarus (Scheme implementation)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
Abdulaziz Ghuloum

Operating system
  
Cross-platform

Written in
  
Scheme, C

Standard(s)
  
R6RS (mostly)

Ikarus (Scheme implementation)

Initial release
  
October 31, 2007; 9 years ago (2007-10-31)

Stable release
  
0.0.3 / February 2, 2008; 9 years ago (2008-02-02)

Ikarus Scheme is a free software optimizing incremental compiler for R6RS Scheme that compiles directly to the x86 architecture. Ikarus is the first public implementation of a large part of the R6RS Scheme standard.

Contents

Design

The compiler developer, Abdulaziz Ghuloum, was a Ph.D. student at Indiana University under Kent Dybvig, the developer of Chez Scheme, who has influenced the development of Ikarus.

Some of the ideas behind the design of Ikarus Scheme are detailed in "An Incremental Approach to Compiler Construction" by the developer. In particular, Ikarus is self-hosting with the majority of the compiler and primitives written in Scheme and only a few parts of the runtime written in C. Also, rather than using an external intermediate language like C, LLVM or C--, it compiles directly to machine code in order to better take advantage of the underlying machine architecture.

Ikarus uses the "The portable R6RS library and syntax-case system" which is also developed by Abdulaziz Ghuloum and is described in the paper, "Implicit phasing for R6RS libraries". Finally, the paper "Generation-Friendly Eq Hash Tables" covers the hash table implementation in Ikarus.

System Requirements

Ikarus runs on x86 but requires SSE2 support to handle floating-point computations so it will not produce code for Intel chips earlier than Pentium 4 or AMD chips prior to Athlon 64. Release 0.0.3 has been tested and runs on:

  • Mac OS X version 10.4 and 10.5.
  • Linux 2.6.18 (Debian, Fedora, Gentoo, and Ubuntu).
  • FreeBSD version 6.2
  • NetBSD version 3.1
  • Microsoft Windows XP (using Cygwin 1.5.24).
  • References

    Ikarus (Scheme implementation) Wikipedia