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?

  • dan@upvote.au
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    8 months ago

    I had an entry-level compiler course during undergrad. We used JavaCC to generate a lexer and parser based on eBNF grammar.