From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 16 13:32:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8732C16A41A for ; Wed, 16 Jan 2008 13:32:24 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id C4A8313C458 for ; Wed, 16 Jan 2008 13:32:23 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id B160816C690; Wed, 16 Jan 2008 14:32:21 +0100 (CET) Received: from carrot.studby.ntnu.no (caracal.stud.ntnu.no [129.241.56.185]) by bene1.itea.ntnu.no (Postfix) with ESMTP id D883716C750; Wed, 16 Jan 2008 14:32:14 +0100 (CET) Date: Wed, 16 Jan 2008 14:32:14 +0100 From: Ulf Lilleengen To: Bob Bishop Message-ID: <20080116133214.GA2666@carrot.studby.ntnu.no> References: <20080116093302.GA13632@carrot.studby.ntnu.no> <0CE4984F-41F7-44EA-9FE7-0E573DB2B338@gid.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0CE4984F-41F7-44EA-9FE7-0E573DB2B338@gid.co.uk> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: freebsd-hackers@freebsd.org Subject: Re: Csup cvsmode build discussion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 13:32:24 -0000 On Wed, Jan 16, 2008 at 11:08:20AM +0000, Bob Bishop wrote: > Hi, > > On 16 Jan 2008, at 09:33, Ulf Lilleengen wrote: > >> Hello hackers, >> >> As some might know, I've been implementing CVSMode for csup over the last >> couple >> of months. Right now, I'm quite close to have it work (does not mean it [...] >> >> What I ask of you is comments on these alternatives as well as inserting >> your >> fantastic idea if you happen to have one :) > > I'm not going to comment on the merits of flex and bison as I like to be > polite :-) > > I'd suggest (a), but package the yacc and lex source files up as a port so > that they are in CVS and can readily be rebuilt if necessary. > Perhaps. Not very pretty. > Why do you want prefixing? And precisely what do you want to do with > parameters? > Prefixing is needed since csup already have a configuration parser written in lex/yacc and therefore needed to avoid conflicts. Parameters is nice if one were to modify the parser to take extra arguments, I don't have a concrete example for it yet, but it's nonetheless a requirement for reentrancy. An alternative d) that I got from Maxime is that I'll take a look and see if I can use a parser from cvsync or from the previous SoC 2005 work, which I think is a good idea. -- Ulf Lilleengen