-
Notifications
You must be signed in to change notification settings - Fork 29
v3.5
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 http://www.perl.org/advocacy/summerofcode/ideas.html