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


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

rJSmin 1.0.9

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <nd@perlig.de>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'url:pypi': 0.03; '(python': 0.07; 'pypy': 0.07; 'string': 0.09; 'collapsed': 0.09; 'converted': 0.09; 'newline': 0.09; 'runtime': 0.09; 'spaces': 0.09; 'strings.': 0.09; 'url:apache': 0.09; 'url:github': 0.09; 'python': 0.11; '2.7': 0.14; '(however,': 0.16; 'aiming': 0.16; 'andr\xe9': 0.16; 'differs': 0.16; 'exclamation': 0.16; 'license:': 0.16; 'literals': 0.16; 'literals,': 0.16; 'newlines': 0.16; 'only)': 0.16; 'optionally': 0.16; 'semantics': 0.16; 'to:addr:python-announce-list': 0.16; 'url:license-2': 0.16; 'url:licenses': 0.16; 'ways:': 0.16; 'skip:= 10': 0.16; 'module': 0.19; 'written': 0.21; 'header:User- Agent:1': 0.23; 'error': 0.23; 'string,': 0.24; 'versions': 0.24; '2.0': 0.26; 'recognized': 0.26; 'updating': 0.26; 'supported': 0.26; 'world,': 0.26; 'characters': 0.30; "i'm": 0.30; 'code': 0.31; 'comments': 0.31; 'usually': 0.31; 'correctly.': 0.31; 'douglas': 0.31; 'fixing': 0.31; 'operators': 0.31; 'produces': 0.31; 'skip:= 20': 0.31; 'such.': 0.31; 'regular': 0.32; 'url:python': 0.33; 'announce': 0.33; 'comment': 0.34; 'except': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'url:org': 0.36; 'starting': 0.37; 'handle': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'received:unknown': 0.61; 'content-disposition:inline': 0.62; 'complete': 0.62; 'received:217': 0.63; 'header:Message-Id:1': 0.63; 'more': 0.64; 'kept': 0.65; 'license': 0.66; 'url:0': 0.67; 'results': 0.69; '3.4': 0.84; '=====': 0.84; '============': 0.84; 'cosmetic': 0.84; 'homepage': 0.91; 'received:(helo localhost)': 0.91; 'sensibly': 0.91
From André Malo <nd@perlig.de>
Organization TIMTOWTDI
To python-announce-list@python.org
Subject rJSmin 1.0.9
Date Sun, 23 Feb 2014 22:41:56 +0100
User-Agent KMail/1.9.10
MIME-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
X-Mailman-Approved-At Mon, 24 Feb 2014 16:08:40 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
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>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.7313.1393254521.18130.python-announce-list@python.org> (permalink)
Lines 63
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1393254521 news.xs4all.nl 2880 [2001:888:2000:d::a6]:59089
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1232

Show key headers only | View raw


Hello World,

I'm pleased to announce version 1.0.9 of rJSmin.


About rJSmin
============

rJSmin is a javascript minifier written in python. The minifier is based
on the semantics of jsmin.c by Douglas Crockford.

The module is a re-implementation aiming for speed, so it can be used at
runtime (rather than during a preprocessing step). Usually it produces
the same results as the original jsmin.c. It differs in the following
ways:

- there is no error detection: unterminated string, regex and comment
  literals are treated as regular javascript code and minified as such.
- Control characters inside string and regex literals are left
  untouched; they are not converted to spaces (nor to \n)
- Newline characters are not allowed inside string and regex literals,
  except for line continuations in string literals (ECMA-5).
- "return /regex/" is recognized correctly.
- "+ +" and "- -" sequences are not collapsed to "++" or "--"
- Newlines before ! operators are removed more sensibly
- Comments starting with an exclamation mark ('!') can be kept optionally
- rJSmin does not handle streams, but only complete strings. (However,
  the module provides a "streamy" interface).


About Release 1.0.9
===================

This is a cosmetic release fixing documentation issues and updating 
benchmarks.


Supported Python Versions
=========================

* Python 2.4 - 2.7
* Python 3.1 - 3.4
* PyPy 1.9, 2.0
* Jython 2.5, 2.7 (Python only)


License
=======

rJSmin is available under the terms and conditions of the "Apache License,
Version 2.0."


Links
=====

* Homepage + Documentation: http://opensource.perlig.de/rjsmin/
* PyPI: https://pypi.python.org/pypi/rjsmin
* Github: https://github.com/ndparker/rjsmin
* License: http://www.apache.org/licenses/LICENSE-2.0


André "nd" Malo

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


Thread

rJSmin 1.0.9 André Malo <nd@perlig.de> - 2014-02-23 22:41 +0100

csiph-web