[Haskell-cafe] Description of Haskell extensions used by FPTOOLS
simonpj at microsoft.com
Fri Aug 18 04:11:20 EDT 2006
You might like to consider using GHC as a library
The advantage is that you just “import GHC” and then you can parse all of Haskell (including GHC’s extensions). Then you can rename it to resolve lexical scopes, typecheck, and so on. It will certainly deal with all of Darcs… because GHC compiles Darcs.
It’s all supposed to be a good basis for tools that consume and analyse Haskell programs, which is exactly what you propose to do. Example, there’s a summer-of-code project to use it for Haddock.
That said, the API is really just what we needed to build GHC itself. It needs a serious design effort. One of the things that would motivate such an effort would be “customers” saying “I needed to do X with the API and it was inconvenient/impossible”. Still, it does work, today.
From: haskell-cafe-bounces at haskell.org [mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Brian Smith
Sent: 17 August 2006 17:01
To: haskell-cafe at haskell.org
Subject: [Haskell-cafe] Description of Haskell extensions used by FPTOOLS
Is there any design document for the FPTOOLS libraries or some description of language features that are (allowed to be) used in them?
I am going to be taking some significant time off from my normal jobs in the upcoming months. During part of that time, I would like to do some work to improve the Haskell toolchain. This involves creating or improving tools that parse and analyze Haskell code. My goal is to have these tools support enough of Haskell to be able to handle at least the most important libraries used by Haskell programmers. In particular, this includes all or most of the libraries in FPTOOLS. Plus, I want these tools to operate on Darcs as it is an obvious poster-child for Haskell. Thus, I need to support Haskell 98 plus all the extensions being used in Darcs and FPTOOLS as of approx. March, 2007 (as I intened to start working again at that time).
It would be very nice if there was some document that described "Haskell 98 plus all the extensions being used in Darcs and FPTOOLS as of March, 2007." Besides being useful to me, it would be a useful guide for potential contributors to FPTOOLS.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe