Yhc/Core conversion infrastructure

From HaskellWiki
< Yhc
Revision as of 14:54, 8 August 2008 by DimitryGolubovsky (talk | contribs) (Added libraries' info)

Jump to: navigation, search


Yhc Core Conversion Infrastructure is a collection of libraries and tools written mainly in Haskell, and also in other programming languages, aimed at producing of Yhc Core by existing and future Haskell (not excluding possibilities for other languages) compilers, unified optimization and linkage of compiled Yhc Core, and conversion of Yhc Core into executable modules for various runtimes.

Classes of libraries

The infrastructure includes libraries and tools that fall into following classes: front-ends, central Core processing, back-ends, and drivers. The following sections describe the purpose of libraries and tools in each category, and also what exists and/or being developed.

Front ends

These libraries provide functionality to accept some form of output from a compiler, and produce linked Yhc Core. Some front-end specific optimizations may be performed.

Existing front ends:


Intermediate output (Hugs Core) is parsed and converted into linked Yhc Core.

Developer: Dimitry

Status: 75% developed (as of Aug 2008)

Cabal name: hugs2yc

Repo: http://code.haskell.org/hugs2yc/

Central Core processing

These libraries provide facilities to run overall optimizations on linked Yhc Core that are not specific to any front- and back-end.


Main library to handle Yhc Core.

Developer: Neil

Status: released

Cabal name: yhccore

Hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/yhccore


Provides extended functionality to handle Yhc Core, including the Annotations facility, and specification of the Normal Set of primitives

Developer: Dimitry

Status: 75% developed (as of Aug 2008)

Cabal name: ycextra

Repo: http://code.haskell.org/ycextra/

Back ends


Historical development