Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2093

ANN: python_to_coffeescript 0.1

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From "Edward K. Ream" <edreamleo@gmail.com>
Newsgroups comp.lang.python.announce
Subject ANN: python_to_coffeescript 0.1
Date Thu, 31 Mar 2016 06:36:32 -0500
Lines 26
Approved python-announce-list@python.org
Message-ID <mailman.250.1459424754.28225.python-announce-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de fR+Peslh0lKbniCCzABRDwR9ekVQVRxQrWlFs0f4kWYA==
Return-Path <edreamleo@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'base.': 0.05; 'converts': 0.07; 'subject:ANN': 0.07; '0.1': 0.09; 'edward': 0.09; 'effect.': 0.09; 'overwrite': 0.09; 'subject:0.1': 0.09; 'url:github': 0.09; 'python': 0.10; '<>.': 0.11; 'output': 0.13; 'syntax': 0.13; '*only*': 0.16; '2016': 0.16; 'complains': 0.16; 'ream': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'creates': 0.18; '31,': 0.22; 'script': 0.25; 'command': 0.26; 'equivalent': 0.27; 'message-id:@mail.gmail.com': 0.27; 'converting': 0.27; 'command- line': 0.29; 'creating': 0.30; 'code': 0.30; 'option': 0.31; 'knows': 0.32; 'source': 0.33; 'file': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'itself': 0.38; 'received:209': 0.38; 'names': 0.38; 'files': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'email addr:gmail.com': 0.62; 'march': 0.64; 'results': 0.66; '8bit%:43': 0.72; 'subject:skip:p 20': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=S6k4VWVwfPBIRxP5WydvRWmQPVDMauyJRFpBN+uZRkI=; b=DZjm5JEZ2nA8DEIei2aRIQvXFqGSon2UefInO4qolbv3xyWARHbBdTGYMGWhcrBqXR iQPRyUeSpzF1qPZ3VaHShJbBv0KsfNbC2QJeUFqGcu4Reap9Md4jFkpXCAOYgSHhRaGw KPGz5ZLKeD+oVlF4asBuddjcQ5oH6cfxcCTTvxMThsXPr9khC5AuNAZsgmoAa4JdkM0U Sx62XsJma591U47d33EoONHz6n5Aude+TRTn29cgEJXgw7GO35RAQVE/CbyvgnTn3hDr ajpFW0mXaF5vUC2rurXVHQNKxKIrlOX4uxDfqSyZN1wE9sZwUq6xWg0gn5GPPS6bR+x8 deFQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=S6k4VWVwfPBIRxP5WydvRWmQPVDMauyJRFpBN+uZRkI=; b=Y1OPrLYrirBdVzcFLaSVtdULHeFQHS72vRTEGCJyN9Jb8rpWCVdlau+l/j+++60kwp 1dVWMCq5RDwE5z4JlLh3Hlp4MjQsI9E/yd6DsjRR/gGzCddOxghOCrhPJ7XarOT7SfGp 8+3BzGZv7PlWG0WdKBSLnu15rOMurL5GDf1zWLgRA3fAv+g3KZAy+ERmhtvKV+5DfpAA IRP12u2kCQzCiSCSpnlagnZc+JWCSUHAWTM5KlCrFrgFBrOBJHWkIQFOXGiV9S7Vhcsl lgzVseInBWHX2/hg65vBLmUQvQviLQq65jqbO9srj/ibJcT8l8qzwUMoK9rzABYSfcMN ct3A==
X-Gm-Message-State AD7BkJJW94Wd0mw22J5L8NFgy2qdl4JM9ak79HRLKq51t2kOgCvEDyuPw17a+d+SGPlOzSo7qr7OQW8zevxXoQ==
X-Received by 10.37.55.71 with SMTP id e68mr360437yba.5.1459424192773; Thu, 31 Mar 2016 04:36:32 -0700 (PDT)
X-Mailman-Approved-At Thu, 31 Mar 2016 07:45:52 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python.announce:2093

Show key headers only | View raw


py2cs.py 0.1 is now available on github
<https://github.com/edreamleo/python-to-coffeescript>.

This script makes a coffeescript <http://coffeescript.org/> (.coffee) file
in the output directory for each source file listed on the command line
(wildcard file names are supported). This script never creates directories
automatically, nor does it overwrite .coffee files unless the --overwrite
command-line option is in effect.

This script merely converts python syntax to the roughly equivalent
coffeescript syntax. It knows nothing about coffeescript semantics. It is
intended *only* to help start creating coffeescript code from an existing
python code base.

This script already does much of the grunt work of converting python to
coffeescript. The script processes itself without error, but coffeescript
itself complains about some results
​.​

​Edward​ K. Ream
March 31, 2016
------------------------------------------------------------------------------------------
Edward K. Ream: edreamleo@gmail.com Leo: http://leoeditor.com/
------------------------------------------------------------------------------------------

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANN: python_to_coffeescript 0.1 "Edward K. Ream" <edreamleo@gmail.com> - 2016-03-31 06:36 -0500

csiph-web