tock-mirror/data
Adam Sampson 710be039cb Have the pregen programs figure out the types using generics.
Previously they had a list of the types they needed to generate
instances for.  This patch adds some helper code that can be used to
list all the AST.* types in the AST automatically. The result is that we
should be able to add new types to the AST without needing to change the
generator code.

This also means that GenOrdAST is now generating *all* the instances of
Ord for the AST; previously the trivial ones were derived by the
compiler.
2008-05-09 14:02:13 +00:00
..
AST.hs Have the pregen programs figure out the types using generics. 2008-05-09 14:02:13 +00:00
CompState.hs Have the pregen programs figure out the types using generics. 2008-05-09 14:02:13 +00:00
Metadata.hs Rewrite findMeta in terms of listify. 2008-04-07 22:31:18 +00:00