aboutsummaryrefslogtreecommitdiff
path: root/palindrome.tm
diff options
context:
space:
mode:
Diffstat (limited to 'palindrome.tm')
-rw-r--r--palindrome.tm35
1 files changed, 35 insertions, 0 deletions
diff --git a/palindrome.tm b/palindrome.tm
new file mode 100644
index 0000000..692b70d
--- /dev/null
+++ b/palindrome.tm
@@ -0,0 +1,35 @@
+states 8
+A +
+B0
+B1
+B2
+C0
+C1
+C2
+D
+alphabet 3 0 1 2
+A 0 B0 _ R
+A 1 B1 _ R
+A 2 B2 _ R
+B0 0 B0 0 R
+B0 1 B0 1 R
+B0 2 B0 2 R
+B0 _ C0 _ L
+C0 0 D _ L
+C0 _ A _ S
+B1 0 B1 0 R
+B1 1 B1 1 R
+B1 2 B1 2 R
+B1 _ C1 _ L
+C1 1 D _ L
+C1 _ A _ S
+B2 0 B2 0 R
+B2 1 B2 1 R
+B2 2 B2 2 R
+B2 _ C2 _ L
+C2 2 D _ L
+C2 _ A _ S
+D 0 D 0 L
+D 1 D 1 L
+D 2 D 2 L
+D _ A _ R