<div dir="ltr">Just a quick note that we are *slowly* approaching the point that we can merge HSE's annotated AST with the new growable[1] AST[2] in GHC.<div>One major change would be requiring a more recent version of GHC to support pattern synonyms.</div><div>At this stage, we don't expect to reuse GHC's parser to replace HSE's parser: HSE's parser supports some extra features like Haskell Server Pages, or regular expression patterns.</div><div>Interested volunteers may even try to post a proposal (referring to Niklas Broberg's papers on the topic) to GHC Proposals[3] for adding them directly to GHC, hence enabling the integration.</div><div><br></div><div>I'm afraid this problem of HSE (and also Template Haskell's AST and the related utilities) lagging behind GHC will get worse in time. </div><div><br></div><div>Cheers, </div><div>  Shayan</div><div><br></div><div>[1] <a href="https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow">https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow</a></div><div>[2] <a href="https://github.com/shayan-najd/GrowableGHC/blob/master/compiler/hsSyn/AST.hs">https://github.com/shayan-najd/GrowableGHC/blob/master/compiler/hsSyn/AST.hs</a><br></div><div>[3] <a href="https://github.com/ghc-proposals/ghc-proposals">https://github.com/ghc-proposals/ghc-proposals</a></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 11:37 AM, Matthew Pickering <span dir="ltr"><<a href="mailto:matthewtpickering@gmail.com" target="_blank">matthewtpickering@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I realise that people will be starting to use haskell-src-exts<br>
libaries with the new GHC 8.2 release. However, I do not have time in<br>
the foreseeable future (~ 1-2 months) to be able to implement the<br>
necessary parts to support the new language features.<br>
<br>
The way to make an 8.2 compatible release happen sooner is to send me<br>
some patches!<br>
<br>
There are some pull requests which I would like to merge but require<br>
minor changes or rebasing and also a few language features which need<br>
implementing.<br>
<br>
<a href="https://github.com/haskell-suite/haskell-src-exts/milestones/1.18" rel="noreferrer" target="_blank">https://github.com/haskell-<wbr>suite/haskell-src-exts/<wbr>milestones/1.18</a><br>
<br>
None of them look very difficult to implement unlike other language<br>
changes in past releases.<br>
<br>
I started to work on what was necessary a few months ago but didn't<br>
make a large amount of progress.<br>
<br>
<a href="https://github.com/haskell-suite/haskell-src-exts/tree/ghc-8.2" rel="noreferrer" target="_blank">https://github.com/haskell-<wbr>suite/haskell-src-exts/tree/<wbr>ghc-8.2</a><br>
<br>
Anyone's help contributing to this important but menial library would<br>
be greatly appreciated.<br>
<br>
Thanks,<br>
<br>
Matt<br>
______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br></div>