]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)
authorPablo Galindo <Pablogsal@gmail.com>
Wed, 22 Apr 2020 22:29:27 +0000 (23:29 +0100)
committerGitHub <noreply@github.com>
Wed, 22 Apr 2020 22:29:27 +0000 (23:29 +0100)
commitc5fc15685202cda73f7c3f5c6f299b0945f58508
tree7624ae45b95f2812e801c5879bdbdcb796f570a6
parenta81849b0315277bb3937271174aaaa5059c0b445
bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)

Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
91 files changed:
.github/workflows/build.yml
.travis.yml
Doc/using/cmdline.rst
Grammar/python.gram [new file with mode: 0644]
Include/compile.h
Include/cpython/initconfig.h
Include/pegen_interface.h [new file with mode: 0644]
Lib/test/test_cmd_line_script.py
Lib/test/test_codeop.py
Lib/test/test_compile.py
Lib/test/test_embed.py
Lib/test/test_eof.py
Lib/test/test_exceptions.py
Lib/test/test_flufl.py
Lib/test/test_fstring.py
Lib/test/test_generators.py
Lib/test/test_parser.py
Lib/test/test_peg_generator/__init__.py [new file with mode: 0644]
Lib/test/test_peg_generator/__main__.py [new file with mode: 0644]
Lib/test/test_peg_generator/ast_dump.py [new file with mode: 0644]
Lib/test/test_peg_generator/test_c_parser.py [new file with mode: 0644]
Lib/test/test_peg_generator/test_first_sets.py [new file with mode: 0644]
Lib/test/test_peg_generator/test_pegen.py [new file with mode: 0644]
Lib/test/test_peg_parser.py [new file with mode: 0644]
Lib/test/test_positional_only_arg.py
Lib/test/test_string_literals.py
Lib/test/test_syntax.py
Lib/test/test_sys.py
Lib/test/test_traceback.py
Lib/test/test_type_comments.py
Lib/test/test_unpack_ex.py
Lib/test/test_unparse.py
Makefile.pre.in
Misc/NEWS.d/next/Core and Builtins/2020-04-20-14-06-19.bpo-40334.CTLGEp.rst [new file with mode: 0644]
Modules/Setup
Modules/_peg_parser.c [new file with mode: 0644]
PC/config.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
PCbuild/regen.vcxproj
Parser/pegen/parse.c [new file with mode: 0644]
Parser/pegen/parse_string.c [new file with mode: 0644]
Parser/pegen/parse_string.h [new file with mode: 0644]
Parser/pegen/peg_api.c [new file with mode: 0644]
Parser/pegen/pegen.c [new file with mode: 0644]
Parser/pegen/pegen.h [new file with mode: 0644]
Programs/_testembed.c
Python/ast_opt.c
Python/bltinmodule.c
Python/compile.c
Python/importlib.h
Python/importlib_external.h
Python/initconfig.c
Python/pythonrun.c
Python/sysmodule.c
Tools/README
Tools/peg_generator/.clang-format [new file with mode: 0644]
Tools/peg_generator/.gitignore [new file with mode: 0644]
Tools/peg_generator/Makefile [new file with mode: 0644]
Tools/peg_generator/data/cprog.py [new file with mode: 0644]
Tools/peg_generator/data/xxl.zip [new file with mode: 0644]
Tools/peg_generator/mypy.ini [new file with mode: 0644]
Tools/peg_generator/peg_extension/peg_extension.c [new file with mode: 0644]
Tools/peg_generator/pegen/__init__.py [new file with mode: 0644]
Tools/peg_generator/pegen/__main__.py [new file with mode: 0755]
Tools/peg_generator/pegen/build.py [new file with mode: 0644]
Tools/peg_generator/pegen/c_generator.py [new file with mode: 0644]
Tools/peg_generator/pegen/first_sets.py [new file with mode: 0755]
Tools/peg_generator/pegen/grammar.py [new file with mode: 0644]
Tools/peg_generator/pegen/grammar_parser.py [new file with mode: 0644]
Tools/peg_generator/pegen/grammar_visualizer.py [new file with mode: 0644]
Tools/peg_generator/pegen/metagrammar.gram [new file with mode: 0644]
Tools/peg_generator/pegen/parser.py [new file with mode: 0644]
Tools/peg_generator/pegen/parser_generator.py [new file with mode: 0644]
Tools/peg_generator/pegen/python_generator.py [new file with mode: 0644]
Tools/peg_generator/pegen/sccutils.py [new file with mode: 0644]
Tools/peg_generator/pegen/testutil.py [new file with mode: 0644]
Tools/peg_generator/pegen/tokenizer.py [new file with mode: 0644]
Tools/peg_generator/pyproject.toml [new file with mode: 0644]
Tools/peg_generator/requirements.pip [new file with mode: 0644]
Tools/peg_generator/scripts/__init__.py [new file with mode: 0644]
Tools/peg_generator/scripts/ast_timings.py [new file with mode: 0644]
Tools/peg_generator/scripts/benchmark.py [new file with mode: 0644]
Tools/peg_generator/scripts/download_pypi_packages.py [new file with mode: 0755]
Tools/peg_generator/scripts/find_max_nesting.py [new file with mode: 0755]
Tools/peg_generator/scripts/grammar_grapher.py [new file with mode: 0755]
Tools/peg_generator/scripts/joinstats.py [new file with mode: 0644]
Tools/peg_generator/scripts/show_parse.py [new file with mode: 0755]
Tools/peg_generator/scripts/test_parse_directory.py [new file with mode: 0755]
Tools/peg_generator/scripts/test_pypi_packages.py [new file with mode: 0755]
Tools/scripts/run_tests.py