This is a big milestone. A comparison test passes for all leo/core/leo*.py files.
- fast_at.test now compares shape and contents of generated nodes agains real nodes. - Handle @first and @afterref correctly. - fast_at.get_patterns now returns a tuple, not a dict. Yes, this is Vitalije's recommended pattern. The present code continues to far simpler than the old. Performance is still extremely good: files: 44, lines: 69494, tot time: 0.091 sec. Still to do: - Handle @comment and @delims directives. - Handle @last properly. - Support @all properly. - Honor the trailing whitespace convention in @doc parts. - Support the so-called cweb hack. - Make sure several other fine points are handled correctly. The present code does not support ancient file formats. Imo, it's time to retire them. It will take some work to merge the new code into Leo. When that happens, I'll permanently disable caching! 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.
