ANN: PyBison - high-performance Python Parser

Discussion in 'Python' started by David McNab, Apr 23, 2004.

  1. David McNab

    David McNab Guest

    Hi,

    Announcing PyBison, a framework for writing high-performance, full
    LALR(1) parsers in Python, which automatically create and hook in to
    Bison/Yacc-generated C parser code.

    http://www.freenet.org.nz/python/pybison

    Same genre as packages like PLY, YAPPS etc.

    Users write a Parser class in Python. Upon instantiation of that class,
    the parent class loads (or generates) a shared library file containing
    the parser-specific C yyparse() code for the parser. The generation
    process automatically introspects the user's class, extracting
    grammar/lexer definitions from docstrings and attributes, creating .y
    and .l files, compiling these and linking these to the shared lib. All
    done automagically in the background.

    At the price of depending on the presence of a C compiler/linker, Python
    development libs/headers, Pyrex, plus bison and flex, PyBison delivers a
    parser framework offering the ease and comfort of Python, with the raw
    power and (most of) the speed of the raw C parser tools.

    Release status: Alpha, version 0.1.1

    Distribution includes examples, walkthrough document and API reference.

    Bug reports, requests, patches etc, please send to me.

    Enjoy

    Cheers
    David
    David McNab, Apr 23, 2004
    #1
    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. Maarten Sneep

    distutils, PyBison and Mac OS X

    Maarten Sneep, Apr 18, 2005, in forum: Python
    Replies:
    0
    Views:
    471
    Maarten Sneep
    Apr 18, 2005
  2. Jack
    Replies:
    6
    Views:
    376
  3. Jean-Paul Calderone
    Replies:
    9
    Views:
    1,104
  4. rony_16

    High Performance Xml parser

    rony_16, Nov 27, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    911
    bruce barker \(sqlwork.com\)
    Nov 27, 2006
  5. rony
    Replies:
    3
    Views:
    661
Loading...

Share This Page