tock-mirror/common
Adam Sampson 8f2575819b Initial implementation of the occam-pi preprocessor.
This implements #DEFINE, #UNDEF, #IF, #ELSE and #ENDIF, macro expansion with
##, and TRUE, FALSE, AND, OR, NOT and DEFINED within #IF expressions, with the
same semantics as occ21.

The macro COMPILER.TOCK is always defined by default, so you can now say things
like "#IF NOT DEFINED (COMPILER.TOCK) ... #ENDIF".
2008-02-28 20:27:30 +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 Fixed underlyingType not recursing properly into the inner types in arrays 2008-02-27 18:23:53 +00:00
Utils.hs Added a new helper function to Utils, and corrected a comment too 2008-02-09 14:50:56 +00:00