aboutsummaryrefslogtreecommitdiff
path: root/examples/mfcs2.vfsm
diff options
context:
space:
mode:
authorNathan Lasseter <nathan.je.lasseter@googlemail.com>2013-03-24 13:05:46 +0000
committerNathan Lasseter <nathan.je.lasseter@googlemail.com>2013-03-24 13:05:46 +0000
commit5e179bfadb1d73779f69737dea611c43c6d48587 (patch)
tree5cd56f08b7d08c2066b9eed08f1dd1ee8fe13d6c /examples/mfcs2.vfsm
parent771cdb55c4a30be16ddafebc9b43f087765f9876 (diff)
Parser for syntax v2, more examples, formatted output to (()) accepting nodes
Diffstat (limited to 'examples/mfcs2.vfsm')
-rw-r--r--examples/mfcs2.vfsm19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/mfcs2.vfsm b/examples/mfcs2.vfsm
new file mode 100644
index 0000000..2e70532
--- /dev/null
+++ b/examples/mfcs2.vfsm
@@ -0,0 +1,19 @@
+comment: MFCS Problems for Lecture 1
+comment: VFSM Syntax v2
+comment: Input over the alphabet {0, 1}
+comment: The leftmost and rightmost input must differ
+
+start: start
+accept: h0 h1
+edges:
+ start 1 q0
+ q0 1 q0
+ q0 0 h0
+ h0 1 q0
+ h0 0 h0
+ start 0 q1
+ q1 0 q1
+ q1 1 h1
+ h1 1 h1
+ h1 0 q1
+end: