On 12/02/2021 00:15, Alan Gauld wrote:
On 11/02/2021 12:30, Mr Flibble wrote:

I am starting work on creating a new Python implementation
from scratch using "neos" my universal compiler that can
compile any programming language.

Can i clarify that?
Are you saying that you are going to recompile the existing
C code for pyhton using yoour universal compiler and the
resulting binary file will be a new implementation of
the interpreter that you expect to be faster?

Nope.


That's what it sounds like to me.
In which case the question is not whether you can write a
better interpreter than CPython but whether you can write
a better compiler than GNU/MING/VC etc

See previous answer.


While a universal compiler is  certainly an interesting
and challenging project I'm not sure how much it tells us
about existing Python implementations.

The two things are unrelated; however it is well known that Python is slow.


On the other hand, if you are planning on rewriting the
existing interpreter in something other than C, what
is that something?

Nope.


Sample neos session (parsing a fibonacci program,
neoscript rather than Python in this case):

I'm not sure what relevance this has unless you want
to rewrite Python in neoscript? Or are you translating
the C into neoscript and then compiling it? But in a
later response you seem to say neoscript was not involved?

Slightly confused...


The neos Python implementation will consist of a schema file which describes 
the language plus any Python-specific semantic concepts that don't generalize 
to more than one language.

/Flibble

--
😎
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to