Work is going well on the last part of #1440 
<https://github.com/leo-editor/leo-editor/issues/1440>.

The last task is to use this data while joining several lines into one 
longer line. The Orange class now have access to all needed data.  Some of 
this data comes from tokens, some from the ast (parse tree). This was 
tricky work. Happily, the code continues to simplify.

More importantly, I now understand completely what data are actually 
needed. As I was explaining the situation to Rebecca at breakfast 
yesterday, I realized that that the asttokens tool might provide *all* this 
data. An hour's work showed that this suspicion was correct. *A simple 
script uses asttokens to replace all of the previous several month's work!*

The show_asttokens_script unit test contains this script. This script is 
not run automatically because its name does not start with 'test'.

This is *good* news. All the work on #1440 has been valuable, for many 
reasons. The insights that lead to the script are subtle, as I'll explain 
in another post.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/06f9870b-0390-40f0-9e09-964daa9eea7f%40googlegroups.com.

Reply via email to