Settings

Theme

Abstract Syntax Tree for Patching Code and Assessing Code Quality

engineering.soroco.com

1 points by theonewolf 5 years ago · 2 comments

Reader

maxdw101 5 years ago

This is fascinating. Does this actually scale to large codebases?

  • mcint 5 years ago

    The authors mentions completed transformation on a 150,000 line codebase. When you ask about scale, what concerns do you have in mind?

    The author mentions that transformation back to source from ast, of course, doesn't include format information. However, python's ast include source line numbers, which they use to only rewrite the portions of the file affected by their rewrite.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection