Windows - rebuilding grammar files
Greetings list, On windows i want to play with the grammar file, but according to this article <https://realpython.com/cpython-source-code-guide/>:
For Windows, there is no officially supported way of running pgen. However, you can clone my fork <https://github.com/tonybaloney/cpython/tree/pcbuildregen> and run build.bat --regen from within the PCBuild directory.
But i don't want to work from his fork. Is there an official way of regenerating the files? I just want to have my own keywords. As far as i've understood, rebuilding won't do it. Yours, Abdur-Rahmaan Janhangeer Mauritius
His patch is merged already. See https://github.com/python/cpython/pull/12654 On Tue, Jan 14, 2020 at 6:20 PM Abdur-Rahmaan Janhangeer <arj.python@gmail.com> wrote:
Greetings list,
On windows i want to play with the grammar file, but according to this article:
For Windows, there is no officially supported way of running pgen. However, you can clone my fork and run build.bat --regen from within the PCBuild directory.
But i don't want to work from his fork. Is there an official way of regenerating the files? I just want to have my own keywords. As far as i've understood, rebuilding won't do it.
Yours,
Abdur-Rahmaan Janhangeer Mauritius _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IBK2T4YR... Code of Conduct: http://python.org/psf/codeofconduct/
-- Inada Naoki <songofacandy@gmail.com>
On Tue, Jan 14, 2020 at 1:26 PM Inada Naoki <songofacandy@gmail.com> wrote:
His patch is merged already. See https://github.com/python/cpython/pull/12654
Thanks, did not know!
participants (2)
-
Abdur-Rahmaan Janhangeer -
Inada Naoki