Opened 7 years ago

Last modified 17 months ago

#3384 new task

Add HsSyn prettyprinter tests

Reported by: igloo Owned by:
Priority: normal Milestone:
Component: Test Suite Version:
Keywords: Cc: alanz, mpickering
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Add HsSyn prettyprinter tests. See #1966 for some discussion.

Change History (6)

comment:1 Changed 3 years ago by kseo

  • Type of failure set to None/Unknown

I'd like to work on this task as my first patch to GHC. I think the idea suggested by dfranke in #1966 is a good starting point.

Take some large Haskell projects and:

  1. Parse them
  2. Pretty-print them
  3. Reparse the output
  4. Pretty-print again

and verify that step 3 succeeds and the outputs of steps 2 and 4 match.

comment:2 Changed 3 years ago by kseo

  • Owner set to kseo

comment:3 Changed 2 years ago by thomie

  • Version 6.10.4 deleted

kseo: did you manage to get something going? Please ask questions on irc if you have any, maybe somebody can help you out.

comment:4 Changed 17 months ago by thomie

  • Cc alanz added
  • Owner kseo deleted

comment:5 Changed 17 months ago by alanz

This looks interesting.

No attempt to preserve comments/layout, but ensure it can be round tripped.

comment:6 Changed 17 months ago by mpickering

  • Cc mpickering added
Note: See TracTickets for help on using tickets.