A tool for writing Python AST-based refactorings

This is a tool that for writing AST-based refactorings for large Python codebases. It uses lib2to3 to convert source code to an AST, run a visitor over it that modifies the tree, and convert the tree back into source code. Read more

Similar

How I implemented Python JSON library

Background In 2020, when I was new to programming, I stumbled upon a course on functional programming. The link is no longer available, but I distinctly remember one assignment: implementing a concise JSON parser. Although I used JSON constantly in web de... (more…)

Read more »