hey look Ma, over there's a
Markov algorithm
Input:
Production system
a1 -> 1a, a0 -> 0a, 0a -> a, a -> .E, E -> a
Hint:
Use
E
for an epsilon (empty word) rule
Output:
Applied rules:
Rule
Before
After