RE: Prothon on CPython intrepreter? [PROTHON]

"Mark Hahn" <[email protected]> Thu, 12 Aug 2004 13:56:17 -0700
Newsgroups gmane.comp.lang.prothon.user
Message-ID <000201c480ae$d0024110$0b01a8c0@mark>
Charles Hixson wrote:

>MMph!  How about a rethink.  A virtual machine that supports a 
>superset 
>of the python codes, but interprets the python codes in the same way 
>that python would.  This way one could (at worst?) run the *.pyc files 
>through a translation program and have libraries, etc., that were 
>compatible with Prothon.
>
>And don't give up object locking, but perhaps a proper subset (the 
>python-equiv segment) of the code wouldn't need to know about 
>it.  This 
>gives up on some of the optimization that's been done on 
>python, but not 
>much more.  (OTOH, I'm making some assumptions about how the python VM 
>works...perhaps bad ones.)
>
>This would mean that your code didn't need to parse the python 
>language 
>to get the advantage of the python libraries, though.

That's what I was thinking at first, but the more I look into the Python
interpreter the more I realize how hard it would be.  Both Christian and
Greg have a lot of experience with the Python interpreter and I tend to
believe them when they say I am biting off a lot of work.