Re: ENB: Wow: the entire project will be nothing but two parallel generators

2019-11-23 Thread Edward K. Ream
On Saturday, November 23, 2019 at 9:24:51 AM UTC-6, Edward K. Ream wrote: > It's just a bit tricky to look ahead in a generator. Correction, it's amazingly tricky. My supposedly simple code fails in mysterious ways. So do the stack overflow answers

Re: ENB: Wow: the entire project will be nothing but two parallel generators

2019-11-23 Thread Edward K. Ream
On Saturday, November 23, 2019 at 4:46:08 AM UTC-6, Edward K. Ream wrote: It's just a bit tricky to look ahead in a generator. So instead of the code > shown above in do_If, the visitor call self.peek() and self.advance(), > defined something like this (completely untested): > > # Use lists fo

Re: Leo File Name Is Not Displayed In Title Bar

2019-11-23 Thread Edward K. Ream
On Sat, Nov 23, 2019 at 8:04 AM Thomas Passin wrote: > I just noticed that in my installation of Leo 6.1, the name of the current > leo file is not displayed in the title bar of Leo's window. In previous > versions (at least up to 5.9 - I skipped 6.0), it was. > It works for me. What platform

Re: ENB: Wow: the entire project will be nothing but two parallel generators

2019-11-23 Thread Edward K. Ream
On Sat, Nov 23, 2019 at 4:46 AM Edward K. Ream wrote: > Finally, tog.sync will maintain a list of *insignificant* tokens it encounters while syncing to the next *significant* token. Should be no problem...tog.sync will need to see *all* the tokens in the token list, so it will need a generator th

Leo File Name Is Not Displayed In Title Bar

2019-11-23 Thread Thomas Passin
I just noticed that in my installation of Leo 6.1, the name of the current leo file is not displayed in the title bar of Leo's window. In previous versions (at least up to 5.9 - I skipped 6.0), it was. Is there a launch option or a setting that will get the file names displayed again? If not,

ENB: Wow: the entire project will be nothing but two parallel generators

2019-11-23 Thread Edward K. Ream
Neither the results list nor the Linker class is needed! This is a stunning collapse in complexity. The *tree generator* already exists. It consists of all the tree visitors in the TOG class, and their helpers. The tree generator will stay exactly as it is, except for slight mods to tog.do_If