
25 Apr
2007
25 Apr
'07
2:59 a.m.
On Tue, 2007-04-24 at 09:52 +0100, Simon Marlow wrote:
Duncan Coutts wrote:
Those patches I was talking about. I'd apreciate a review :-)
Looks fine - although as we talked about on IRC, we should think carefully about what sdist is supposed to do, and the difference between Happy/Alex-generated .hs files and c2hs-generated .hs files. The former should go in an sdist, but not the latter.
Indeed. We need to know for each pre-processor if the generated .hs files are platform and implementation independent. As Ross points out, currently we don't do anything about implementation independence, we generate alex & happy .hs files that use ghc extensions and then include them in the sdist tarball. Duncan