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

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?

  • prof@infosec.pubOP
    link
    fedilink
    arrow-up
    7
    ·
    9 months ago

    You’re correct, but it doesn’t really matter for demo purposes. In an actual use case (whatever that would be for this language) you would of course want to use some kind of variable or expression there instead of a constant.