I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

prof@infosec.pub to Programmer Humor@programming.dev – 507 points –

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?

61

You are viewing a single comment

Yes, it pretty much just wraps the expression in a "System.out.println();"

Maybe "flex X" outputs to stdout and "flex X on the haters" outputs to stderr?

I like the way you think! 😂

flex X on the fools does verbose logs only.

I'm curious to know how your language throws and catches errors :)