On 5/02/21 8:51 pm, Paul Sokolovsky wrote:
a = 0
while a < 5:
a += 1
----
becomes:
----
a0 = 0
while (a1 := phi(a0, a2)) < 5:
a2 = a1 + 1
SSA seems to be something intended for compilers to use as an
intermediate representation, not something to actually write
code in. So I'm puzzled as to why you would want to do this.
Also, what definition do you have in mind for phi? It doesn't
seem to be something you can implement as a real function.
--
Greg
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/UBXNDF4QL7I2IWQSUTIPCNLZXGOCG23D/
Code of Conduct: http://python.org/psf/codeofconduct/