Re: flex perl mess

2001-11-07 Thread Larry Wall
Sam Vilain writes: : On Wed, 7 Nov 2001 12:26:31 + : Sam Vilain <[EMAIL PROTECTED]> wrote: : : > Why limit Perl to OO and procedural programming at its core? : : I just realised my mistake after looking at the hyperoperator discussion: : Hyperoperators bring functional programming to Perl, w

RE: flex perl mess

2001-11-07 Thread Garrett Goebel
From: Garrett Goebel [mailto:[EMAIL PROTECTED]] > From: Sam Vilain [mailto:[EMAIL PROTECTED]] > > > So if functional programming can be in Perl 6, why not rules based > > programming? > > Is Parse::RecDescent insufficient for your needs? Sorry, that was before my morning pot of espresso. I jus

RE: flex perl mess

2001-11-07 Thread Garrett Goebel
From: Sam Vilain [mailto:[EMAIL PROTECTED]] > So if functional programming can be in Perl 6, why not rules based > programming? Is Parse::RecDescent insufficient for your needs?

Re: flex perl mess

2001-11-07 Thread Sam Vilain
On Wed, 7 Nov 2001 12:26:31 + Sam Vilain <[EMAIL PROTECTED]> wrote: > Why limit Perl to OO and procedural programming at its core? I just realised my mistake after looking at the hyperoperator discussion: Hyperoperators bring functional programming to Perl, with all of the mad but inspired p

Re: flex perl mess

2001-11-07 Thread Sam Vilain
On Wed, 24 Oct 2001 14:20:58 +0100 Graham Barr <[EMAIL PROTECTED]> wrote: > I have always found that the perl output from byacc (with a few tweaks) > generates a sufficient parser. The addition of a switch statement > will hopefully make it more efficient. What you are saying is you are using ya

Re: flex perl mess

2001-10-24 Thread Graham Barr
On Wed, Oct 24, 2001 at 09:06:14AM -0400, Aaron Sherman wrote: > On Tue, Oct 23, 2001 at 02:53:19PM +0200, Nadim Khemir wrote: > > > > Don't we already have that in Perl 5? > > > > > > if ( /\G\s+/gc ) {# whitespaces } > > >elsif ( /\G[*/+-]/gc ) { # operator } > > >elsif (

Re: flex perl mess

2001-10-24 Thread Aaron Sherman
On Tue, Oct 23, 2001 at 02:53:19PM +0200, Nadim Khemir wrote: > > Don't we already have that in Perl 5? > > > > if ( /\G\s+/gc ) {# whitespaces } > >elsif ( /\G[*/+-]/gc ) { # operator } > >elsif ( /\G\d+/gc ) {# term } > >elsif ( /\G.+/gc ) { # unrecognized

flex perl mess

2001-10-24 Thread Nadim Khemir
Hi, I found a thread which started with A proposal for more powerful text processing to be built in to Perl: Flex and Pushdown Expressions. > One of the great strengths of Perl is that, more than any other > language I know, it helps you cross between the "data" space and the > "program" space: