From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E8g8C-0008OG-Df for garchives@archives.gentoo.org; Fri, 26 Aug 2005 15:28:36 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7QFPV8E018240; Fri, 26 Aug 2005 15:25:31 GMT Received: from callisto.cs.kun.nl (callisto.cs.kun.nl [131.174.33.75]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7QFLAj4000309 for ; Fri, 26 Aug 2005 15:21:10 GMT Received: from localhost (localhost [127.0.0.1]) by callisto.cs.kun.nl (Postfix) with ESMTP id 25A512E821A for ; Fri, 26 Aug 2005 17:20:52 +0200 (CEST) From: Paul de Vrieze To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Re: [gentoo-dev] EBUILD_FORMAT support Date: Fri, 26 Aug 2005 17:20:50 +0200 User-Agent: KMail/1.8.2 References: <20050707002002.GH20687@lightning.stealer.net> <20050826155813.786853f5@snowdrop.home> <200508261711.04326.pauldv@gentoo.org> In-Reply-To: <200508261711.04326.pauldv@gentoo.org> X-Face: #Lb+'V@sGJ;ptgo5}V"W+5OCoo{LZv;bh,s,`WKLi/J)ed1_$0;6X<=?utf-8?q?700LVV/=3BLqPhiDP=5E=0A=09=27f=5Dfnv?=@%6M8\'HR1t=aFx;ePfp{ZQoBe+e)JOQ8T5*(_;mHY+cltLGq<;@$Y,=?utf-8?q?O=5C=24=0A=09Tm=23G6M?=,g![Q62J{na*S9d;R[^8pc%u\aiLqU@`kJtYl"^6pxdW Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13100382.NypR0o3FYb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508261720.50721.pauldv@gentoo.org> X-Archives-Salt: cf847bca-4cc2-4e44-b7e5-30f0e86de487 X-Archives-Hash: 313a0990889c3264489e94c352f40b36 --nextPart13100382.NypR0o3FYb Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 26 August 2005 17:11, Paul de Vrieze wrote: > On Friday 26 August 2005 16:58, Ciaran McCreesh wrote: > > On Fri, 26 Aug 2005 14:50:52 +0200 Paul de Vrieze > > > > wrote: > > | ps. People please be aware that this is still alpha in the sense of > > | not being complete. For better working it should probably support > > | if statements properly, and at least do variable substitution. It > > | would mean that the parser would have to retain a state etc. > > > > Isn't this pretty much a waste of time if it can't handle all the > > code in versionator? We're trying to move people away from ugly > > unreliable manual substitutions towards readable, maintainable code > > using the eclass... > > With lack of variable substitution support I mean that it just forwards > the variable substitutions to the calling application (output). It > should probably also be made more aware of the variables that are > allways extended like USE and DEPEND. I just checked the versionator eclass though, and indeed it wouldn't=20 support it. Versionator uses functions inside the variables. The parser=20 does not parse functions at all beyond being able to determine their end.=20 Perhaps it would be best to handle versionator specially and internalize=20 the functions. While it is possible to interpret the bash functions this=20 would mean full bash function duplication, make the parser more complex=20 and diminish the speed of the parser. I could even do this function mimicking in such a way that nonsupported=20 functions automatically get signaled as requiring compatibility mode=20 (parser is uncertain about it's results, and the old parser should be=20 used). Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --nextPart13100382.NypR0o3FYb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDDzNSbKx5DBjWFdsRAjQOAJ9li9C/2HD3AFIwcdD78++UuTiCCACcCGkJ cjurjFpWcBKeOXhR2jUCTu4= =XuhO -----END PGP SIGNATURE----- --nextPart13100382.NypR0o3FYb-- -- gentoo-dev@gentoo.org mailing list