Newbie queston on Perl and lex.

Discussion in 'Perl Misc' started by somedeveloper@gmail.com, Apr 20, 2007.

  1. Guest

    Hi,

    1. If my needs are only lexical scanning (and not compiler- and
    interpretor-writing), and
    2. If I'm proficient in Perl and Perl regular expressions,

    would I ever need to learn a tool such as f/lex? Is there anything
    that Perl REs cannot do easily/elegantly which f/lex can, for example?

    Many thanks,
    Some Developer.
    , Apr 20, 2007
    #1
    1. Advertising

  2. Guest

    On Apr 20, 3:35 pm, Michele Dondi <> wrote:
    > On 19 Apr 2007 23:01:54 -0700, wrote:
    >
    > >1. If my needs are only lexical scanning (and not compiler- and
    > >interpretor-writing), and
    > >2. If I'm proficient in Perl and Perl regular expressions,

    >
    > >would I ever need to learn a tool such as f/lex? Is there anything
    > >that Perl REs cannot do easily/elegantly which f/lex can, for example?

    >
    > I don't have the slightest idea. But I know an article that you may be
    > interested in:
    >
    > http://www.perl.com/pub/a/2006/01/05/parsing.html
    >
    > Michele
    > --
    > {$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
    > (($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
    > .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
    > 256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


    Michele, thanks! The article did give me an idea of what I guess I was
    trying to know.

    PS: Ran your signature program... it's cool! Hopefully, I'll be able
    to decode it in near future... when I'm more comfortable with the
    language.
    , Apr 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lezah
    Replies:
    7
    Views:
    749
    Mike Treseler
    Mar 2, 2004
  2. =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?=

    ObjectDataSource queston (posted else where Sorry it was a mistake

    =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?=, Jul 18, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    389
    =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?=
    Jul 18, 2007
  3. Torben Keil

    Queston on script tag

    Torben Keil, Feb 8, 2008, in forum: HTML
    Replies:
    17
    Views:
    822
    dorayme
    Feb 12, 2008
  4. Andy B.

    MVC2 form validation queston

    Andy B., Mar 7, 2010, in forum: ASP .Net
    Replies:
    0
    Views:
    688
    Andy B.
    Mar 7, 2010
  5. E.T. Grey

    newbie queston (Javascript or Java applet)

    E.T. Grey, Feb 17, 2006, in forum: Javascript
    Replies:
    1
    Views:
    77
    UnaCoder
    Feb 17, 2006
Loading...

Share This Page