Hacker News new | ask | show | jobs
by arnorhs 732 days ago
Usually, the ast can be converted to code, then formatted using a specific formatter.

I'm sure slack has a particular code formatter they use.

Most of the time when working with an AST you don't think about whitespace except when writing out the result