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. Advertisements

  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. Advertisements

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,929
  2. Uwe Ziegenhagen
    Replies:
    5
    Views:
    8,150
    oceamus
    Jan 27, 2010
  3. Tom Heathcote

    Problem with flex++/bison++

    Tom Heathcote, Nov 26, 2003, in forum: C++
    Replies:
    0
    Views:
    1,089
    Tom Heathcote
    Nov 26, 2003
  4. Chris Cranford

    Bison/Flex To ByteCode

    Chris Cranford, Apr 15, 2004, in forum: C++
    Replies:
    2
    Views:
    698
    Karl Heinz Buchegger
    Apr 15, 2004
  5. Chris Cranford

    Re: Bison/Flex To ByteCode

    Chris Cranford, Apr 15, 2004, in forum: C++
    Replies:
    1
    Views:
    862
    Karl Heinz Buchegger
    Apr 15, 2004
  6. Peter Kleiweg

    flex: plex?

    Peter Kleiweg, Aug 17, 2004, in forum: Python
    Replies:
    4
    Views:
    829
    Peter Kleiweg
    Aug 18, 2004
  7. MowGreen [MVP]
    Replies:
    5
    Views:
    2,328
    PA Bear [MS MVP]
    Feb 9, 2008
  8. Francesco Moi
    Replies:
    1
    Views:
    289
    Sisyphus
    Jul 27, 2003
Loading...