Perl Exegesis 5

You can find the Perl Exegesis 5 here:

Anyone else get more and more glad that Ruby exists every time they see a
new Perl Exegesis?

···

Send and receive Hotmail on your mobile device: http://mobile.msn.com

In article F249FbCUalRlUwViKaZ000117d8@hotmail.com,

You can find the Perl Exegesis 5 here:
Exegesis 5

Anyone else get more and more glad that Ruby exists every time they see a
new Perl Exegesis?

:wink:

Actually, there are some pretty cool things in this particular exegesis.
Check it out. I just skimmed it, but it seems like they’re making regex’s
more object oriented for one. Also, they’re adding the ability to define
grammars (looks like a new grammar keyword has been added) with rules and
patterns. This will be a great language for parsing other languages.

I would encourage the Ruby community to take a look at this and see what we
can borrow as there seems to be some good ideas there. They’ve recognized
the limitations of regex’s for parsing certain types of languages. I’m
not sure we need to change our language to incorporate these ideas (as the
Perl folks seem to be doing) perhaps a seperate standard module would do the
job for us.

Phil

···

Mike Wilson wmwilson01@hotmail.com wrote:

You can find the Perl Exegesis 5 here:
Exegesis 5

Anyone else get more and more glad that Ruby exists every time they see a
new Perl Exegesis?

Yeah, on some of the prior occasions. :slight_smile: This one, though - wow!
Pretty impressively comprehensive attempt to take regex’s to The
Next Level…

Stunned, (and drooling)

Bill

(Now, Really looking forward to Perl and Ruby running interoperably
somehow on Parrot… :slight_smile:

···

From: “Mike Wilson” wmwilson01@hotmail.com

The executive summary of A5/E5 is “Perl 5 regexes with yacc and lex rolled in”.

···

At 3:19 AM +0900 8/24/02, Phil Tomson wrote:

In article F249FbCUalRlUwViKaZ000117d8@hotmail.com,
Mike Wilson wmwilson01@hotmail.com wrote:

You can find the Perl Exegesis 5 here:
Exegesis 5

Anyone else get more and more glad that Ruby exists every time they see a
new Perl Exegesis?

:wink:

Actually, there are some pretty cool things in this particular exegesis.
Check it out. I just skimmed it, but it seems like they’re making regex’s
more object oriented for one. Also, they’re adding the ability to define
grammars (looks like a new grammar keyword has been added) with rules and
patterns. This will be a great language for parsing other languages.


Dan

--------------------------------------“it’s like this”-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk

What kind of grammars would it be able to parse? Is it LALR(1) as yacc?

···

On Sat, Aug 24, 2002 at 03:37:04AM +0900, Dan Sugalski wrote:

At 3:19 AM +0900 8/24/02, Phil Tomson wrote:

In article F249FbCUalRlUwViKaZ000117d8@hotmail.com,
Mike Wilson wmwilson01@hotmail.com wrote:

You can find the Perl Exegesis 5 here:
Exegesis 5

Anyone else get more and more glad that Ruby exists every time they see a
new Perl Exegesis?

:wink:

Actually, there are some pretty cool things in this particular exegesis.
Check it out. I just skimmed it, but it seems like they’re making regex’s
more object oriented for one. Also, they’re adding the ability to define
grammars (looks like a new grammar keyword has been added) with rules and
patterns. This will be a great language for parsing other languages.

The executive summary of A5/E5 is “Perl 5 regexes with yacc and lex rolled
in”.


_ _

__ __ | | ___ _ __ ___ __ _ _ __
'_ \ / | __/ __| '_ _ \ / ` | ’ \
) | (| | |
__ \ | | | | | (| | | | |
.__/ _,
|_|/| || ||_,|| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

Never trust an operating system you don’t have sources for. :wink:
– Unknown source

I’ve still not worked out how far you can go with it, but you’ve at
least got the power of a full recursive descent parser. (We’ve a BNF
to recursive descent parser converter in the Parrot kit–at the
moment it targets the Parse::RecDescent module for perl 5, but we’re
going to retarget it to perl 6’s rule system once we’ve got it fully
implemented)

···

At 7:45 AM +0900 8/24/02, Mauricio Fernández wrote:

On Sat, Aug 24, 2002 at 03:37:04AM +0900, Dan Sugalski wrote:

At 3:19 AM +0900 8/24/02, Phil Tomson wrote:

In article F249FbCUalRlUwViKaZ000117d8@hotmail.com,
Mike Wilson wmwilson01@hotmail.com wrote:

You can find the Perl Exegesis 5 here:
Exegesis 5

Anyone else get more and more glad that Ruby exists every time they see a
new Perl Exegesis?

:wink:

Actually, there are some pretty cool things in this particular exegesis.
Check it out. I just skimmed it, but it seems like they’re making regex’s
more object oriented for one. Also, they’re adding the ability to define
grammars (looks like a new grammar keyword has been added) with rules and
patterns. This will be a great language for parsing other languages.

The executive summary of A5/E5 is “Perl 5 regexes with yacc and lex rolled
in”.

What kind of grammars would it be able to parse? Is it LALR(1) as yacc?


Dan

--------------------------------------“it’s like this”-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk

Yes, I’ve seen the languages/ruby bit :slight_smile:

After reading the exegesis, it looks to me like it will be more powerful
than a recursive-descent parser. But won’t it be slower than the
traditional lexer/parser combination? We’d have to use lots of : and
:: things to avoid backtracking, and there are surely other issues as
well…

···

On Sat, Aug 24, 2002 at 08:30:17AM +0900, Dan Sugalski wrote:

What kind of grammars would it be able to parse? Is it LALR(1) as yacc?

I’ve still not worked out how far you can go with it, but you’ve at
least got the power of a full recursive descent parser. (We’ve a BNF
to recursive descent parser converter in the Parrot kit–at the
moment it targets the Parse::RecDescent module for perl 5, but we’re
going to retarget it to perl 6’s rule system once we’ve got it fully
implemented)


_ _

__ __ | | ___ _ __ ___ __ _ _ __
'_ \ / | __/ __| '_ _ \ / ` | ’ \
) | (| | |
__ \ | | | | | (| | | | |
.__/ _,
|_|/| || ||_,|| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

<|ryan|> I don’t use deb
u poor man
netgod: heh
apt-get install task-p0rn