Re: Grammar parsing

2006-08-03 Thread Paolo Pantaleo
2006/8/3, Ben Finney <[EMAIL PROTECTED]>:
> "Paolo Pantaleo" <[EMAIL PROTECTED]> 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':
>
> http://docs.python.org/lib/module-shlex.html>
>
> The cheeseshop knows of 'pyparsing':
>
> http://cheeseshop.python.org/pypi/pyparsing/>
>


Thnx everybody for the help,

I finished using pyparsing actually, that is very handy and nice to use.

PAolo


-- 
if you have a minute to spend please visit my photogrphy site:
http://mypic.co.nr
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Grammar parsing

2006-08-03 Thread Nicola Musatti

Paolo Pantaleo wrote:
> Hi,
>
> 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?

Check out Dave Beazley's Ply: http://www.dabeaz.com/ply/ .

Cheers,
Nicola Musatti

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Grammar parsing

2006-08-03 Thread Ben Finney
"Paolo Pantaleo" <[EMAIL PROTECTED]> 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':

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

The cheeseshop knows of 'pyparsing':

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

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Grammar parsing

2006-08-03 Thread Gregor Horvath
Paolo Pantaleo schrieb:

> 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
-- 
http://mail.python.org/mailman/listinfo/python-list


Grammar parsing

2006-08-03 Thread Paolo Pantaleo
Hi,

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
-- 
http://mail.python.org/mailman/listinfo/python-list