Sun Dec 23 19:47:17 EST 2012

Trying out test cases

Let's start with the test cases:

tom@tx:~/meta/dspm$ ls -al *test*
-rw-r--r-- 1 tom tom 6756 Jan 20  2012 0test_integration.hs     # broken
-rw-r--r-- 1 tom tom 6182 Jan 20  2012 0test_Loop.hs            # broken
-rw-r--r-- 1 tom tom  829 Jan 20  2012 0test_Pd.hs              # broken
-rw-r--r-- 1 tom tom 1667 Jan  8  2012 0test_PrettyC.hs         # broken
-rw-r--r-- 1 tom tom 1759 Jan  8  2012 0test_TML.hs             # Let expression

Looks like a Haskell setup problem:

    Couldn't match expected type `bytestring-'
                with actual type `Data.ByteString.Char8.ByteString'
    Expected type: InputStream
      Actual type: Data.ByteString.Char8.ByteString
    In the return type of a call of `Data.ByteString.Char8.pack'
    In the first argument of `parseC', namely
      `(Data.ByteString.Char8.pack c)'

    No instance for (Show (f0 ()))
      arising from a use of `ast'
    Possible fix: add an instance declaration for (Show (f0 ()))
    In the first argument of `(.)', namely `ast'
    In the expression: ast . parse
    In an equation for `c2ast': c2ast = ast . parse
Failed, modules loaded: Type, Data, Term, Control, Struct, StateCont, SSM.