1 min lesson
AST-aware vs. free-text edits
Look at both sides of "AST-aware vs. free-text edits" and name the signal that decides which one fits.
Step 1 of 2
AST-aware vs. free-text editsthe AST is the code's parsed syntax tree
Interactive diagram. Tab through its regions; each focused region shows its detail in the panel below.
diagram: compare
Lean on the AST for pure mechanics and on the model where judgment is needed, gated hard. Many migrations use both.