• Kazumara@discuss.tchncs.de
    link
    fedilink
    arrow-up
    12
    ·
    17 hours ago

    that’s just how they are made.

    Can confirm, even the little training compiler we made at Uni for a subset of Java (Javali) had a backend and frontend.

    I can’t imagine trying to spit out machine code while parsing the input without an intermediary AST stage. It was complicated enough with the proper split.