addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

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

From: Ned B.
Sent on: Friday, October 29, 2010 7:50 PM
It doesn't compile Python semantics into Javascript.�� The label "Python-to-Javascript compiler" is a bit of a misnomer.�� As near as I can tell, it translates "Javascript-with-a-Python-inspired-syntax" into Javascript.

--Ned.

On 10/29/2010 7:32 PM, Matt Di Pasquale wrote:
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]






--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Matt Di Pasquale ([address removed]) from The New York Python Meetup Group.
To learn more about Matt Di Pasquale, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy