On Sun, Jul 9, 2017 at 6:42 PM, Edward K. Ream <[email protected]> wrote:

On Sun, Jul 9, 2017 at 11:43 AM, Offray Vladimir Luna Cárdenas <
> [email protected]> wrote:
>
>> Well my idea is kind of the opposite: Instead of creating a Smalltalk
>> environment I try to create a Leo (alike) environment inside Pharo
>> Smalltalk.
>>
> ​I think that would be a worthy goal.  I've thought of it myself.
>

​Continuing this thought, I wonder whether a py2pharo script would be a
good idea.  Similar to c2py, the first python script I ever wrote.

It could be written either in Pharo or Python.  Perhaps writing it in
python would be easier because Python's ast library (and Leo's leoAst
module​) can generate a proper python parse tree.

Either way, generating leoNodes.st and the generators in leoCommands.py
would be required to support Leo's node structure.

Many other modules are candidates for translation to .st files, including
Leo's import/export code.

Just my first thoughts.

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