tock-mirror/frontends
Neil Brown ba66cce89f Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly
All the passes now have their information (name, pre-requisites and post- properties) stored at the point where the pass is declared, which means the pass lists are just a simple list of pass functions.

The main consequence of this change was that the tests had to be changed.  Now, instead of taking a "pass applied to data" item (type: PassM b), they take both the pass (type: Pass) and source data (type: b), and apply them later.  This was the decision that involved the simplest changes to the existing tests (simply unbracketing the application of the pass to the source).  I also had to include a few old-style versions though (testPass', testPassShouldFail') for where the functions were being used to test things that weren't actually passes (mainly StructureOccam).

Fixes #48
2008-06-02 14:31:19 +00:00
..
LexOccam.x Added support for array constructors to the occam parser 2008-03-10 22:58:36 +00:00
LexRain.x Changed the list concatenation operator to be ++ in Rain 2008-05-18 10:30:17 +00:00
OccamPasses.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
OccamPassesTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
OccamTypes.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
OccamTypesTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
ParseOccam.hs Take NameType out of NameDef. 2008-06-02 10:13:14 +00:00
ParseRain.hs Get rid of the nasty ghost names hack. 2008-06-02 10:58:26 +00:00
ParseRainTest.hs Take NameType out of NameDef. 2008-06-02 10:13:14 +00:00
ParseUtils.hs Added the -fwarn-unused-imports compiler option to warn about unused imports, and then set about pruning and ordering (mostly in my code) the import lists for all the modules 2007-09-27 13:13:46 +00:00
PreprocessOccam.hs Tidied up the type of handleDirective to make it easier to use 2008-03-05 16:05:21 +00:00
PreprocessOccamTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
RainPasses.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
RainPassesTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
RainTypes.hs Moved all the pass information about the Rain passes into their definition (rather than the pass list at the top) 2008-06-02 12:51:14 +00:00
RainTypesTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
StructureOccam.hs Split include file expansion out into a separate pass. 2008-02-29 15:01:19 +00:00
StructureOccamTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
TypeUnification.hs Added Meta tags all over the place in the type unification to give better error messages 2008-05-20 18:42:20 +00:00
UnifyType.hs Added Meta tags all over the place in the type unification to give better error messages 2008-05-20 18:42:20 +00:00