Annotated compiler/

10 months ago Paul Boddie Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality.
paul@0 1
"""Package for parsing and compiling Python source code
paul@0 2
paul@0 3
There are several functions defined at the top level that are imported
paul@0 4
from modules contained in the package.
paul@0 5
paul@0 6
parse(buf, mode="exec") -> AST
paul@0 7
    Converts a string containing Python source code to an abstract
paul@0 8
    syntax tree (AST).  The AST is defined in compiler.ast.
paul@0 9
paul@0 10
parseFile(path) -> AST
paul@0 11
    The same as parse(open(path))
paul@0 12
paul@0 13
paul@0 14
from compiler.transformer import parse, parseFile