Grammar parsing

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Aug 3 06:29:44 EDT 2006


"Paolo Pantaleo" <paolopantaleo at gmail.com> writes:

> How can I write a pareser for a certain gramamr? I found PyPy that
> does it, is thare any other tool? Maybe something built-in the
> python interpreter?

The standard library gets you partway there, with 'shlex':

    <URL:http://docs.python.org/lib/module-shlex.html>

The cheeseshop knows of 'pyparsing':

    <URL:http://cheeseshop.python.org/pypi/pyparsing/>

-- 
 \       "It may be that our role on this planet is not to worship God |
  `\                       -- but to create him."  -- Arthur C. Clarke |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list