News for hackers. Stuff that matters.
Re:PyPyJS – PyPyBox by rsi_oww on Saturday March 19, 2016 @10:15PM (#11321470)
There's also rapydscript-ng by the author of Calibre

https://github.com/kovidgoyal/rapydscript-ng/

Re:PyPyJS – PyPyBox by AnkhMorporkian on Saturday March 19, 2016 @11:05PM (#11321612)
Rapydscript is neat, but it's not exactly python. If I wanted to import a python package from PyPi into Rapydscript, I'd be SOL.
Re:PyPyJS – PyPyBox by rsi_oww on Sunday March 20, 2016 @12:42AM (#11321842)
But you can't do that with Transcrypt, either. Both are "not quite python" and won't run regular python code. There is very little difference between the goal of the two projects.
Re:PyPyJS – PyPyBox by AnkhMorporkian on Sunday March 20, 2016 @01:23AM (#11321928)
Yes, you can. As long as the import is pure python code, it'll handle the import just fine.

Edit: Within reason. Anything involving the sys module is out, since there's no system to back it.

Re:PyPyJS – PyPyBox by rsi_oww on Sunday March 20, 2016 @02:06AM (#11321990)
"Known restrictions...No standard libs...Not all methods of builtin types are there by default...No iterator, generator, xrange stuff."

There's also the fact that everything is still, at the core, pure javascript. For example you can't print("string" * 10) or even iterate over a dictionary.

I'm not saying this to put down the project - I am very interested in it - but it cannot parse pure python, and that isn't the goal of the project.

Re:PyPyJS – PyPyBox by AnkhMorporkian on Sunday March 20, 2016 @09:50AM (#11322880)
Granted, there are restrictions. However, a lot of those restrictions have disappeared in recent releases, and more are disappearing all the time. Iterators, generators, xrange, I expect those all to be included in due time. Additionally, re: the standard library, there is a project called Ouroboros[1] that replicates the standard library in pure python, and there was discussion regarding integrating that into Transcrypt.

You're right, it's not there yet, and I'm interested in it for purely theoretical reasons (I personally don't think I'd ever use Transcrypt for anything in production), but I think it holds great potential.

[1]: https://github.com/pybee/ouroboros/tree/master/ouroboros