language-python-0.5.6: Parsing and pretty printing of Python code.

Copyright(c) 2009 Bernie Pope
LicenseBSD-style
Maintainerbjpop@csse.unimelb.edu.au
Stabilityexperimental
Portabilityghc
Safe HaskellSafe
LanguageHaskell98

Language.Python.Common

Contents

Description

Convenient re-export of common code, which works with both version 2.x and 3.x of Python.

Synopsis

Pretty printing infrastructure

Lexical tokens

Abstract Syntax Tree

Source locations

Pretty printing the Abstract Syntax Tree to concrete Python syntax

Pretty printing tokens

Parse errors

Pretty printing parse errors