From owner-freebsd-arch@FreeBSD.ORG Tue Jul 31 21:38:21 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7302106566B; Tue, 31 Jul 2012 21:38:21 +0000 (UTC) (envelope-from tom@invisible-island.net) Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6F3E58FC0C; Tue, 31 Jul 2012 21:38:21 +0000 (UTC) Received: from par-debian50-32.jexium-island.net ([unknown] [96.255.140.153]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M81000MTO2X1NF1@vms173005.mailsrvcs.net>; Tue, 31 Jul 2012 16:37:50 -0500 (CDT) Received: from par-debian50-32.jexium-island.net (localhost [127.0.0.1]) by par-debian50-32.jexium-island.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q6VLbjmI004320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 31 Jul 2012 17:37:45 -0400 Received: (from tom@localhost) by par-debian50-32.jexium-island.net (8.14.3/8.14.3/Submit) id q6VLbjqw004318; Tue, 31 Jul 2012 17:37:45 -0400 Date: Tue, 31 Jul 2012 17:37:45 -0400 From: Thomas Dickey To: Warner Losh Message-id: <20120731213745.GA4304@debian50-32.invisible-island.net> References: <20120720082300.GA5077@debian50-32.invisible-island.net> <20120731205935.GT21678@ithaqua.etoilebsd.net> <3DB8FADE-932D-4F13-9BA0-A68C26092490@bsdimp.com> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=17pEHd4RhPHOinZp Content-disposition: inline In-reply-to: <3DB8FADE-932D-4F13-9BA0-A68C26092490@bsdimp.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Baptiste Daroussin , Thomas Dickey , FreeBSD-arch Arch Subject: Re: Flex update X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dickey@his.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2012 21:38:22 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 31, 2012 at 03:27:35PM -0600, Warner Losh wrote: >=20 > On Jul 31, 2012, at 2:59 PM, Baptiste Daroussin wrote: >=20 > > On Fri, Jul 20, 2012 at 04:23:00AM -0400, Thomas Dickey wrote: > >> On Thu, Jul 19, 2012 at 10:42:15PM -0600, Warner Losh wrote: > >>> Is there some reason that flex has never been updated from 2.4.5a? > >>=20 > >> It depends on what you mean by "updated". > >>=20 > >> The usual answer is the sourceforge project. > >> It's not exactly an "update", since it breaks existing applications, > >> and its maintainer is unwilling to address those problems. > >>=20 > >> Debian for instance has old/new versions. > >>=20 > >> I don't use either - see > >>=20 > >> http://invisible-island.net/reflex/ > >>=20 > >> (earlier this year, Baptiste Daroussin suggested some additional chang= es > >> to this version, along the lines of the ones I incorporated into byacc= ). > >>=20 > >> --=20 > >> Thomas E. Dickey > >> http://invisible-island.net > >> ftp://invisible-island.net > >=20 > > reflex seems like a better solution for us than upgrade to flex (from > > sourceforge) imho, flex depends on m4 and on some gnu m4 extensions, no= rmally > > our version of m4 is now compatible with gnu m4 (I added some missing b= its > > recently) but still I don't think having flex using m4 is a good idea, = and > > reflex looks cleaner in that area. > >=20 > > reflex is just missing imho one feature from flex (sourceforge version)= that is > > ability to generate reentrant code. yes - we seem to have agreed that if/when one of us finds time, that would be good to add. (at the moment, I was thinking of doing it, but have lynx and xterm fixes that have become more urgent...) currently I'm finishing a complicated packaging change for vile. > > I already imported byacc from invisible island, I was supposed to add s= ome > > "fixes" to byacc (bde has spotted) and provide them to Thomas, sorry I = have > > been slacking in that area recently. patches are welcome :-) > > Once that is done, I have on my todo list importing reflex to replace o= ur flex. > > I did feel any hurry in that area, as I don't think we are missing too = much > > features, is there one you are particulary interested on? I was waiting= for > > reflex to support reentrant code generation before importing it. >=20 > Cool. The only new feature I need from flex is the yypush/yypop_buffer_s= tate. That was the reason I started down this path, but punted when I disc= overed the delta was less than a dozen lines of code. reflex I haven't had= to evaluate to see if it brings that in or not. >=20 > Warner --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAlAYUCkACgkQcCNT4PfkjtvE4ACfbzsyIfN8BxIw4Lf0xAeghK8A Te4AoMkaNrFlVOB1Sy7zGKCLSSIaNTYr =FLRG -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--