Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!


2   Introduction

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

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

2.3   How is objective.cparser licensed?

New BSD License

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.