A downloadable tool

https://github.com/mxgmn/MarkovJunior

Markov junior requires .net 6.0 to run

I did not make Markov Junior

Markov Junior is a programming language centered around rewrite rules. I was intrigued by how intricately it can make results with only a few lines of code, But was frustrated by the lack of dev tools for the system. To remedy this I created this basic source code editor + compilation assistant.  Please enjoy and share any cool things you make with Markov Junior in the comments!

Markov junior was developed by Maxim Gumin, Andrew Houts, Paulus Parrsinen, and rstm-sf on github.

Markov Junior is licensed under the MIT license

Comments

Log in with itch.io to leave a comment.

A cool pattern using convolutions


code:

<sequence values = "BW" origin="True">

<one in="BWB" out="WWW" steps="1"/>

<convolution neighborhood="Moore" periodic="True">

<rule in ="B" out="W" sum="2" values="W"/>

<rule in="W" out="B" sum="2,4" values="B"/>

</convolution>

</sequence>

(2 edits)



Generates something that kind of looks like a city block

could be cleaner, gonna tweak the code

code:

<sequence values="BWACR">

<prl in="B" out = "A"/>

<prl in="A *" out = "B *" symmetry = "()"/>

<one in = "A" out = "W" steps="1"/>

<markov>

<prl in ="AAA/AWA" out="AWA/AWA"/>

<one in= "AWA/AWA/AWA/AWA/AWA/AWA/AWA" out="AWA/AWA/AWA/WWW/AWA/AWA/AWA"/>

</markov>

<markov>

<one in="A" out = "C" steps="1"/>

<all in ="AC" out = "CC"/>

<prl in = "B C" out = "C C" symmetry="()" p="0.16"/>

<prl in = "C" out = "R" symmetry="()"/>

</markov>

<all in="RR BR" out ="RR RR"/>

<prl in="R" out = "W"/>

</sequence>



A simple pattern i made while learning markov junior:
code:

<sequence values="BW" origin = "True">

<prl in="BWB" out = "WBW"/>

</sequence>