From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGcOQ-0003wl-Ae for qemu-devel@nongnu.org; Tue, 25 Sep 2012 17:10:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGcON-0007i3-4O for qemu-devel@nongnu.org; Tue, 25 Sep 2012 17:10:10 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:54114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGcOM-0007Vo-W0 for qemu-devel@nongnu.org; Tue, 25 Sep 2012 17:10:07 -0400 Received: from /spool/local by e4.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 25 Sep 2012 17:10:01 -0400 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8PL9vla176606 for ; Tue, 25 Sep 2012 17:09:58 -0400 Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8PL9s3Z000454 for ; Tue, 25 Sep 2012 15:09:57 -0600 From: Anthony Liguori In-Reply-To: <20120921235201.GU16157@illuin> References: <1348236465-23124-1-git-send-email-mdroth@linux.vnet.ibm.com> <1348236465-23124-19-git-send-email-mdroth@linux.vnet.ibm.com> <505CF5B1.70002@redhat.com> <20120921235201.GU16157@illuin> Date: Tue, 25 Sep 2012 16:09:50 -0500 Message-ID: <87haqlollt.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 18/22] qidl: add lexer library (based on QC parser) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth , Eric Blake Cc: blauwirbel@gmail.com, peter.maydell@linaro.org, qemu-devel@nongnu.org Michael Roth writes: > On Fri, Sep 21, 2012 at 05:18:09PM -0600, Eric Blake wrote: >> On 09/21/2012 08:07 AM, Michael Roth wrote: >> > Adds an abstract Lexer class to handle tokenizer via a >> > peek/pop/peekline/popline interface, along with an implementation for C >> > based on the lexer from qc.git >> > >> > Signed-off-by: Michael Roth >> > --- >> > scripts/lexer.py | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> > 1 file changed, 306 insertions(+) >> > create mode 100644 scripts/lexer.py >> > >> > diff --git a/scripts/lexer.py b/scripts/lexer.py >> > new file mode 100644 >> > index 0000000..e740e5c >> > --- /dev/null >> > +++ b/scripts/lexer.py >> > @@ -0,0 +1,306 @@ >> > +# >> > +# QEMU Lexer Library >> > +# >> > +# Copyright IBM, Corp. 2012 >> > +# >> > +# Authors: >> > +# Anthony Liguori >> > +# Michael Roth >> > +# >> > +# This work is licensed under the terms of the GNU GPLv2. >> >> Any specific reason this is not GPLv2+? > > I thought I'd assigned the same license Anthony used for > https://github.com/aliguori/qidl/blob/master/qc.py, but I > guess the license wasn't actually specified. If it's fine > by Anthony I'll switch them to GPLv2+. Works for me. Regards, Anthony Liguori > >> >> -- >> Eric Blake eblake@redhat.com +1-919-301-3266 >> Libvirt virtualization library http://libvirt.org >>