Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm, can this be used for only javascript? As in, I write my own html but use pyjamas to generate my js (which can manipulate the dom of my html).

I'm down with abstracting javascript (good riddance), but I like to be picky about html.



yep, that's right. pyjamas has three components:

* a stand-alone javascript compiler

* a DOM-model library that can be used to do things like getElementById

* a UI-widget library that has things like HTMLPanel, Label, Tree, Image

pyjamas-desktop rips out the first of these, rips out all javascript in 2) and 3) and replaces the javascript with Webkit/Glib, thus providing the exact same functionality. it's blindingly quick.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: