Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Cameron Simpson Newsgroups: comp.lang.python Subject: Re: psss...I want to move from Perl to Python Date: Sun, 31 Jan 2016 20:56:53 +1100 Lines: 17 Message-ID: References: <0a7a4070-f201-4eaa-aedb-80ab970ca06a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: news.uni-berlin.de y6wNuUACGrqdC66qAQxspAF2e/dmjA0S/pEc3cNUvvPg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; ':-(': 0.07; 'perl,': 0.07; 'cc:addr:python-list': 0.09; 'python': 0.10; ':-)': 0.12; 'explicitly': 0.15; '2016': 0.16; '>on': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'simpson': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '31,': 0.22; 'explicit': 0.22; 'cc:no real name:2**0': 0.22; 'thanks,': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'guess': 0.31; 'compiled': 0.32; 'skip:> 10': 0.35; 'something': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'january': 0.38; 'received:localdomain': 0.38; 'subject:from': 0.39; 'ever': 0.60; 'here.': 0.62; 'course': 0.62; 'more': 0.63; 'binding': 0.66; 'cameron': 0.66; '3000': 0.79; '512': 0.84; 'utc+5:30,': 0.84; 'rusi': 0.91; 'have.': 0.93; 'subject:want': 0.93 Content-Disposition: inline In-Reply-To: <0a7a4070-f201-4eaa-aedb-80ab970ca06a@googlegroups.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102342 On 30Jan2016 19:53, rusi wrote: >On Sunday, January 31, 2016 at 9:18:31 AM UTC+5:30, Cameron Simpson wrote: >> On 30Jan2016 19:22, rusi wrote: >> >Have you ever seen a program that uses 512 re's? >> >I havent :-) >> >> I have. I've got one right here. It happens to be in perl, but it has been in >> need of a recode in Python for a long time. It has about 3000 regexps. >> >> Of course they will be explicitly compiled in the recode. > >I would guess it needs more recoding than explicit compilation! >Maybe something like http://www.colm.net/open-source/ragel/ >Unfortunately no python binding so far :-( Interesting. Thanks, Cameron Simpson