https://anvil.works/blog/pycon-talk
Implementing something similar in Brython is another story, but anyway, writing a Python-to-Javascript translator is not for the faint-hearted ;-)
--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+unsubscribe@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/CAGMZAuMY81fTJ3s_SQsZkqVtGynrnkUptscskcD6i2SvaQsTBA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
Actually this is how the brython version of asyncio module is implemented... the problem with this approach is that, e.g., async imports can't be implemented without changes in code since that would need support from the python 2 js compiler
#2 - ... but will require a whole reimplementation of Brython core