Hello,

> I would appreciate feedback from current PLY users

I can get it to work. However, I do have a few issues:

- I use Python 2.3.4 and get the following during installation:

        byte-compiling XXX/.local/lib/python2.3/site-packages/ply/cpp.py to 
cpp.pyc
        File "XXX/.local/lib/python2.3/site-packages/ply/cpp.py", line 742
            filename = "".join(x.value for x in tokens[1:i])
                                        ^
        SyntaxError: invalid syntax

  and:

        byte-compiling XXX/.local/lib/python2.3/site-packages/ply/yacc.py to 
yacc.pyc
        XXX/.local/lib/python2.3/site-packages/ply/yacc.py:2720: FutureWarning: 
hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
        return sig & 0xffffffff

- I use the 'nowarn' parameter for lex.lex(...) and now I get:

        TypeError: lex() got an unexpected keyword argument 'nowarn'

  since that argument was removed. I tried to supply errorlog=lex.NullLogger()
  instead, which seems to work.
  
- I had to supply errorlog=yacc.NullLogger() to yacc.yacc(...) to make
  sure "Generating LALR tables" was not printed. It did not get printed
  in Ply 2.5 (for debug=0). I think this is what Andrew (apwaters) already
  replied. I don't think the message indicates an error, so I don't think
  it should be printed if debug=0.

Dennis


David Beazley wrote:

>I've put up a first release candidate of PLY-3.0 at:
> 
>      http://www.dabeaz.com/ply/ply-3.0rc1.tar.gz
>
>This version of PLY provides compatibility with Python 2.2-3.0. 
>Except for the removal of a few undocumented features, it
>should be backwards compatible with prior versions of PLY.
>
>Why a new version number?    A huge part of the internal
>implementation has been reorganized to simplify 
>further maintenance, testing, and debugging.    These changes
>were so significant a new version number seemed in order.
>
>I would appreciate feedback from current PLY users. Please
>check it out and let me know if it works with your existing code 
>(or not).
>
>Cheers,
>Dave
>
>
>
>
>>
>  
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to