a perl version of flex?

Discussion in 'Perl Misc' started by Sherm Pendley, Apr 21, 2005.

  1. Jay G. Scott wrote:

    > i want a perl lexical analyzer generator that writes perl
    > code to do lexical analysis, akin to what flex does.


    A quick search for "lex" at <http://search.cpan.org> turns up several
    candidates. Have you tried those?

    sherm--

    --
    Cocoa programming in Perl: http://camelbones.sourceforge.net
    Hire me! My resume: http://www.dot-app.org
     
    Sherm Pendley, Apr 21, 2005
    #1
    1. Advertising

  2. Sherm Pendley

    Jay G. Scott Guest

    let me be specific:

    i want a perl lexical analyzer generator that writes perl
    code to do lexical analysis, akin to what flex does.

    i want to write many small lexical analyzers, and i want
    to run them from perl. i am NOT going to analyze perl code.
    i have a bunch of data files, and i want to use a lexical
    analyzer on them.

    there seem to be a lot of lexical analyzers for perl itself,
    which is not what i want. i want a lexical analyzer generator
    written in perl, which writes lexical analyzers in perl for
    whatever silly "language" i dream up. (my silly languages
    will never be as elaborate as the perl language.)

    is there one?

    thanks in advance.

    --
    Jay Scott 512-835-3553
    Head of Sun Support, Sr. Operating Systems Specialist
    Applied Research Labs, Computer Science Div. S224
    University of Texas at Austin
     
    Jay G. Scott, Apr 21, 2005
    #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. MM

    Flex model concept?

    MM, Oct 8, 2003, in forum: VHDL
    Replies:
    4
    Views:
    3,773
  2. V Green
    Replies:
    0
    Views:
    902
    V Green
    Feb 5, 2008
  3. PA Bear [MS MVP]
    Replies:
    0
    Views:
    1,017
    PA Bear [MS MVP]
    Feb 5, 2008
  4. MowGreen [MVP]
    Replies:
    5
    Views:
    2,060
    PA Bear [MS MVP]
    Feb 9, 2008
  5. Francesco Moi
    Replies:
    1
    Views:
    207
    Sisyphus
    Jul 27, 2003
Loading...

Share This Page