Rewriting Leo's core is out of the question. Python is:

- Best for users as the simplest and most flexible scripting language.
- Dynamic. Imagine doing @button in rust.
- The basis for Leo's API.

Instead, Leo can and should add support for the rust language #727 
<https://github.com/leo-editor/leo-editor/issues/727> and .vue files #726 
<https://github.com/leo-editor/leo-editor/issues/726>.

It is straightforward to support scripting in *any* language. The new #729 
<https://github.com/leo-editor/leo-editor/issues/729> info/enhancement item 
discussing this topic. Support for rust, javascript and clojurescript are 
on the list. This item will remain open indefinitely.

*Important*: although #729 would might allow rust scripts in @button nodes, 
such scripts would have no direct access to Leo or it's data structures.

*Summary*

Rewriting Leo's core in rust would be a catastrophic mistake.

Instead, it will be relatively easy to support rust, vue.js and other 
interesting languages in python.

Joe Orr has already rewritten Leo's read code for .leo files in 
javascript.  This work might be extended to support vue.js as a complete 
back end for Leo.

All comments welcome.

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