I've written a rather large application with ply as the parser, and it works pretty well. The problem now is that I now want to redistribute my application, and thus I want to ship precompiled parser tables. Now, I'm currently compiling the optimized-mode lexer and parser tables, and I specify what directory the tables are supposed to be. Now, when I install ply to /usr/local, the program works, but unfortunately recompiles the tables every time. This isn't too great, because this can take a few seconds.
Now, if I make the directory that I've specified as outputdir world- writable (0777), ply will put tables there, but will constantly recompile them. So it can find the files there, but it isn't using them. Do I need to copy over .pyc files over, too? Do I need to pass magic arguments to ply? I'm using ply 3.2. If you want to look at the code, you can find it at: http://github.com/pavpanchekha/oranj/tree/master Thank you in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
