Re: Re: Python parser

Laurent Dube <[email protected]> Sun, 08 Aug 2004 15:31:56 -0400
Newsgroups gmane.comp.lang.prothon.user
Organization DEI
Message-ID <[email protected]>
Mark Hahn wrote:

> The best I could do would be to have the CPython interpreter running
> embedded inside my Prothon interpreter and bridging calls from Prothon over
> to Python.  

Why the need for CPython? How far could you get considering python code
as badly-formulated prothon? I'm not thinking pre-translation here, but
direct parsing.

> This would not be efficient as it would require both VMs to run
> side by side.  

I was thinking only one VM, prothon's.

> There would also be the overhead of translating between the
> two.  

How much of this could be done at the parser level?

> Threads would not be supported.  

Whose?

> I pretty much gave up on the idea.

I'll go with you the .Net way, but I'm exploring direct python parsing
just in case it's viable.

  Laurent Dube