tock-mirror/backends
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
..
AnalyseAsm.hs Fix some broken Haddock. 2008-05-25 18:49:15 +00:00
AnalyseAsmTest.hs In AnalyseAsm, ignore labels that contain "." anywhere. 2008-04-06 15:31:28 +00:00
BackendPasses.hs Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
BackendPassesTest.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
GenerateC.hs Implement channel direction decorators. 2008-06-09 21:35:20 +00:00
GenerateCBased.hs Removed the Rep constructor from Structured and instead added a Rep constructor to SpecType 2008-06-04 17:00:43 +00:00
GenerateCPPCSP.hs Fixed a discrepancy between the C and C++ backends over generating the code for replicators 2008-06-04 18:53:42 +00:00
GenerateCTest.hs Fix abbreviation of channel ends in the C backend. 2008-06-09 21:19:01 +00:00
TLP.hs Take NameType out of NameDef. 2008-06-02 10:13:14 +00:00