Saw this yesterday...
https://github.com/timothycrosley/jiphy
It translates Python to Javascript and Javascript to Python. I could see
it as an enhancement to the {{}} functionality in web2py to help write
javascript code in python syntax. C'mon, you know you already think in
python -- just admit it and go all the way!
One of the problems the author faced is that he needs a reliable way to
tell when blocks terminate. We already crossed that rubicon with our usage
of "pass" for block closures. If he added that it would make a nice
javascript emitter from python source in our "view" pages.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.