@hackage husk-scheme3.13

R5RS Scheme interpreter, compiler, and library.

  • Installation

  • Dependencies (14)

  • Dependents (4)

    @hackage/acme-everything, @hackage/sugar-scheme, @hackage/hsc3-lisp, @hackage/husk-scheme-libs
  • Package Flags

      useffi
       (off by default)

      Haskell Foreign Function Interface (FFI). Allows husk to import and call into Haskell code directly from Scheme code. Turn off FFI to decrease build times and minimize executable sizes

      uselibraries
       (on by default)

      R7RS-style libraries.

      useptrs
       (on by default)

      Turn off pointers to increase performance at the expense of severely restricting the functionality of mutable variables. Setting this flag to false will revert back to the behavior from previous versions of husk.

A dialect of R5RS Scheme written in Haskell. Advanced features are provided including:

  • First-class continuations of unlimited extent

  • Hygienic macros based on syntax-rules

  • Low-level explicit renaming macros

  • A foreign function interface (FFI) to Haskell

  • Full numeric tower providing support for real, rational, and complex numbers

  • Proper tail recursion and lexical scoping

  • Read-Eval-Print-Loop (REPL) interpreter, with input driven by Haskeline to provide a rich user experience

  • Standard library of Scheme functions, and support for many popular SRFI's

Husk may be used as either a stand-alone interpreter or as an extension language within a larger Haskell application. By closely following the R5RS standard, the intent is to develop a Scheme that is as compatible as possible with other R5RS Schemes. Husk is mature enough for use in production applications, however it is not optimized for performance-critical applications.

Scheme is one of two main dialects of Lisp. Scheme follows a minimalist design philosophy: the core language consists of a small number of fundamental forms which may be used to implement other built-in forms. Scheme is an excellent language for writing small, elegant programs, and may also be used to write scripts or embed scripting functionality within a larger application.