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?
Thnx
PAolo
--
if you have a minute to spend please visit my photogrphy site:
http://mypic.co.nr
> 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?
>
http://pyparsing.wikispaces.com/
--
Servus, Gregor
http://www.gregor-horvath.com
> 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
Check out Dave Beazley's Ply: http://www.dabeaz.com/ply/ .
Cheers,
Nicola Musatti
Thnx everybody for the help,
I finished using pyparsing actually, that is very handy and nice to use.