Source

objective.cparser /

Filename Size Date modified Message
examples
objective
tests
utils
121 B
270 B
1.5 KB
322 B
1.5 KB
14.3 KB
875 B
871 B
3.8 KB

objective.cparser

1   Introduction

1.1   What is objective.cparser?

objective.cparser is a basic parser for the Objective-C language, written in pure Python. It is based on 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.

1.2   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.

1.3   How is objective.cparser licensed?

New BSD License