addressalign-toparrow-leftarrow-leftarrow-right-10x10arrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblightning-boltlinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstar-shapestartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

Re: [nycpython] PYXC-PJ: a Python to Javascript compiler

From: Matthew Mario Di P.
Sent on: Friday, October 29, 2010, 7:32 PM
Cool. Is there something like this to convert Ruby into JavaScript?
Why would you use such a tool? Would one example be to get form validation code on the client (JavaScript) and the server (Python), in case the user disables the JavaScript on the browser to try to crash your site?
What's another better example?

Thanks,

Matt

On Fri, Oct 29, 2010 at 3:41 PM, Andrew Schaaf <[address removed]> wrote:
Hey everybody,

I've just released a Python-to-JavaScript compiler:

http://pyxc.org

It's a lean, mean, syntax-transforming machine, similar in spirit to CoffeeScript, transforming your Python syntax to exactly the JavaScript syntax you'd expect.

Hacker News comments and up-votes welcome: http://news.ycombinator.com/item?id=1848643

- Andrew



--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://www.meetup.com/nycpython/
This message was sent by Andrew Schaaf ([address removed]) from The New York Python Meetup Group.
To learn more about Andrew Schaaf, visit his/her member profile: http://www.meetup.com/nycpython/members/10255427/
To unsubscribe or to update your mailing list settings, click here: http://www.meetup.com/nycpython/settings/
Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]