<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>pyggy Google Group</title>
  <link>http://groups.google.com/group/pyggy</link>
  <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.</description>
  <language>en</language>
  <item>
  <title>issue implementing the following in a .pyl file</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/0b959bb46846e83d/6d21679c9bea42ee?show_docid=6d21679c9bea42ee</link>
  <description>
  I&#39;m parsing IIS logs and am having a hell of a time getting a regex &lt;br&gt; that will work for the page portion of the file. &lt;br&gt; &lt;p&gt;given something like : 2007-02-09 23:59:59 GET /ABC.aspx or &lt;br&gt; 2007-02-09 23:59:59 GET /Search/Styles/XYZ.css &lt;br&gt; &lt;p&gt;i need to match on the blah.aspx, blah/blah.css, etc.. portion of the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/0b959bb46846e83d/6d21679c9bea42ee?show_docid=6d21679c9bea42ee</guid>
  <author>
  socrat...@gmail.com
  (SocraticD@gmail.com)
  </author>
  <pubDate>Fri, 08 Feb 2008 19:46:40 UT
</pubDate>
  </item>
  <item>
  <title>Re: Getting some more info about from ParseError.</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7441564c851832a8/830428b012d4bb21?show_docid=830428b012d4bb21</link>
  <description>
  No activity at all :( &lt;br&gt; C&#39;mon, somebody say something...
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7441564c851832a8/830428b012d4bb21?show_docid=830428b012d4bb21</guid>
  <author>
  v.hais...@sh.cvut.cz
  (Václav Haisman)
  </author>
  <pubDate>Fri, 26 Jan 2007 08:22:12 UT
</pubDate>
  </item>
  <item>
  <title>Getting some more info about from ParseError.</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7441564c851832a8/64c58867790aac3e?show_docid=64c58867790aac3e</link>
  <description>
  Hi, &lt;br&gt; I am using Pyggy to parse our simple DSL. Most of the time it is just &lt;br&gt; simple expressions. While the expressions are by the grammar everything &lt;br&gt; works fine. The problem is that when the expression is bad i.e. &#39;(1 + 2&#39; &lt;br&gt; or &#39;1 + / 2&#39; the thrown ParseError exception has very little info about &lt;br&gt; the error except the bad token and its text. It would be very useful if
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7441564c851832a8/64c58867790aac3e?show_docid=64c58867790aac3e</guid>
  <author>
  v.hais...@sh.cvut.cz
  (Václav Haisman)
  </author>
  <pubDate>Wed, 29 Nov 2006 08:42:33 UT
</pubDate>
  </item>
  <item>
  <title>Parsing incpmplete statements?</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/39ac1346d0bdfa0f/2c9e94a8ac2959b1?show_docid=2c9e94a8ac2959b1</link>
  <description>
  I would like to use PyGgy to parse command-line input, similar to the &lt;br&gt; way SQL is parsed by a database command-line utility. When entering a &lt;br&gt; SQL statement, if no semi-colon is encountered, then the prompt changes &lt;br&gt; to indicate the statement is incomplete, and more input is collected. &lt;br&gt; I&#39;m not that familiar with the interfaces between PyGgy and PyLly. Is
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/39ac1346d0bdfa0f/2c9e94a8ac2959b1?show_docid=2c9e94a8ac2959b1</guid>
  <author>
  ned...@gmail.com
  (Ned Batchelder)
  </author>
  <pubDate>Wed, 29 Nov 2006 01:58:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: Contextless between the grammar and the lexer</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/c96b1cbc23f18440?show_docid=c96b1cbc23f18440</link>
  <description>
  I don&#39;t have time for a full reply right now, I&#39;ll try to give &lt;br&gt; a more complete reply in about a week, but I wanted to mention &lt;br&gt; a few points... &lt;br&gt; This is the intended behavior. If the parse can be ambiguous the &lt;br&gt; grammar rules will have to be written differently. The number of &lt;br&gt; possible trees can grow quite large and I didn&#39;t want to separate
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/c96b1cbc23f18440?show_docid=c96b1cbc23f18440</guid>
  <author>
  news...@lava.net
  (Tim Newsham)
  </author>
  <pubDate>Tue, 01 Aug 2006 17:37:51 UT
</pubDate>
  </item>
  <item>
  <title>Re: Contextless between the grammar and the lexer</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/cfad30e15364e40b?show_docid=cfad30e15364e40b</link>
  <description>
  Hi back, &lt;br&gt; As i told you early i was planning to modify the code in order to solve the &lt;br&gt; problems that i had. &lt;br&gt; During that i found and fix what i think was a bug. &lt;br&gt; It is when we have an ambiguous grammar and it is asked to process the tree &lt;br&gt; with the ambiguous flag. The problem is that it call the grammar function
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/cfad30e15364e40b?show_docid=cfad30e15364e40b</guid>
  <author>
  hum...@gmail.com
  (Humberto Abdelnur)
  </author>
  <pubDate>Tue, 01 Aug 2006 08:18:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: Contextless between the grammar and the lexer</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/ccb3c5710416039c?show_docid=ccb3c5710416039c</link>
  <description>
  thanks for the quick reply. &lt;br&gt; What you say is right but I guess it does not apply to the use i want to &lt;br&gt; give to my tool. To let you understand my problem, what i want to do is to &lt;br&gt; take the ABNF of a RFC and automatically generate the parser (among with &lt;br&gt; other stuff) for the protocol in question. In such case i imagine that it
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/ccb3c5710416039c?show_docid=ccb3c5710416039c</guid>
  <author>
  hum...@gmail.com
  (Humberto Abdelnur)
  </author>
  <pubDate>Tue, 18 Jul 2006 19:09:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: Contextless between the grammar and the lexer</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/c4273bea3b7e8c40?show_docid=c4273bea3b7e8c40</link>
  <description>
  Yes. The parser will handle ambiguous grammars, but the lexer &lt;br&gt; does not handle ambiguous lexing rules. However, in your case &lt;br&gt; you can disambiguate entirely in the lexer: &lt;br&gt; Alternately you could separate the tokens into non-overlapping &lt;br&gt; tokens and then use those in your grammar. For this problem its &lt;br&gt; not very ideal, but it may be useful in other situations.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/c4273bea3b7e8c40?show_docid=c4273bea3b7e8c40</guid>
  <author>
  news...@lava.net
  (Tim Newsham)
  </author>
  <pubDate>Tue, 18 Jul 2006 18:00:47 UT
</pubDate>
  </item>
  <item>
  <title>Contextless between the grammar and the lexer</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/d72dbe0f3b05f0b9?show_docid=d72dbe0f3b05f0b9</link>
  <description>
  Hi all, &lt;br&gt; I want to use this tool in order to generate from an ABNF grammar a &lt;br&gt; parser for it and i m running to some problems. My election was due &lt;br&gt; that together with DParser are the only GLR parser generators. &lt;br&gt; So far i saw that the rules specified earlier have precedence. My &lt;br&gt; problem is that there is no context with the grammar. To be more
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/7c47bec90e50ce0e/d72dbe0f3b05f0b9?show_docid=d72dbe0f3b05f0b9</guid>
  <author>
  hum...@gmail.com
  (humbol)
  </author>
  <pubDate>Tue, 18 Jul 2006 13:58:09 UT
</pubDate>
  </item>
  <item>
  <title>Re: Yet Another ambiguous grammar</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/95f146bffaf4ac7a?show_docid=95f146bffaf4ac7a</link>
  <description>
  Sorry for the delay in replying. Rewriting your grammar in this &lt;br&gt; way should remove the ambiguity from your grammar. Its only the &lt;br&gt; case where something could be either a tuple (starting with &lt;br&gt; a parenthesis) or an expression (potentially starting with &lt;br&gt; a parenthesis) that should give rise to ambiguity. &lt;br&gt; Here the parser cannot disambiguate look at the lookahead
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/95f146bffaf4ac7a?show_docid=95f146bffaf4ac7a</guid>
  <author>
  news...@lava.net
  (Tim Newsham)
  </author>
  <pubDate>Fri, 26 May 2006 15:56:09 UT
</pubDate>
  </item>
  <item>
  <title>Re: Yet Another ambiguous grammar</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/8edce0d0934a7693?show_docid=8edce0d0934a7693</link>
  <description>
  Hi Tim, &lt;br&gt; Thanks for the quick response. I think it is possible to tell the &lt;br&gt; difference between a singleton tuple and a parenthesized expression, &lt;br&gt; but only within the context of some other operation. I&#39;ll try and &lt;br&gt; expand on my prior example to demonstrate: &lt;br&gt; The VALUES statement in DB2 allows one to generate a temporary table on
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/8edce0d0934a7693?show_docid=8edce0d0934a7693</guid>
  <author>
  d...@waveform.plus.com
  (Dave Hughes)
  </author>
  <pubDate>Sun, 21 May 2006 07:04:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: Yet Another ambiguous grammar</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/12a6e175bf1dba4e?show_docid=12a6e175bf1dba4e</link>
  <description>
  As you describe it, the grammar is ambiguous. How do you tell the &lt;br&gt; difference between a singleton tuple and a parenthesized expression? As a &lt;br&gt; human, I cant tell the difference, so I can&#39;t really tell you how to make &lt;br&gt; a machine tell the difference. Can you provide an example of a case where &lt;br&gt; it is clearly a tuple and another case where it is clearly a parenthesized
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/12a6e175bf1dba4e?show_docid=12a6e175bf1dba4e</guid>
  <author>
  news...@lava.net
  (Tim Newsham)
  </author>
  <pubDate>Sat, 20 May 2006 08:53:17 UT
</pubDate>
  </item>
  <item>
  <title>Yet Another ambiguous grammar</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/1cbc84970cbc6d6f?show_docid=1cbc84970cbc6d6f</link>
  <description>
  I&#39;ve been attempting to put together a parser to recognize a &lt;br&gt; substantial subset of an SQL dialect (specifically the DB2 dialect), &lt;br&gt; but have run into ambiguity problems fairly early on. &lt;br&gt; Here&#39;s a (much) reduced grammar demonstrating the issue (the constant &lt;br&gt; and identifier non-terminals are omitted, but I can provide the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/aed442d33eeee0ef/1cbc84970cbc6d6f?show_docid=1cbc84970cbc6d6f</guid>
  <author>
  d...@waveform.plus.com
  (Dave Hughes)
  </author>
  <pubDate>Fri, 19 May 2006 20:09:00 UT
</pubDate>
  </item>
  <item>
  <title>Re: more ambiguous parser help</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/166aa8ca5e6b2ce2/e60aee201cfa4495?show_docid=e60aee201cfa4495</link>
  <description>
  No. This is an entirely different grammar which does not have &lt;br&gt; any ambiguities. &lt;br&gt; Tim Newsham &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.lava.net/~newsham/&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/166aa8ca5e6b2ce2/e60aee201cfa4495?show_docid=e60aee201cfa4495</guid>
  <author>
  news...@lava.net
  (Tim Newsham)
  </author>
  <pubDate>Sun, 23 Apr 2006 18:14:12 UT
</pubDate>
  </item>
  <item>
  <title>Re: more ambiguous parser help</title>
  <link>http://groups.google.com/group/pyggy/browse_thread/thread/166aa8ca5e6b2ce2/7e0284cab86e2532?show_docid=7e0284cab86e2532</link>
  <description>
  So I found that if I move the commas down into the list branch, pyggy &lt;br&gt; no longer considers the grammar to be ambigous: &lt;br&gt; expression -&amp;gt; list; &lt;br&gt; list -&amp;gt; &lt;br&gt; COMMA CONSTANT COMMA &lt;br&gt; | COMMA CONSTANT COMMA CONSTANT COMMA &lt;br&gt; ; &lt;br&gt; So does pyggy only consider the multiple branches under the same &lt;br&gt; grammar branch?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/pyggy/browse_thread/thread/166aa8ca5e6b2ce2/7e0284cab86e2532?show_docid=7e0284cab86e2532</guid>
  <author>
  idade...@gmail.com
  (idadesub@gmail.com)
  </author>
  <pubDate>Sat, 22 Apr 2006 18:29:34 UT
</pubDate>
  </item>
  </channel>
</rss>
