develooper Front page | perl.perl6.language | Postings from July 2005

Re: Raw bytes in perl6

Thread Previous | Thread Next
From:
Sam Vilain
Date:
July 12, 2005 18:22
Subject:
Re: Raw bytes in perl6
Message ID:
42D46CD2.7020900@vilain.net
Yuval Kogman wrote:
> By the way, a nice use case for using the rules engine could be
> "parsing" a stream of SAX events into a structure... XML::Simple in
> perl6 could be really as simple as it sounds =)
> Can anyone see this being retrofitted on top of current rules
> semantics? How does PGE relate to this?

Yes, in fact SGML DTDs, once reduced to compact forms such as in;

http://search.cpan.org/src/SAMV/Perldoc-0.13/t/09-scottish.t

End up looking surprisingly similar to rules.

Sam.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About