W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2005

Re: new drafts published

From: Philip Wadler <wadler@inf.ed.ac.uk>
Date: Mon, 11 Apr 2005 09:24:33 +0100
Message-ID: <425A3441.7050304@inf.ed.ac.uk>
To: Liam Quin <liam@w3.org>
CC: "Tolkin, Steve" <Steve.Tolkin@FMR.COM>, www-ql@w3.org


I agree with Steve.  There are similarities with Perl and there are also 
differences.  Calling the syntax Perl-like may attract some folk, but 
will alienate others.  Since it is not a description that enjoys the 
concensus of the group it is best avoided.

-- P

Liam Quin wrote:
> On Tue, Apr 05, 2005 at 02:29:06PM -0400, Tolkin, Steve wrote:
> Oops, I didn't copy my reply to the list, sorry....
>>I quote from the announcement below:
>>* XQuery 1.0: An XML Query Language:
>>  A non-XML, Perl-like syntax for querying ...
>>"Perl-like syntax"?
> Uses $ signs to signify variables; uses {...} for scope; has
> optional type checking system (although much weaker than XQuery's);
> has lists (sequences) that can contain trees but not sequences;
> there are actually quite a lot of similarities between XQuery and
> Perl at the superficial level, although as a user of both languages
> I know well that there are many differences.
> XQuery's syntax is not a human-readable XML-based one such as that
> of XSLT, though.
> Liam
Received on Monday, 11 April 2005 08:24:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC