3 ms·
You might need a bit more than ASTs, as you need code to be human-readable as well as machine-readable. Maybe CSTs?
by philipallstar 8mo ago
You might need a bit more than ASTs, as you need code to be human-readable as well as machine-readable. Maybe CSTs?
- rs545837 8mo agoCSTs are the right call for round-tripping, but isn't that essentially what tree-sitter gives you, a concrete syntax tree that preserves whitespace, comments, and formatting.