diff options
| author | Georg Brandl <georg@python.org> | 2009-07-26 14:37:28 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-07-26 14:37:28 (GMT) |
| commit | d7d4fd7336baca618eb02b9a7e862bd8452d8f7d (patch) | |
| tree | 2273b0b04e103df5de2a4d51d56bcf20793f1719 /Doc/library/compiler.rst | |
| parent | 9fa61bb37d68225c827aa7809382ea701c264db5 (diff) | |
| download | cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.zip cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.tar.gz cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.tar.bz2 | |
builtin -> built-in.
Diffstat (limited to 'Doc/library/compiler.rst')
| -rw-r--r-- | Doc/library/compiler.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/compiler.rst b/Doc/library/compiler.rst index 0093518..991628a 100644 --- a/Doc/library/compiler.rst +++ b/Doc/library/compiler.rst @@ -21,11 +21,11 @@ Python. It uses the built-in parser and standard :mod:`parser` module to generated a concrete syntax tree. This tree is used to generate an abstract syntax tree (AST) and then Python bytecode. -The full functionality of the package duplicates the builtin compiler provided +The full functionality of the package duplicates the built-in compiler provided with the Python interpreter. It is intended to match its behavior almost exactly. Why implement another compiler that does the same thing? The package is useful for a variety of purposes. It can be modified more easily than the -builtin compiler. The AST it generates is useful for analyzing Python source +built-in compiler. The AST it generates is useful for analyzing Python source code. This chapter explains how the various components of the :mod:`compiler` package @@ -118,7 +118,7 @@ for a construct, there are often several levels of nested nodes that are introduced by Python's precedence rules. The abstract syntax tree is created by the :mod:`compiler.transformer` module. -The transformer relies on the builtin Python parser to generate a concrete +The transformer relies on the built-in Python parser to generate a concrete syntax tree. It generates an abstract syntax tree from the concrete tree. .. index:: |
