• @[email protected]
      link
      fedilink
      3
      edit-2
      9 hours ago

      Losing formatting other than what you’ve set in your deparser would be the point. Losing comments would be bad, but that seems easily fixable just by giving each comment block a symbol that points to it’s contents.

      • @[email protected]
        link
        fedilink
        36 hours ago

        Or by including comments in the parse tree. (& Yes, it is done various places for various languages and formats.)

        • @[email protected]
          link
          fedilink
          1
          edit-2
          4 hours ago

          Do you have some examples?

          (That is what I meant by giving them a symbol, maybe I worded it poorly)