Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46608 invoked from network); 5 May 2009 08:55:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2009 08:55:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.161 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 209.85.218.161 mail-bw0-f161.google.com Received: from [209.85.218.161] ([209.85.218.161:37668] helo=mail-bw0-f161.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/F4-21814-E1FFFF94 for ; Tue, 05 May 2009 04:55:59 -0400 Received: by bwz5 with SMTP id 5so4522363bwz.23 for ; Tue, 05 May 2009 01:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=JHHhyqSHNZXDTe3eaHrJF0u/OuvJrFeA+Vp0MURhy3U=; b=ISjgOkRLgE7C8m5JrUKVqvjkNkG8bZ9/fFKYaFlEUqr9GRxelyjfgiRXsWUQy4/W+J uXALvxZTeIrz45y5DZEXvE/Scseh3FkpVV0nWT7zHBru2YZKjklQB9Et4ZCA5Wl0zNHz +TmTWHcCKlijtA4HQ2LOwbrLqY3hkMABScYH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AkIqYqgcp0ZgXW9wAhBZlbmxxvT+Gh3kX0NujjYXxge4k9zkp8oTOd+5+IwWpYZcRZ GoscwVXSg4O0QorQ/6Jf7CxCUi2mnzGVF1g8nOlPiiHQfd57kBhJDXa0FA82m1OrlmOY oXGCv0ytEmVj5zoRyw+KMq7xlav2oaCtLGFFA= MIME-Version: 1.0 Sender: arnaud.lb@gmail.com Reply-To: lbarnaud@php.net Received: by 10.103.115.12 with SMTP id s12mr4268961mum.89.1241513755760; Tue, 05 May 2009 01:55:55 -0700 (PDT) In-Reply-To: References: <6E859DF0-ECE1-4682-A27C-8FCBFDA7668D@pooteeweet.org> Date: Tue, 5 May 2009 10:55:55 +0200 X-Google-Sender-Auth: 6c1b40d36d28a3b9 Message-ID: To: Lukas Kahwe Smith Cc: Pierre Alain Joye , Nuno Lopes , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.3.0RC2 From: lbarnaud@php.net (Arnaud Le Blanc) On Mon, May 4, 2009 at 5:29 PM, Lukas Kahwe Smith wrote: > until then we need to > make sure we can get that re2c bug fixed and a new release out. this might > require reducing the bus factor on re2c. A good starting point for re2c internals is the following paper: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.27.1624 It looks like feasible to add the EOF feature to re2c (which means switching to states depending of their depth (to ensure to not read ahead), and becoming ungreedy on regexps like "foo"+ when their is no additional chars (to unsure to match a token without having to see an other char next to it)). Is anyone working on it already ? (or any thought on this ?) Regards, Arnaud