GHC AST Annotations (again)

Alan & Kim Zimmerman alan.zimm at
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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list