On Wed, Feb 11, 2004 at 03:47:57PM +0100, Darian Lanx wrote:
> Peter O'Gorman wrote:
> >Daniel Macks wrote:
> >>
> >
> >
> Yes, I vote for a solution in Perl as well, yet I still think that the 
> syntax is simply bad. Bad as in too complicated for the common or novice 
> packager to understand. Maybe we could find a syntax that is based upon 
> a flow thought and not based upon an expression how the underlying 
> parser can best handle it.
> 
> What does the syntax actually which to express?
> 
> Basicaly what Benjamin stated, right ?
> 
> If some condition is met use dependancy foo if not then use dependency blah.
> 
> So why not do this in the abbreviated if syntax we all know from C or 
> perl which can easily be explained.

It we want to go programming-language-style:

  Depends: %type_perl_version == 5.8.1 && thing-pm
  Depends: %type_nox == -nox || x11

It we want to be a bit more linguistic/thought-process oriented:

  Depends: %type_perl_version = 5.8.1 ? thing-pm

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to