husk-scheme-3.5.2.3: R5RS Scheme interpreter, compiler, and library.

Portabilityportable
Stabilityexperimental
Maintainergithub.com/justinethier
Safe HaskellSafe-Infered

Language.Scheme.Compiler

Description

This module contains an experimental compiler of Scheme to Haskell

The compiler performs the following transformations: Scheme AST (LispVal) -> Haskell AST (HaskAST) -> Compiled Code (String)

Synopsis

Documentation

joinL :: [[a]] -> [a] -> [a]Source

compileApply :: Env -> LispVal -> CompOpts -> IOThrowsError [HaskAST]Source

Compiles each argument to a function call, and then uses apply to call the function