From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFCUB-0006RJ-8p for qemu-devel@nongnu.org; Fri, 21 Sep 2012 19:18:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFCUA-00072j-2v for qemu-devel@nongnu.org; Fri, 21 Sep 2012 19:18:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFCU9-00072d-Nu for qemu-devel@nongnu.org; Fri, 21 Sep 2012 19:18:13 -0400 Message-ID: <505CF5B1.70002@redhat.com> Date: Fri, 21 Sep 2012 17:18:09 -0600 From: Eric Blake MIME-Version: 1.0 References: <1348236465-23124-1-git-send-email-mdroth@linux.vnet.ibm.com> <1348236465-23124-19-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1348236465-23124-19-git-send-email-mdroth@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig73B396A0D106936A173D6FB5" 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 Cc: blauwirbel@gmail.com, peter.maydell@linaro.org, aliguori@us.ibm.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig73B396A0D106936A173D6FB5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 >=20 > Signed-off-by: Michael Roth > --- > scripts/lexer.py | 306 ++++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > 1 file changed, 306 insertions(+) > create mode 100644 scripts/lexer.py >=20 > 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+? --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig73B396A0D106936A173D6FB5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBCAAGBQJQXPWyAAoJEKeha0olJ0NqIREIAJbtmiKS1GohQzFKX872vj1l 7Lodm6EaRTD+31ml01Krz5Fnulz/XabdUycqFRemEcAE64DqzJoclXtF6mwloZLM hGJKyMCdonohgvNQzldiZNUQXEtrfC7CjcT9HhVmjMJ1HAM3rXMzrvmzs5imF3sg G8GF7HWtmC73d45PZ3bXYugU0mwZvDN48gvlZWv1oqBaGVayJCZcJFeQ2xY/BpsQ OqCge06m9o5gVH/AhHYKErLZWnmmQd5UkNvMbgcGPMzz3ChF1QyOcEEe8BGA8B1F n4bfEmMNbnXUFedwoGMufetNdek6riOmH2XGYAOx80of5yzQDKe/jlhlp7SqSX4= =PCO0 -----END PGP SIGNATURE----- --------------enig73B396A0D106936A173D6FB5--