I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS
Insert <it's not much but it's honest work> meme. It only supports ints and bools, some logic and simple arithmetics and it compiles to Java but damn was it hard to get that far.
Can you guess what everything does?
You are viewing a single comment
Whatโd I win?
I find it interesting and unnerving that I understood the code, but not the youthspeak.
Well done, here's your price: ๐
You may redeem it for a star on a GitHub repo of your choice.
It all gets put into the main method though in this version ๐
canYouSeeMe = !canYouSeeMe;
There are even more optimization possibilities, but I wanted to stay as close to the original as possible.
Yeah, it can be optimized down to a single constant print statement.
Isn't the second if condition
false
?Thanks, I corrected it.