A quick status report on API Annotations.

I have managed to integrate the API Annotations into the ghc-7.10 branch of
HaRe [1], with a test comand to simply roundtrip the source.

So the command

    ghc-hare roundtrip filename.hs

will produce a file 'filename.refactored.hs' which should be the same as
the original, except it does not preserve trailing whitespace or tabs.

This makes use of the updated ghc-mod for 7.10 [2], and ghc-exactprint [3]

However this only works for the ghc-7.10 branch with D538 [4] applied.

Regards
  Alan

[1] https://github.com/alanz/HaRe/tree/ghc-7.10
[2] https://github.com/DanielG/ghc-mod
[3] https://github.com/alanz/ghc-exactprint/tree/wip
[4] https://phabricator.haskell.org/D538
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to