Commits

David Lazar committed e9f4c89

Use "_" instead of " " as the blank symbol in the parensMatcher TM.

Comments (0)

Files changed (1)

src/Language/PCPL.hs

     { startState = "S"
     , acceptState = "Y"
     , rejectState = "N"
-    , blankSymbol = " "
+    , blankSymbol = "_"
     , inputAlphabet = syms "$()A"
     , transitionFunction = Map.fromList
         [ (("S", "$"), ("0", "$", R))
         , (("0", "("), ("0", "(", R))
         , (("0", ")"), ("1", "A", L))
         , (("0", "A"), ("0", "A", R))
-        , (("0", " "), ("2", " ", L))
+        , (("0", "_"), ("2", "_", L))
         , (("1", "("), ("0", "A", R))
         , (("1", "A"), ("1", "A", L))
         --, (("1", "$"), ("N", "$", R))