From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 18D1E431FAE for ; Thu, 13 Sep 2012 04:11:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wezolmz4o8jE for ; Thu, 13 Sep 2012 04:11:04 -0700 (PDT) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BA418431FAF for ; Thu, 13 Sep 2012 04:11:03 -0700 (PDT) Received: by weyt57 with SMTP id t57so1799615wey.26 for ; Thu, 13 Sep 2012 04:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:in-reply-to:organization:references :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version :content-type; bh=nXXa8BmY6AeMVwFROo8hQMBE1XcKWCWnFW0LRXdkAM0=; b=K1i/c8pHFWxdGz+tocc+C6REh4Q9yF7LGgCxsr1E0WWe35Fzah1EMVa9BY5mLe9Vtc asa6TU5h0GssmIPTiAO3mvnqovqFmpYR4+bIdzAdoQovjGSm/QA4dnO/ZWHYOVS9oC5H dA9X9HqlF623HxXhmtayaEz1J4w4562HuhgHpD5YE1Aj8hwx4szlXh4Gqft5Fh3zMfvk IvEkVTpRg+ErrBaSIn4GIWMOzWApJ6tfUM8iQ+fouTBIAd6W+ecL5pG5Zo1npBpfm4Xe 3YyLf2jMrYu+57/uvFaW31FJp+jlH7af64l3VW7ZsGAG64wl2tMviyzxrDeumOAtcYOS NyOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:in-reply-to:organization:references :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version :content-type:x-gm-message-state; bh=nXXa8BmY6AeMVwFROo8hQMBE1XcKWCWnFW0LRXdkAM0=; b=mTVpB/b9xBOn3Q4Sn6IcB3PYUJqasGACkhK8jZVG6HKQCti7Wx52HZQaqLWfY1armz CMohxTpKqHHTljRuTilkpshPWS4wAQKfAAMYwTglLrBVNUaNb5etvbG6EmKBaL/OC4cZ MzIXzIBlTQIzza0qMXBWHmUOMHxzIu+KqGpT4WnBK9OCpusNsIb2I2Yv2m2LMSwfBPgk 8SyQNwbKLmBD4Va/MIrkObMkzZW9VYruw1mULu9QzwGurv01yb6/ySii7T8V6p/cmJE/ 9SbDfN6N+RXtU3GtmOylSJLp7fflzCOXv75hBfXhVmhl+2LpAkbxYPvNoQi+8shK7WwE QUGg== Received: by 10.180.14.8 with SMTP id l8mr4151573wic.6.1347534661169; Thu, 13 Sep 2012 04:11:01 -0700 (PDT) Received: by 10.180.14.8 with SMTP id l8mr4151551wic.6.1347534661008; Thu, 13 Sep 2012 04:11:01 -0700 (PDT) Received: from mpn-glaptop ([2620:0:105f:5:f2de:f1ff:fe35:1a72]) by mx.google.com with ESMTPS id fr4sm19695583wib.8.2012.09.13.04.10.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 04:10:59 -0700 (PDT) Sender: Michal Nazarewicz From: Michal Nazarewicz To: Jani Nikula , notmuch@notmuchmail.org, David Bremner Subject: Re: [PATCH v3 2/9] parse-time-string: add a date/time parser to notmuch In-Reply-To: <89741ec9a9687fca8b30aa1a4877392d355dd3ce.1347484177.git.jani@nikula.org> Organization: http://mina86.com/ References: <89741ec9a9687fca8b30aa1a4877392d355dd3ce.1347484177.git.jani@nikula.org> User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q2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC X-PGP: 50751FF4 X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 Date: Thu, 13 Sep 2012 13:10:53 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Gm-Message-State: ALoCoQnXCaFrSRp0HmSrIA0VQBdt+nFfZKXeDvgNleoo5y2Dzvl/EIjdjNhZjYFEx3Si5s2n0hOgSYfn8zqToDB0dhSzGLXVXcgtoWewwNsWHFm6uXNZqdzb8PwUCyWkKH3G266++aDsoQEspcUFXwRMESHDckrmu00CeMW2g6Bvk1H12zMI26Zls8N9UVryWruxXvh27W+M X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2012 11:11:05 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Sep 12 2012, Jani Nikula wrote: > Add a date/time parser to notmuch, to be used for adding date range > query support for notmuch lib later on. Add the parser to a directory > of its own to make it independent of the rest of the notmuch code > base. > > Signed-off-by: Jani Nikula Have you consider doing the same in bison? I consider the code totally unreadable and unmaintainable. --=20 Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = (o o) ooo +------------------ooO--(_)--Ooo-- --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQUb89AAoJECBgQBJQdR/03YgP/0o3kbNHUg8v/3VST7OvmYGR lWEu6zSb26Z5meAPP6gSGk081RffWcf7nAzw4D70AxKsifP3k49VzDmoHiVrWsHj iB/ffRoIBTnwJdAzktgmpgzif/FmyhEpT3t7D2Q/HTQDmUAy2TCWKUrpCIQk4aUD hyIEzgiBBlD0WoFrwySB1KnxGQQaKdWWq2q2aBFe+81WekTtj+BXbLyw1/yhKruy 75QcRJChT7aGHjXczL6UIwPagT4zH/eONo2ZhQ48T7QVHwtDNjDpfHa73yQPKkW8 Ook1qAS8RJ4hUtMnMF8FJf+fHYeKU3GAIVshqJx5NViYitGrmj6Gi1NvT1HWhQAO qOaiVRu69Wrj6VKLe+vxUPKgjEDUxRPfn8/nuuVVTfyhNtLgyQipfLi1rb9+PZ+0 x9izXhlvj9hg3Nk8ddxefhdG7pRGyFyLrGsRdu4l2smd5BZVnN060Ojc2l4u/bbf OIhK6VEFNSdmROtdEAr6EOvTH7ZsXiokUPKQ8xslR45jkFVz9CHO5MitLmdZt3c8 JjXcieKE31kyKtq0zwodzks+lKJMeubgRYv2dLoUuL6Ng7ottqOjnWKCSq69nEnL S/fVvOLIHjmhhrbMfOFEz/BP7lgnbbUTnVlqZd94ygAiu9Ne79OWUrdnxOCH9SMd slSduWQqwHVAUVU/twKz =RH+/ -----END PGP SIGNATURE----- --==-=-=-- --=-=-=--