On Tue, Oct 1, 2013 at 9:14 AM, Jacob Peck <[email protected]> wrote:

> On 10/1/2013 9:50 AM, Edward K. Ream wrote:
>
>> To execute, say, a java program from a Leo outline
>>
> Out of curiosity, are there any leo-to-other-languages bridges out there?
>

There is a Tk bridge.  You can execute Tk scripts in scripts.leo.  They
used to work just fine, but now they tend to segfault Leo.  That may be
because the Tk interp isn't run in a separate process.


>
> Better yet, is there a RESTful API that Leo can expose to get at the
> nodes/commanders/globals?  I can see this being a huge boon.
>

> Leo would run a small local webserver on a local port (for this example,
> we'll go with :9999).  It would return JSON replies to queries.
>
[snip]


> This could enable non-python languages to interact with Leo outlines in a
> fairly hassle-free manner... nearly every language has simple bindings to
> make http requests and parse json.
>

Client-server Leo keeps coming up.  It would also be the basis of Leo as a
web app.


>
> Sorry to get off topic.  It just struck me as potentially awesome.
>

It does have some potential.  But really, we have got to make Leo more
understandable to newbies.

EKR

-- 
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.

Reply via email to