tock-mirror/common
Adam Sampson 2f7539bcdb Convert the C backend to the new CIF API (mostly).
Most of this is mechanical: changing function names, and carrying the "wptr"
argument around. I've made the code for computing Expressions from Structureds
a bit more generic too.

The only complex bit is the handling of PAR processes, which I'm not very happy
with at the moment; they used to use the normal C calling convention, but now
you need to pack the arguments into the workspace. I'm handling this at the
moment by generating wrapper functions that do the unpacking, but it would be
better in the future to make the wrapper PROCs that we already generate have
the right interface.

This won't work for programs that use any of the top-level channels yet, since
there are no handlers for them.
2008-03-07 17:50:10 +00:00
..
CommonTest.hs Made decompN check the constructor, and added a short test accordingly 2008-02-25 13:39:28 +00:00
Errors.hs Changed the error reporting so that we at least print the meta tag if we can't open the file to find the line 2008-02-11 01:15:56 +00:00
EvalConstants.hs Fixed the right-shift in the constant folding to be an unsigned (logical, non sign-extending) shift 2008-02-27 12:45:29 +00:00
EvalLiterals.hs Fixed signed hexed values in the constant folder 2008-02-27 14:00:28 +00:00
Intrinsics.hs Rearranged the Rain source files, renamed a couple of Rain files, and changed the Makefile accordingly. 2007-09-10 17:28:57 +00:00
Pattern.hs Added the -fwarn-missing-signatures option and added all missing type signatures for non-test modules (and most for test modules too) 2008-02-05 23:06:03 +00:00
PrettyShow.hs Initial implementation of the occam-pi preprocessor. 2008-02-28 20:27:30 +00:00
ShowCode.hs Altered the AST to allow a function to be either an ExpressionList (classical occam) or a Process (Rain/proposed new occam) 2008-02-24 19:29:31 +00:00
TestFramework.hs Added a new test framework, based on simple monads, to allow easy unification of HUnit and QuickCheck tests with the minimum of work 2008-02-08 16:56:32 +00:00
TestHarness.hs Added a Warn monad for warnings, and incorporated a WriterT monad into the PassM stack to support the Warn monad, then changed all the rest of the code accordingly, including adding a Warn instance for the GenParser parser that hides it in the state 2008-02-08 13:22:23 +00:00
TestUtils.hs Prefix pass test output with the pass name ++ ": " consistently. 2008-02-28 16:51:53 +00:00
TreeUtils.hs Made decompN check the constructor, and added a short test accordingly 2008-02-25 13:39:28 +00:00
Types.hs Convert the C backend to the new CIF API (mostly). 2008-03-07 17:50:10 +00:00
Utils.hs Added a new helper function to Utils, and corrected a comment too 2008-02-09 14:50:56 +00:00