Re:PyPy's future directions
by overgard on Saturday October 08, 2011 @02:28PM
(#3088562)
I think one of the most exciting things about PyPy that sometimes get lost is that it's not only a great interpreter, it's a great interpreter construction toolset. I like python the language itself quite a bit, but if I were writing an interpreter for a new language PyPy would probably be the platform I'd want to implement it on.
[ Parent
| on HN ]
http://morepypy.blogspot.com/2011/04/tutorial-part-2-adding-...
"Translating RPython to C is pretty cool, but one of the best features of PyPy is its ability to generate just-in-time compilers for your interpreter. That's right, from just a couple hints on how your interpreter is structured, PyPy will generate and include a JIT compiler that will, at runtime, translate the interpreted code of our BF language to machine code!"
Hmm... I wonder how hard a native CoffeeScript on pypy would be...
Or JavaScript, that would work as well.
It seems like it already has the beginnings of javascript support:
https://bitbucket.org/pypy/lang-js/src/de89ec32a7dc/js/jsgra...
compare:
http://jashkenas.github.com/coffee-script/documentation/docs...