The Markovski project implements an interpreter/compiler for a language named Markovski, used to write Markov algorithms. (Project's licence)
I invite you to see the Wikipedia presentation.
The goal of the project is mainly to implement a parser and interpreter in python use
AllTests.py
to run all tests.
The script
in the bundle contains some scripts.
Download the code at Sourceforge.
Here after is a simple example showing an algorithm and the result produced if the
input to the program is acabac
.
Jean Lazarou
[1] 1a -> b1; [2] 1b -> a1; [3] 1c -> c1; [4] 1 -> . [5] -> 1;
Input: acabac [1] 1acabac [2] b1cabac [3] bc1abac [4] bcb1bac [5] bcba1ac [6] bcbab1c [7] bcbabc1 Output: bcbabc