pyzo is a major app.  It's not clear how to move any part of pyzo's code 
into Leo.

This Engineering Notebook post contains notes to myself about possible 
approaches.  Everything here is preliminary. There are no guarantees.

*Background*

pyzo.leo <https://github.com/edreamleo/pyzo/blob/master/pyzo.leo> in my 
private pyzo repo <https://github.com/edreamleo/pyzo> will be the 
foundation for all further work. pyzo.leo is "live", meaning that all 
changes actually change pyzo.  The repo is under git control.  I can do as 
many prototypes as I like, each in a separate branch.  I have carefully 
verified that pyzo.leo is equivalent (except for unimportant whitespace) to 
the original version of pyzo.

pyzo.leo will be the basis for study (*much *easier than using pyzo 
itself).  I'll use pyzo.leo to instrument the code and to create prototypes 
within pyzo itself.  pyzo.leo can easily create stand-along prototypes, as 
describe in this recent post 
<https://groups.google.com/d/msg/leo-editor/83PxTGmeoeU/-2ePc9ymAgAJ>.

*Possible prototypes and experiments*

1. The quickest, easiest, way to use code is to important it unchanged into 
Leo. It's important to keep this in mind. However, import and other 
packaging considerations may get in the way.

2. I'll be looking for small chunks of code to move into Leo.  The pyzo 
file browser and syntax colorer come to mind.

3. I'll ignore potential distribution problems during prototyping.  For 
example, I'll assume that Leo can use pygments. As with pyzo, Leo 6.0 will 
require Python 3.

4. I'll investigate the CodeEditor class. How can it use more than two *dozen 
*base classes reliably?  I have no commitment to this pattern.

*Summary*

pyzo.leo and my private pyzo repo will be the foundation of all study and 
experiments.

There is no way (now) to tell what could be the simplest thing that could 
possibly work.

Having said that, I'll try to avoid extra work as much as possible.  I'll 
concentrate on small (light) prototypes and experiments.

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.

Reply via email to