[pypy-dev] JS backend updates

Stephan Diehl stephan.diehl at gmx.net
Mon Jul 24 20:00:56 CEST 2006


Hi Maciek,

Maciek Fijalkowski wrote:
> There were some updates recently about JS backend.
> 
> Recently:
> 
> - Added some decorator which might be usefull at declaring server-side 
> of AJAX communication
> - Polished a little bit backend so now it is able to run richards and 
> pystone as soon as you cut off zeroing assumption out of ll_alloc_and_set
> - Added some documentation
> - Bugfixes and some helper functions (ie StringBuilder) so now 
> "aaa".upper() works as expected

thanks for the added documentation.
In the meantime, I've been busy with my own JS test application (not 
using pypy yet :-(   ). If you have some time on your hand, you could 
check out http://codespeak.net/svn/user/stephan/hacks/webapp
which, if nothing else, contains a working JsonRpc implementation.
Just run 'python examplewebapp.py' and point your browser to localhost:8000.
The only dependency is on 'simplejson' (MochiKit is included)

Anyway, I'd like to see some widget stuff working, so one could maybe 
integrate / expand the pyjamas stuff or write our own.

Cheers

Stephan

> 
> Coming work:
> 
> - Hiding browser differencies
> - more examples & docs
> - Maybe some stackless stuff?
> - Very hard and usefull point: to get out Python-level traceback out of 
> exception handlers.
> - Some JS optimisations (assuming that JS compilers themselves cannot 
> optimise much if anything at all)
> - BnB more playable.
> 
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev
> 
> 




More information about the Pypy-dev mailing list