I have just created
#1440 to record this project. The fstrings branch contains the work. The status:
This project is all-consuming. Everything else is just going to have to wait.
Yesterday I finished round 1 of the required infrastructure, and preliminary tests passed. This was an important milestone.
Processing Leo's biggest file, leoGlobals.py, immediately failed. I had forgotten about 'comment' tokens. Fixing this should be straightforward. Only the eat method will change.
Last week's study of asttokens reminds me that recursive descent tree traversal is not really valid. The traversal must be "flattened" so that python's stack doesn't overflow. I'll discuss how to do this in another thread.
Summary
Imo, this project is worth any amount of work, both for me personally and the wider python community.
I expect major progress by Thanksgiving. I will be most unhappy if I can't finish this project by the time Rebecca and I leave for Florida in December.
Edward