From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFD0z-0003xh-7t for qemu-devel@nongnu.org; Fri, 21 Sep 2012 19:52:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFD0x-0000rl-Vi for qemu-devel@nongnu.org; Fri, 21 Sep 2012 19:52:09 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:52778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFD0x-0000rc-Qe for qemu-devel@nongnu.org; Fri, 21 Sep 2012 19:52:07 -0400 Received: by obbta14 with SMTP id ta14so3559423obb.4 for ; Fri, 21 Sep 2012 16:52:07 -0700 (PDT) Sender: fluxion Date: Fri, 21 Sep 2012 18:52:01 -0500 From: Michael Roth Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <505CF5B1.70002@redhat.com> 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: Eric Blake Cc: blauwirbel@gmail.com, peter.maydell@linaro.org, aliguori@us.ibm.com, qemu-devel@nongnu.org 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+. > > -- > Eric Blake eblake@redhat.com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org >