• LeFantome@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    15 hours ago

    I have built single pass compilers that do everything in one shot without an AST. You are not going to get great error messages or optimization though.

    • Kazumara@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      11 minutes ago

      Oh! Okay, that’s interesting to me! What was the input language? I imagine it might be a little more doable if it’s closer to hardware?

      I don’t remember that well, but I think the object oriented stuff with dynamic dispatch was hard to deal with.