Fw: [Yaml-core] Summary of the IRC session

2002-09-06 Thread Brian Ingerson
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]

Re: regex args and interpolation

2002-09-06 Thread Nicholas Clark
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

Re: regex args and interpolation

2002-09-06 Thread Piers Cawley
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)

Re: regex args and interpolation

2002-09-06 Thread Nicholas Clark
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) -

Re: regex args and interpolation

2002-09-06 Thread Piers Cawley
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:

Re: regex args and interpolation

2002-09-06 Thread Mark J. Reed
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) -

Re: Second try: Builtins

2002-09-06 Thread Aaron Sherman
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

Re: regex args and interpolation

2002-09-06 Thread Nicholas Clark
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

Re: Request for default rule modifiers in a grammar

2002-09-06 Thread Damian Conway
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

More A5/E5 questions

2002-09-06 Thread Jonathan Scott Duff
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

Re: More A5/E5 questions

2002-09-06 Thread Luke Palmer
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