align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

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

From: Patrick
Sent on: Friday, October 29, 2010 8:20 PM
How would you use a library like jquery in javascript with this? If
there's any reason too?

Jquery makes javascript tolerable.

On Fri, Oct 29, 2010 at 7:51 PM, Ned Batchelder <[address removed]> wrote:
> It doesn't compile Python semantics into Javascript.? The label
> "Python-to-Javascrip­t compiler" is a bit of a misnomer.? As near as I can
> tell, it translates "Javascript-with-a-P­ython-inspired-synta­x" 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.ycomb...­
>>
>> - Andrew
>>
>>
>>
>> --
>> Please Note: If you hit "REPLY", your message will be sent to everyone on
>> this mailing list ([address removed])
>> http://www.meetup...­
>> 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...­
>> To unsubscribe or to update your mailing list settings, click here:
>> http://www.meetup...­
>> 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]
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by Ned Batchelder ([address removed]) from The New
> York Python Meetup Group.
> To learn more about Ned Batchelder, 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