On Sunday, February 24, 2019 at 3:55:11 AM UTC-6, Edward K. Ream wrote:

My first thought on this topic was a python-to-pharo translator, like my 
> first Python script cToPy.  (Search for ccc.c-to-python in leoPy.leo).  But 
> I quickly put this on the back burner. A proper translation would require 
> deep semantic analysis.  For example, you have to know that d is a dict in 
> order to send the proper Pharo messages to d.
>

Heh.  As soon as I wrote this I see that a "specialized" script could be 
told the types of python objects.

In fact, all I want to do is to translate leoNodes.py into Pharo.  So the 
types of p and v are known, and the script could define the pharo messages 
that will be generated.

Not sure this script would be useful.  The first step will be to hand 
simulate what I want, to see if a script could help.  It very well might.  
In fact, the script might implicitly define the messages that pharonic 
positions and vnodes would support.

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