Zachary Ware added the comment:
This patch is *way* out of date, and we're in the midst of removing pgen
(issue35808) anyway, so I'm closing this issue.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
Steve Dower added the comment:
I don't even know what pgen is or why I'd want to build it...
If running it updates a file that would trigger a rebuild, then I'd really like
it to copy what _freeze_importlib currently does as far as writing to a
temporary file and conditionally overwriting the
Zachary Ware added the comment:
I don't even know what pgen is or why I'd want to build it...
pgen is the parser generator, taking Grammar/Grammar as input and generating
Include/graminit.h and Python/graminit.c. Only useful when you're changing
Python's grammar, but without the ability to
Zachary Ware added the comment:
The patch is way out of date, pgen.vcxproj needs to be updated to match the
rest of our projects.
If nobody else takes this over (and it is low priority for a reason!), I'll get
back to it eventually.
--
nosy: +steve.dower
Mark Lawrence added the comment:
Would you guys please review the patch as it's Double Dutch to me.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21107
___
New submission from Zachary Ware:
Here's a patch to allow building (and using) pgen on Windows.
All changes outside of PCbuild are solely to avoid compiler warnings, namely 4
instances of C4005 for PGEN being redefined and 2 instances of C4018, '' :
signed/unsigned mismatch.
pgen.vcxproj is