
I think the main argument against using GHC is that the library is
intimately tied to the current compiler, so writing a tool to process
haskell source which is compiler version independent it tricky, requiring
lots of CPP.
I am starting to wonder if it does not make sense to make a companion
library for each GHC release with is just the parser/AST, and so can be
used with any other compiler, even a non-ghc one.
Alan
On Wed, Jul 1, 2015 at 9:18 AM, Mike Izbicki
I've always been curious why we need a stand alone package for parsing haskell code? Last time I tried to use haskell-src-exts (admittedly several years ago), it was out of date and didn't support the extensions I wanted.
It seems like the ideal solution would be to have GHC's parsing code exposed as a library. And this library would be compatible with template haskell. Is there some technical reason why this is inherently difficult? Or is it just an accident of history that things didn't develop that way?
On Tue, Jun 30, 2015 at 11:54 PM, Christian Marie
wrote: On Mon, Jun 29, 2015 at 01:13:54PM +0100, Matthew Pickering wrote:
There are a large number of untriaged pull requests and issues currently open on the issue tracker for haskell-src-exts. The tool is widely used by tool writers but the last commit to the project is now over 6 months ago.
I was about to post this exact message after searching around for a good hour.
1. Does anyone know if Niklas or Peter plan to return to the project?
I didn't contact them directly. I'm not so sure if Nicklas is active at all.
2. Is there anyone else who is interested in updating the HSE parser?
Yes, I've got at least one fix I'd like to make myself and I'd be happy to do some triaging and releasing too. Most of the PRs look pretty good.
Roman Cheplyaka is a maintainer on hackage, hopefully he sees and knows something aobut this.
I'll email some people in the haskell suite group directly if this thread doesn't go anywhere.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe