Date: Tue, 31 Jul 2012 15:27:35 -0600 From: Warner Losh <imp@bsdimp.com> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: Thomas Dickey <dickey@his.com>, FreeBSD-arch Arch <freebsd-arch@FreeBSD.org> Subject: Re: Flex update Message-ID: <3DB8FADE-932D-4F13-9BA0-A68C26092490@bsdimp.com> In-Reply-To: <20120731205935.GT21678@ithaqua.etoilebsd.net> References: <B568515E-1098-402F-9E23-7532BEBB8369@bsdimp.com> <20120720082300.GA5077@debian50-32.invisible-island.net> <20120731205935.GT21678@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 31, 2012, at 2:59 PM, Baptiste Daroussin wrote: > 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 = changes >> to this version, along the lines of the ones I incorporated into = byacc). >>=20 >> --=20 >> Thomas E. Dickey <dickey@invisible-island.net> >> 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, = normally > our version of m4 is now compatible with gnu m4 (I added some missing = bits > 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. >=20 > I already imported byacc from invisible island, I was supposed to add = some > "fixes" to byacc (bde has spotted) and provide them to Thomas, sorry I = have > been slacking in that area recently. >=20 > Once that is done, I have on my todo list importing reflex to replace = our 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. Cool. The only new feature I need from flex is the = yypush/yypop_buffer_state. That was the reason I started down this = path, but punted when I discovered 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. Warner=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB8FADE-932D-4F13-9BA0-A68C26092490>