3 ms·
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 tool
by overgard 15y ago
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.
- corysama 15y agohttp://morepypy.blogspot.com/2011/04/tutorial-part-2-adding-jit.html 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!"
- po 15y agoHmm... I wonder how hard a native CoffeeScript on pypy would be...
- piranha 15y agoOr JavaScript, that would work as well.
- po 15y agoIt seems like it already has the beginnings of javascript support: https://bitbucket.org/pypy/lang-js/src/de89ec32a7dc/js/jsgrammar.txt https://bitbucket.org/pypy/lang-js/src/de89ec32a7dc/js/jsgra... compare: http://jashkenas.github.com/coffee-script/documentation/docs/grammar.html http://jashkenas.github.com/coffee-script/documentation/docs...