[Python-ideas] DOM syntax guide

Chris Angelico rosuav at gmail.com
Wed Aug 16 08:13:16 EDT 2017


On Wed, Aug 16, 2017 at 10:06 PM, Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
> hum i'm saying that if i write a compiler for python based on the js
> language, is there any guideline as how to make the syntax more pythonic?

You may want to look at prior art, including PyPyJS and Brython.

https://github.com/pypyjs/pypyjs-examples
https://www.brython.info/static_doc/en/dom_api.html

ChrisA


More information about the Python-ideas mailing list