Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 12th, 2006, 10:00 AM   #1
Silicon_Pudding
Newbie
 
Silicon_Pudding's Avatar
 
Join Date: Jun 2006
Location: In a box
Posts: 27
Rep Power: 0 Silicon_Pudding is on a distinguished road
Python Parsers

What Python parser would you guys recommend?

Thanks.
Silicon_Pudding is offline   Reply With Quote
Old Jun 12th, 2006, 10:10 AM   #2
somehollis
Programmer
 
somehollis's Avatar
 
Join Date: May 2006
Location: Memphis, TN
Posts: 31
Rep Power: 0 somehollis is on a distinguished road
Send a message via AIM to somehollis
Well, IDLE (that comes with the windows install of python) is not a bad one. You could also use a more traditional text editor like vi or emacs.
somehollis is offline   Reply With Quote
Old Jun 12th, 2006, 10:18 AM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
What does parser mean or imply these days?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 12th, 2006, 10:41 AM   #4
Silicon_Pudding
Newbie
 
Silicon_Pudding's Avatar
 
Join Date: Jun 2006
Location: In a box
Posts: 27
Rep Power: 0 Silicon_Pudding is on a distinguished road
Quote:
Originally Posted by somehollis
Well, IDLE (that comes with the windows install of python) is not a bad one. You could also use a more traditional text editor like vi or emacs.
Those are text editors.

Parser generators identify the grammar structure. These are parsers: http://wiki.python.org/moin/LanguageParsing

I don't really know much about them. That's why I'm looking into it :banana:
__________________
~ Silicon Enhanced Pudding
"It's magically delicious"
Silicon_Pudding is offline   Reply With Quote
Old Jun 12th, 2006, 10:47 AM   #5
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Smile

I think our friend is talking about a language parser written in Python.
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old Jun 12th, 2006, 10:59 AM   #6
somehollis
Programmer
 
somehollis's Avatar
 
Join Date: May 2006
Location: Memphis, TN
Posts: 31
Rep Power: 0 somehollis is on a distinguished road
Send a message via AIM to somehollis
Quote:
Originally Posted by Silicon_Pudding
Those are text editors.

Parser generators identify the grammar structure. These are parsers: http://wiki.python.org/moin/LanguageParsing

I don't really know much about them. That's why I'm looking into it :banana:
Whoops... I think my reading comprehension skills are still in an early-morning stupor... :o
somehollis is offline   Reply With Quote
Old Jun 12th, 2006, 11:03 AM   #7
Silicon_Pudding
Newbie
 
Silicon_Pudding's Avatar
 
Join Date: Jun 2006
Location: In a box
Posts: 27
Rep Power: 0 Silicon_Pudding is on a distinguished road
So... Any recommendations? That list probably has the most recent ones.
__________________
~ Silicon Enhanced Pudding
"It's magically delicious"
Silicon_Pudding is offline   Reply With Quote
Old Jun 12th, 2006, 11:06 AM   #8
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Silicon_Pudding
What Python parser would you guys recommend?
I'd recommend PyParsing. Search the forums for it, and you'll find a few of my posts on it. Nothing too detailed though, so you may be better off Googling the website.

The reason I like PyParsing is that it's simple, and relatively powerful. After messing around with JavaCC, Bison and Flex at Uni, PyParsing was a very welcome change.
Arevos is offline   Reply With Quote
Old Jun 12th, 2006, 11:13 AM   #9
Silicon_Pudding
Newbie
 
Silicon_Pudding's Avatar
 
Join Date: Jun 2006
Location: In a box
Posts: 27
Rep Power: 0 Silicon_Pudding is on a distinguished road
Quote:
Originally Posted by Arevos
I'd recommend PyParsing. Search the forums for it, and you'll find a few of my posts on it. Nothing too detailed though, so you may be better off Googling the website.

The reason I like PyParsing is that it's simple, and relatively powerful. After messing around with JavaCC, Bison and Flex at Uni, PyParsing was a very welcome change.
Thanks. I was planning on looking into that or PyGgy (awesome name).
__________________
~ Silicon Enhanced Pudding
"It's magically delicious"
Silicon_Pudding is offline   Reply With Quote
Old Jun 12th, 2006, 1:03 PM   #10
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Documentation for pyparsing is sparse at best. It's good once you fiddle with it, but I thought it was the only major one available. That list shows otherwise. Will have a look too.
Cerulean is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:03 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC