Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Active older topics
2 new of 2 - Dec 25 2005
2 new of 2 - Sep 17 2005
4 new of 4 - Aug 10 2005
3 new of 3 - Jul 7 2005
4 new of 4 - Jul 6 2005
5 new of 5 - Jun 27 2005
4 new of 4 - Jun 22 2005
4 new of 4 - Jun 20 2005
7 new of 7 - Jun 20 2005
3 new of 3 - Jun 15 2005
Related Groups
The Python computer language.
High activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 23  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: This mailing list is for discussions related to the PyGgy parser generator for Python.  This list may be used to discuss how to use PyGgy as well as report bugs and discuss implementation issues.

 

issue implementing the following in a .pyl file 
  I'm parsing IIS logs and am having a hell of a time getting a regex that will work for the page portion of the file. given something like : 2007-02-09 23:59:59 GET /ABC.aspx or 2007-02-09 23:59:59 GET /Search/Styles/XYZ.css i need to match on the blah.aspx, blah/blah.css, etc.. portion of the... more »
By SocraticD@gmail.com  - Feb 8 2008 - 1 new of 1 message    

Getting some more info about from ParseError. 
  Hi, I am using Pyggy to parse our simple DSL. Most of the time it is just simple expressions. While the expressions are by the grammar everything works fine. The problem is that when the expression is bad i.e. '(1 + 2' or '1 + / 2' the thrown ParseError exception has very little info about the error except the bad token and its text. It would be very useful if... more »
By Václav Haisman  - Nov 29 2006 - 2 new of 2 messages    

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... more »
By Ned Batchelder  - Nov 28 2006 - 1 new of 1 message    

Contextless between the grammar and the lexer 
  Hi all, I want to use this tool in order to generate from an ABNF grammar a parser for it and i m running to some problems. My election was due that together with DParser are the only GLR parser generators. So far i saw that the rules specified earlier have precedence. My problem is that there is no context with the grammar. To be more... more »
By humbol  - Jul 18 2006 - 5 new of 5 messages    

Yet Another ambiguous grammar 
  I've been attempting to put together a parser to recognize a substantial subset of an SQL dialect (specifically the DB2 dialect), but have run into ambiguity problems fairly early on. Here's a (much) reduced grammar demonstrating the issue (the constant and identifier non-terminals are omitted, but I can provide the... more »
By Dave Hughes  - May 19 2006 - 4 new of 4 messages    

more ambiguous parser help 
  I've got another issue that I can't seem to get pyggy to deal with. I distilled my problem down to this example. Is there anyway to make this unambiguous? Here's my lexer and parser: foo.pyl: INITIAL: ",": return "COMMA" "[[:digit:]]+": return "CONSTANT" "[[:blank:]]": return "\n": return... more »
By idadesub@gmail.com  - Apr 21 2006 - 4 new of 4 messages    

help with an ambiguous grammar 
  Hello again, I'm trying to write a grammar that allows for space separated lists. Here's my grammar: %right NEG; %left MINUS; %nonassoc SHORT; %nonassoc LONG; expression -> %prec(MINUS) expression SUB expression | %prec(NEG) SUB expression | CONSTANT | %prec(LONG) LPAREN expression (expression)* RPAREN... more »
By idadesub@gmail.com  - Apr 17 2006 - 2 new of 2 messages    

pgy_calc.py can't parse "5 - -5" 
  It looks like the unary minus setup for pgy_calc.pyg doesn't work at the moment. However, the one for ply does properly parse "5 - -5". Is there a simple fix for this (since I want to use this kind of grammar in my code)". Thanks, -e
By idadesub@gmail.com  - Apr 14 2006 - 2 new of 2 messages    

Stuck with $EOF$ token 
  Hi, I'm a bit new to parsers and Pyggy, and I have a (very rough, ambiguous and incomplete) grammar that dies at the very end of the parsing with this error: [32] $EOF$ <<EOF>> reduce 7 reduce 2 reduce 3 parse error: "<<EOF>>": line 296: That is, when it reaches the end it's not an accepting parser I guess.... more »
By Mike Hearn  - Mar 8 2006 - 2 new of 2 messages    

Difficulty with if/else precedence 
  I'm parsing a C-style language and I'm facing a dangling-else ambiguity problem: if (rel1) if (rel2) stmt1 else stmt2 My statement nonterminal includes the following productions seemingly relevant here: statement ->assignexpression SEMICOLON | L_BRKT statements? R_BRKT | SEMICOLON | %prec(CLOSEDIF) IF relation statement ELSE statement... more »
By Jonathan Ragan-Kelley  - Jan 19 2006 - 4 new of 4 messages    

1 - 10 of 23   « Newer | Older »

XML       Send email to this group: pyggy@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google