Re: [xml-dev] XML design of ((a and b) or c)
by Tei other posts by this author
Dec 13 2006 11:42AM messages near this date
Re: [xml-dev] XML design of ((a and b) or c)
|
RE: [xml-dev] XML design of ((a and b) or c)
& XSLT On 12/13/06, Richard Salz <rsalz@[...].com> wrote:
> > blame stephen bourne (i think he started this).
> >
> > The famous sh script: programA && programB etc where programB is only
> > run if programA returns true.
>
> Nope, it was a C thing. (The Bourne shell implemented the sort-circuit
> operators, but itself was implemented in Algol-like C;
> http://minnie.tuhs.org/UnixTree/V7/usr/src/cmd/sh/cmd.c.html)
>
> /r$
Sort-circuit is a life saver in a world with the dreaded division by
zero error/exception
Also, prolog has que simbol ! that stop the recursive search. If
prolog is anything like a xml rules engine, having sort circuit rules,
and maybe symbols, made sense.
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@[...].org
subscribe: xml-dev-subscribe@[...].org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Thread:
Michael Kay
Alexander Johannesen
Rick Marshall
Richard Salz
Tei
Leigh Klotz
Michael Kay
Rick Marshall
Robin La Fontaine
|