Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Parsing incpmplete statements?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ned Batchelder  
View profile  
 More options Nov 28 2006, 8:58 pm
From: "Ned Batchelder" <ned...@gmail.com>
Date: Tue, 28 Nov 2006 17:58:18 -0800
Local: Tues, Nov 28 2006 8:58 pm
Subject: Parsing incpmplete statements?
I would like to use PyGgy to parse command-line input, similar to the
way SQL is parsed by a database command-line utility.  When entering a
SQL statement, if no semi-colon is encountered, then the prompt changes
to indicate the statement is incomplete, and more input is collected.

I'm not that familiar with the interfaces between PyGgy and PyLly.  Is
there a way to do what I want?  It seems like I have to feed the first
line to the parser, then determine if the statement is incomplete, and
if so, collect another line of input to continue parsing.  Is PyGgy
structured in such a way that I can do that?

--Ned.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google