1. Ronald Oussoren
  2. objective.cparser


objective.cparser / README.txt


.. contents::
    :backlinks: none

.. sectnum::


What is objective.cparser?

``objective.cparser`` is a basic parser for the Objective-C language, written in pure Python. It is
based on `pycparser <http://http://code.google.com/p/pycparser/>`_.

The primary goal for ``objective.cparser`` is to provide a parsing tool for Apple's system headers that
can be used by PyObjC's metadata extraction tools.

A longer term goal is to provide a library that can be integrated in other applications that need
to parse (Objective-)C source code.

Which version of Objective-C does objective.cparser support?

The library supports the full Objective-C language as provided by the CLang compiler that's integrated with
XCode on MacOSX 10.7.

Current limitations:

* The parser does not yet implement parsing for ``@implementation`` blocks, and therefore can also not 
  parse method definitions.

* The parser does not yet implement parsing for block definitions, but only supports type declations for 
  blocks (as used in parameter definitions and typedef statements)

* The parser does not yet understand the ``__attribute__`` extension.

How is objective.cparser licensed?

`New BSD License <http://www.opensource.org/licenses/bsd-license.php>`_