Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PyParsing contextual suggestions?

Thread Tools

PyParsing contextual suggestions?

Tim Chase
Posts: n/a
I've just started tinkering around with PyParsing and have unable to
come up with an answer to the following without deep diving into the
code. Is there a way to do a partial parsing and then get the list
of possible things that could appear at the terminus of the parsing?
My hope is to implement context-aware suggestions in a application. So I might have a grammar that
knows about filenames, and could then appropriately suggest
file-names at the given point in a parsing of the command.

Any hints on where I should read up?



Reply With Quote

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Design choices and patterns for passing contextual runtime information. Daniel Pitts Java 4 10-13-2007 10:52 PM
Inserting a contextual JS function in a DataGrid LinkButton =?Utf-8?B?QWxleCBNYWdoZW4=?= ASP .Net 2 06-19-2006 01:25 AM
error: insufficient contextual information to determine type Squid Seven C++ 2 04-06-2005 04:53 AM
Contextual Menu in an Applet Gerry Java 2 02-25-2005 02:50 AM
Blog Musing: "contextual usage patterns" Developer Relations Java 1 01-07-2004 12:11 AM