4 ms·
It's kind of fascinating to peruse the generated js, if you are at all familiar with the CPython code: http://syntensity.com/static/python.js http://syntensity
by megrimlock 16y ago
It's kind of fascinating to peruse the generated js, if you are at all familiar with the CPython code:
http://syntensity.com/static/python.js http://syntensity.com/static/python.js
Also geeky fun to try to recognize what constants like 4294967295 correspond to -- it's all over the place!
And lots of literal char* strings encoded as integer sequences:
>>> s = [111,98,106,101,99,116,46,95,95,102,111,114,109,97,116,95,95,32,119,105,116,104,32,97,32,110,111,110,45,101,109,112,116,121,32,102,111,114,109,97,116,32,115,116,114,105,110,103,32,105,115,32,100,101,112,114,101,99,97,116,101,100,0]
>>> ''.join(map(chr,s))
'object.__format__ with a non-empty format string is deprecated\x00'