Re:Abstract Syntax Tree for Patching Code and Assessing Code...
by grdvnl on Monday June 07, 2021 @02:59AM
(#27419829)
I have done something similar using https://pybowler.io/. This library wraps the LibCST library and abstracts away some of the refactoring operations into nice wrapper functions.
[ Parent
| on HN ]
Re:Abstract Syntax Tree for Patching Code and Assessing Code...
by codethief on Monday June 07, 2021 @06:55AM
(#27421098)
Are you sure it wraps the LibCST library (https://github.com/Instagram/LibCST)?
> Bowler builds on top of the Concrete Syntax Tree (CST) provided by lib2to3 in the standard library.