tock-mirror/frontends
Adam Sampson 62a0873d3d Implement channel direction decorators.
This is mostly straightforward: modify the parser to allow direction
decorators in the right places, and extend the type checker to match.
There's some slight awkwardness in that some of the Types functions
have to perform the same checks as the type checker (e.g. directing a
non-channel), so I've tidied up their error messages a bit.

At the backend, I've just added a little pass to strip out all the
DirectedVariables, since the other backend passes don't handle them
gracefully. From the occam/C point of view this is fine, but I'm not
sure if it's going to cause problems for C++.
2008-06-09 21:35:20 +00:00
..
LexOccam.x Make Token a real data type. 2008-06-05 09:46:52 +00:00
LexRain.x Changed the list concatenation operator to be ++ in Rain 2008-05-18 10:30:17 +00:00
OccamPasses.hs Removed the Rep constructor from Structured and instead added a Rep constructor to SpecType 2008-06-04 17:00:43 +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 Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
OccamTypesTest.hs Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
ParseOccam.hs Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
ParseRain.hs Removed the Rep constructor from Structured and instead added a Rep constructor to SpecType 2008-06-04 17:00:43 +00:00
ParseRainTest.hs Removed the Rep constructor from Structured and instead added a Rep constructor to SpecType 2008-06-04 17:00:43 +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 Make Token a real data type. 2008-06-05 09:46:52 +00:00
PreprocessOccamTest.hs Make Token a real data type. 2008-06-05 09:46:52 +00:00
RainPasses.hs Removed the Rep constructor from Structured and instead added a Rep constructor to SpecType 2008-06-04 17:00:43 +00:00
RainPassesTest.hs Removed an obsolete failing Rain test 2008-06-04 18:44:07 +00:00
RainTypes.hs Removed the Rep constructor from Structured and instead added a Rep constructor to SpecType 2008-06-04 17:00:43 +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 Make Token a real data type. 2008-06-05 09:46:52 +00:00
StructureOccamTest.hs Fixed some StructureOccam tests that were broken recently by the change in the Token type 2008-06-06 13:14:34 +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