MJr: a language heavily inspired by MarkovJunior #55
kaya3
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
Cool! I'll link it from the README. Is there a way to browse examples in the playground? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I mentioned in a couple of other threads that I was working on a compiler. Well, here it is! The language is called MJr, in homage to MarkovJunior. The GitHub project for it is here.
There's a lot that isn't supported yet, but all of the fundamentals are implemented:
one
,all
,prl
,sequence
,markov
and limits. You can also specify conditions for rules: a neat example of this is the BasicSnake model from MarkovJunior, to which I added a condition so the program ends when the snake gets stuck. Here's a link to that example in the interactive playground.I want to say thanks a lot to Maxim for introducing me to this wonderful programming paradigm. I've had great fun with this project so far, and there's still so much left to do!
Beta Was this translation helpful? Give feedback.
All reactions