On Tue, Sep 24, 2013 at 8:06 AM, Jacob Peck <[email protected]> wrote:
> Leo is primarily a tool aimed at python, at the moment, as Leo is written
> in it, and it's internal scripting support only works with python
>
Actually, g.getScript is language neutral. To execute, say, a java
program from a Leo outline, create @command run-java-script node that does
roughly the following::
1. Compose (gather) the script using::
script = g.getScript(c, p,
useSelectedText=False,
forcePythonSentinels=False,
useSentinels=False)
2. Execute the script (in a separate process) using a java compiler.
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.