GHC AST Annotations (again)

Alan & Kim Zimmerman alan.zimm at gmail.com
Tue Nov 4 21:41:24 UTC 2014


Hi all

Hopefully I will be able to stop harassing everyone on this topic soon.

The final versions of the patches for this are ready for review.

It has been split into three parts

D412 Extends the HsLit values to have an extra field for the original
source text, which can differ from the literal value.

D426 adds various extra locations in the HsSyn AST to allow the additions
of API annotations everywhere needed.

D438 modifies the Lexer/Parser to produce API annotations and comments as
part of the ParsedSource result.

Please review if you are interested.

Links

https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations
https://ghc.haskell.org/trac/ghc/ticket/9628
https://phabricator.haskell.org/D412
https://phabricator.haskell.org/D426
https://phabricator.haskell.org/D438

Regards
  Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141104/8fddc8ef/attachment.html>


More information about the ghc-devs mailing list