471,596 Members | 948 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,596 software developers and data experts.

Boolean parser..

Hi..
I try a boolean parser in python since 1 weak.. But i can't do this
because this is very complicated :(
Do you know any blooean parser script in python or how do i write a
boolean parser ?
example query: ((google or yahoo) or (live msn)) not web
I'm sorry my bad english.
King Regards..

Oct 4 '07 #1
5 2526
On Oct 5, 7:29 am, Abandoned <best...@gmail.comwrote:
Hi..
I try a boolean parser in python since 1 weak.. But i can't do this
because this is very complicated :(
Do you know any blooean parser script in python or how do i write a
boolean parser ?
example query: ((google or yahoo) or (live msn)) not web
I'm sorry my bad english.
King Regards..
Try the pyparsing module (google it)
They have several examples.

Oct 4 '07 #2
On 4 Ekim, 22:29, Abandoned <best...@gmail.comwrote:
Hi..
I try a boolean parser in python since 1 weak.. But i can't do this
because this is very complicated :(
Do you know any blooean parser script in python or how do i write a
boolean parser ?
example query: ((google or yahoo) or (live msn)) not web
I'm sorry my bad english.
King Regards..
This is a example written in perl "
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=350&lngWId=6"
but i don't find any python example

Oct 5 '07 #3
http://pyparsing.wikispaces.com/spac...earchparser.py this
is searchparser but i can't understant to use this.
Can anybody explain this how to use ?

Oct 5 '07 #4
On 10/4/07, Abandoned <be*****@gmail.comwrote:
Hi..
I try a boolean parser in python since 1 weak.. But i can't do this
because this is very complicated :(
Do you know any blooean parser script in python or how do i write a
boolean parser ?
example query: ((google or yahoo) or (live msn)) not web
I'm sorry my bad english.
King Regards..

--
http://mail.python.org/pipermail/pyt...st/399804.html
Oct 5 '07 #5
On Oct 4, 3:00 pm, timar...@gmail.com wrote:
On Oct 5, 7:29 am, Abandoned <best...@gmail.comwrote:
Hi..
I try a boolean parser in python since 1 weak.. But i can't do this
because this is very complicated :(
Do you know any blooean parser script in python or how do i write a
boolean parser ?
example query: ((google or yahoo) or (live msn)) not web
I'm sorry my bad english.
King Regards..

Try the pyparsing module (google it)
They have several examples.
The pyparsing wiki has this online example:
http://pyparsing.wikispaces.com/spac...earchparser.py.

-- Paul

Oct 5 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Himanshu Garg | last post: by
5 posts views Thread by Mad Scientist Jr | last post: by
2 posts views Thread by webposter | last post: by
28 posts views Thread by Marc Gravell | last post: by
4 posts views Thread by =?Utf-8?B?ZGF2ZWJ5dGhlc2Vh?= | last post: by
1 post views Thread by sunil | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.