Re: A6: argument initializations via //=, ||=, ::=

2003-03-27 Thread Michael Lazzaro
On Tuesday, March 25, 2003, at 12:59 PM, Smylers wrote: Michael Lazzaro writes: Larry Wall wrote: We don't have a word for "START" right now. It's somewhat equivalent to state $foo //= 0 unless $foo gets undefined, I suppose. Assuming we have a static-like scope called C, one can definitely s

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Joseph F. Ryan
Joseph F. Ryan wrote: >Miko O'Sullivan wrote: > >>Andy Wardley wrote: >> >>>For example, it might be possible to do something like this: >>> >>> use Perl6::XML; >>> >>> >>> blah blah >>> >>> >>> use Perl6; >>> >>> print $thingy.blah; >> >> >> >>We already have the ability to embed fo

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Andy Wardley
Miko O'Sullivan wrote: > We already have the ability to embed foreign languages (XML, HTML, > whatever) using here docs: > > $myml = MyXmlParser->new(<< '(MARKUP)'); > > blah blah > > (MARKUP) True, but what kind of magic is hiding inside MyXmlParser? One problem is that writing My

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Joseph F. Ryan
Miko O'Sullivan wrote: >Andy Wardley wrote: > >>For example, it might be possible to do something like this: >> >> use Perl6::XML; >> >> >>blah blah >> >> >> use Perl6; >> >>print $thingy.blah; > > > >We already have the ability to embed foreign languages (XML, HTML, >whateve

Re: Embedded foreign syntax (was Re: P6ML?)

2003-03-27 Thread Joseph F. Ryan
Miko O'Sullivan wrote: >Andy Wardley wrote: > >>For example, it might be possible to do something like this: >> >> use Perl6::XML; >> >> >>blah blah >> >> >> use Perl6; >> >>print $thingy.blah; > > > >We already have the ability to embed foreign languages (XML, HTML, >whateve