Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95267
| Path | csiph.com!usenet.pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'debug': 0.04; 'subject:Python': 0.05; 'attributes': 0.07; 'pypy': 0.07; 'cc:addr:python-list': 0.09; 'semantics': 0.09; 'python': 0.10; 'syntax': 0.13; 'wed,': 0.15; "(it's": 0.16; 'cc:name:python': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'later': 0.16; 'string': 0.17; 'debugging': 0.18; 'integer': 0.18; 'string,': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'fairly': 0.22; 'keys': 0.22; 'am,': 0.23; 'bit': 0.23; 'plain': 0.24; 'header:In-Reply- To:1': 0.24; '(which': 0.26; 'switch': 0.27; 'message- id:@mail.gmail.com': 0.27; 'cool': 0.27; 'dictionary': 0.29; 'project:': 0.29; 'convert': 0.29; "i'm": 0.30; 'code': 0.30; 'running': 0.34; 'received:google.com': 0.35; 'so,': 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'does': 0.39; 'subject:from': 0.39; 'still': 0.40; 'your': 0.60; "you'll": 0.61; 'more': 0.63; 'fact,': 0.67; '100%': 0.72; 'browser.': 0.81; 'chrisa': 0.84; 'to:none': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=mB2qqM78syLmWiD5xMYweO79WR7sDifepvDHsI/h3NY=; b=VGlCACkESyjpLggTe3lLVehNDDYgLPYG2b46QITO1M0pq5hUX14bw1Os/JOxwsW3IR o2gK5G7WTL6DMbFtZUlCxBmQ4J8Q70ztwpBr7HkEKkZqSKv9cfGcB4cV8VVcD8MfywIo c5Tmv+5TPVGlDXzE7mks0lPT8OXtRM29eNRXoPzop+BXcDO4Jx+bstlXylkv3iZ1GHql w/wyxL7/FOp1AisZiFrzSfl5Wkh2HrRN8HsYPzWDtzlTehjlyVYgVAfjWCaA3hmA1C+c 7Lmx6YzqbqKpXTYZfhPG+wjp4gqmmYGNaDxb/lHNEaWnXZRStJYqKJwLj8DWBaIikIZQ XzBw== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.163.11 with SMTP id m11mr30323800ioe.31.1439340754834; Tue, 11 Aug 2015 17:52:34 -0700 (PDT) |
| In-Reply-To | <CANXBEFphX1ksa2FwB6rSmC9-OD7UQHtFaEcEbBNZ4+k58pUSUA@mail.gmail.com> |
| References | <CAMQ2MsE+OfrUvCoEB7+fMrVvFH_Piw4YzTmRXHJ_BQbwg51FdA@mail.gmail.com> <CALwzidkSGXNGpmhR2DX8ejGJ_xUY_DeHaTG8NeN6=oGhnQNQag@mail.gmail.com> <CAMQ2MsEuk4Ow=DiU_WbSEHJEeBrkKDmhTK5AH8c0dckcBQdfiw@mail.gmail.com> <CANXBEFocjrpL+8AbbCYtodg1QsMyaOFARhB4Ndh37hm3F0TGSA@mail.gmail.com> <CAMQ2MsFPEapmwTbCg2EH8W7KhK+BZyu_USHuWBJTSmgA00Renw@mail.gmail.com> <CANXBEFphX1ksa2FwB6rSmC9-OD7UQHtFaEcEbBNZ4+k58pUSUA@mail.gmail.com> |
| Date | Wed, 12 Aug 2015 10:52:34 +1000 |
| Subject | Re: pyjs - a compiler from Python to JavaScript |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | Python <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.93.1439340763.3627.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1439340763 news.xs4all.nl 2845 [2001:888:2000:d::a6]:36970 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:95267 |
Show key headers only | View raw
On Wed, Aug 12, 2015 at 5:08 AM, Fabio Zadrozny <fabiofz@gmail.com> wrote: > > As it's just a way to convert from a Python-like syntax to JavaScript syntax you can even switch to plain JavaScript later on if you want -- in fact, when you debug the code you'll be debugging JavaScript and not Python (it's like CoffeScript but with a Python-like syntax). > So, it functions with ECMAScript semantics everywhere? This is an important consideration. A Python integer is not the same as an ECMAScript number (which is a float), and a Python string is not the same as an ECMAScript string, and a Python dictionary has attributes and keys which don't collide. I'm more than a little tickled by the PyPyJS project: http://pypyjs.org/ That's PyPy running in your web browser. The semantics are 100% Python, but... uhh, it does require a fairly hefty download of code before it can do anything. That _is_ a bit of a downside, but it's still a pretty cool project! ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: pyjs - a compiler from Python to JavaScript Chris Angelico <rosuav@gmail.com> - 2015-08-12 10:52 +1000
csiph-web