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?

  • catastrophicblues@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    9 个月前

    It’s likely transpiring and not compiling, so it’s a lot easier than it seems. Source: made a language that adds features to Python and transpiles to valid Python.

    • prof@infosec.pubOP
      link
      fedilink
      arrow-up
      1
      ·
      9 个月前

      It doesn’t compile or transpile in actuality. It generates Java based on an abstract syntax tree. The concrete syntax is not considered in Java generation by MPS.