This is an interesting tidbit from a longer posting by Oren Ben-Kiki, the
YAML specification author. Thought I'd pass it on.
- Forwarded message from Oren Ben-Kiki [EMAIL PROTECTED] -
From: Oren Ben-Kiki [EMAIL PROTECTED]
Date: Thu, 5 Sep 2002 11:28:12 +0300
To: [EMAIL PROTECTED]
On Wed, Sep 04, 2002 at 10:46:24PM -0400, Ken Fox wrote:
What is really needed is something that converts the date syntax
to normal Perl code:
rule iso_date { (Perl.term) -
(Perl.term) -
(Perl.term)
{ use grammar
Nicholas Clark [EMAIL PROTECTED] writes:
On Wed, Sep 04, 2002 at 10:46:24PM -0400, Ken Fox wrote:
What is really needed is something that converts the date syntax
to normal Perl code:
rule iso_date { (Perl.term) -
(Perl.term) -
(Perl.term)
On Fri, Sep 06, 2002 at 02:20:10PM +0100, Piers Cawley wrote:
Nicholas Clark [EMAIL PROTECTED] writes:
On Wed, Sep 04, 2002 at 10:46:24PM -0400, Ken Fox wrote:
What is really needed is something that converts the date syntax
to normal Perl code:
rule iso_date { (Perl.term) -
Nicholas Clark [EMAIL PROTECTED] writes:
On Fri, Sep 06, 2002 at 02:20:10PM +0100, Piers Cawley wrote:
Nicholas Clark [EMAIL PROTECTED] writes:
On Wed, Sep 04, 2002 at 10:46:24PM -0400, Ken Fox wrote:
What is really needed is something that converts the date syntax
to normal Perl code:
On Fri, Sep 06, 2002 at 02:34:52PM +0100, Nicholas Clark wrote:
On Wed, Sep 04, 2002 at 10:46:24PM -0400, Ken Fox wrote:
What is really needed is something that converts the date syntax
to normal Perl code:
rule iso_date { (Perl.term) -
(Perl.term) -
On Fri, 2002-09-06 at 09:29, Nicholas Clark wrote:
On Fri, Sep 06, 2002 at 01:34:56AM -0400, Aaron Sherman wrote:
# INTERNAL q, qq, qw
# XXX - how do I do quote-like operators? I know I saw someone say...
# Need to do: qr (NEVER(qr)) and qx
presumably the way the perl5 tokeniser does
On Fri, Sep 06, 2002 at 02:49:13PM +0100, Piers Cawley wrote:
Nicholas Clark [EMAIL PROTECTED] writes:
This idea of just switching language syntax in a context-sensitive way is
trying to make my head explode.
But you mean that in a good way right? Anyway, he did introduce the
Yes. Now
Ken Fox wrote:
Excellent. Will there be an abstract syntax for tree
rewriting or is it Perl 6 all the way down?
I'd expect it to be Perl all the way down. Though a
tree rewriting module might make it seem abstract. ;-)
This is really amazing stuff. I was expecting some
support for
Question #1:
If \n matches any one of the platform-specific newline character
sequences, does that mean that if I have a string like this[*]:
foo bar baz\rfoo bar baz\nfoo bar bar\r\n
that \n will match in 3 places? How do you tell perl that you only
want \n to match a specific
Answering to the best of my knowledge.
On Sat, 7 Sep 2002, Jonathan Scott Duff wrote:
Question #2:
Why are we storing the hypothetical's sigil in the match object?
I think it's to differentiate the different namespaces (scalar, array,
hash) within the match object's hash. Personally, I
11 matches
Mail list logo