mirror of
https://github.com/python/cpython.git
synced 2025-09-16 21:56:14 +00:00
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>
This commit is contained in:
parent
a81849b031
commit
c5fc156852
91 changed files with 27057 additions and 146 deletions
10
Tools/peg_generator/data/cprog.py
Normal file
10
Tools/peg_generator/data/cprog.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
if 1:
|
||||
print("Hello " + "world")
|
||||
if 0:
|
||||
print("then")
|
||||
print("clause")
|
||||
elif 1:
|
||||
pass
|
||||
elif 1:
|
||||
pass
|
||||
else: print("else-clause")
|
Loading…
Add table
Add a link
Reference in a new issue