On Sunday, November 13, 2016 at 6:23:21 AM UTC-6, Edward K. Ream wrote: > Work is going extremely well. I expect to complete the conversion of the Python importer in a day or so.
After three more days of intense work on all the importers, I expect to complete the Python importer later today. > There have been a number of useful detours, discussed more fully at the end of #334 <https://github.com/leo-editor/leo-editor/issues/334>. I've been adding technical notes at #334 as I go along. I'll soon write up a big Aha, namely that the python importer should override i.v2_gen_lines. That will simplify everything. > 1. Unit testing. Now, unit tests either fail or they don't. Last night I finally started fixing the failing python unit tests. Only 5 of 32 now fail with python.v2 ON. More importantly, this experience lead to the Aha. > 2. All import line scanners will soon be table-driven. Done. > all scanners urgently need worthy unit tests. Done. These tests reveals several subtle bugs. > 3. The python code may need to handle *all* kinds of brackets, (), [] and {}, True. Happily, i.scan_table handles this automatically. > the code continues to simplify each day. More true than ever. The massive investment in infrastructure is about to pay off big time. 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
