Yhc/API

From HaskellWiki
< Yhc
Revision as of 02:48, 15 January 2006 by NeilMitchell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Part of Yhc

(Download)

We hope that Yhc will be useful both to people compiling Haskell programs, and to people who want to do things with Haskell at a lower level. As such, we intend to provide a variety of API's for general use. If anyone wants something that is not covered by these, please ask.

API Overview

The API's which we propose are:

Core

A standard representation of a minimal Haskell Core language. Useful for people who want to analyse Haskell, but would rather work with less constructs. Also useful if you want to reuse the front end of Yhc.

Bytecode

Yhc produces a portable bytecode format, .hbc files. This API allows you to play with these bytecode files. This is useful for people writing .hbc to something else translators, analysis tools etc.

Interpreter

Compiler