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; thingy blahblah blah/blah /thingy use Perl6; print $thingy.blah; We already have the ability to embed foreign languages (XML,

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; thingy blahblah blah/blah /thingy use Perl6; print $thingy.blah; We already have the ability to embed foreign languages (XML, HTML, whatever)

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; thingy blahblah blah/blah /thingy use Perl6; print $thingy.blah; We already have the ability to embed foreign languages (XML, HTML, whatever)

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)'); thingy blahblah blah/blah /thingy (MARKUP) True, but what kind of magic is hiding inside MyXmlParser? One problem is

Embedded foreign syntax (was Re: P6ML?)

2003-03-26 Thread Miko O'Sullivan
Andy Wardley wrote: For example, it might be possible to do something like this: use Perl6::XML; thingy blahblah blah/blah /thingy use Perl6; print $thingy.blah; We already have the ability to embed foreign languages (XML, HTML, whatever) using here docs: