On Mon, 5 Aug 2013 08:44:51 -0700 (PDT) [email protected] wrote: > On Monday, August 5, 2013 5:35:50 PM UTC+2, Terry wrote: > > > > > 4) do Python plugins have access to the whole program API or just to a > > > restricted subset of commands? > > > > Whole API and all runtime internals including GUI, Leo is pure python > > and plugins run in the same process. > > > > > That seems to mean that Leo could be used as a platform for developing many > different applications running on top of it, in the same way as the various > extensions of Emacs and Vim. Organizers, email clients, etc. There would be > no limit to what can be done. > Is my understanding correct?
Yes - it has a core tree of nodes data structure, but can work with other data structures. Scripts and plugins have complete access to everything at run time. I have an in-house database schema editing tool based on Leo using leo2xml and xml2leo commands from the xml_edit plugin. The quickest route to building simple apps. is probably the @button functionality. Here's a neat example of an app. for running RPG games using Leo: https://github.com/gatesphere/rpg.leo Cheers -Terry -- 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
