Skip to content


kthakore edited this page Sep 13, 2010 · 1 revision

Using Parrot and the compiler tools, write a parser for C header files that can generate Perl 5 NCI or Parrot NCI code.
It should let the developer write an SDL binding for either language by running the parser against SDL.h and its friends. For output, it would generate either or both Perl 5 and Parrot code that:

  • opens the appropriate library with NCI or Parrot NCI
  • binds to the functions with the appropriate data types
  • declares the defined structs appropriately
    Developers should be able to include this generated code in the distribution so that end users never have to run this compiler tools themselves or even have the headers for the libraries installed. Obviously they need the NCI and bound libraries installed, but not the headers or even a C compiler.

Lifted from

Something went wrong with that request. Please try again.