Dear Haskell Community,

While surely not being particularly fashionable, I think,
compilers are a killer application of functional languages.
It is quite obvious that the data-structure intensive,
transformational process of compilation fits naturally to a
functional style of programming.  Moreover, from my personal
experience, I find that a functional language complemented
with a lexer and parser generator provides much of the
functionality and ease-of-use associated with specialized
compiler tools (aka compiler compilers) while being more
flexible, often better supported, and guaranteeing better
long time availability.

I like to release a set of Haskell modules for general use;
they are meant to support writing compilers in Haskell.  The
modules are the result of trying to share code between two
commpilers in whose development I am involved.  I consider
them to be in a "beta" state, ie, they have undergone some
testing and a couple of revisions, but are surely not yet
bullet proof nor have they been performance debugged.  If
you are interested, please have a look at

  http://www.score.is.tsukuba.ac.jp/~chak/ctk/

The modules were developed with the Glasgow Haskell Compiler
and currently require GHC 3.02 to build; however, an eye has
been kept on writing portable code and all system dependent
routines are collected in a single (relatively small)
module.  Thus, the code should be useable on other Haskell
systems with little effort (provided that the system
supports the needed non-standard functionality in some way).

I hope this code is useful and I'd be happy about any
comments, suggestions, bug reports, or code contributions.

Happy Hacking,

Manuel


Reply via email to