code manipulation via interactive tree for Mathematica
问题 This question caused me to ponder an interactive method for editing code. I wonder if it is possible to implement something like this given the dynamic capabilities of Mathematica. Consider an expression: Text[Row[{PaddedForm[currentTime, {6, 3}, NumberSigns -> {"", ""}, NumberPadding -> {"0", "0"}]}]] And its TreeForm : I would like to be able to edit that tree directly, and then have the result translated back into Mathematica code. One should at least be able to: rename nodes, replacing