GSoC/GCI Archive
Google Code-in 2010 Parrot Foundation and The Perl Foundation

Take another 100 lines off fill_params

completed by: rfw

mentors: cotto

Task Description

NOTE: If the other "Take 100 lines off fill_params" task hasn't been claimed, take that one first.  Also, look before you leap.  This isn't an especially easy task.

Improve the factoring of fill_params in src/call/args.c.  The function is currently 403 lines long, which is clearly too much.  Your job is to make it ~200 lines or less.  Do this by finding self-contained pieces chunk of code and breaking them out into a nice small static functions with an aptly descriptive name.

Steps To Complete This Task


  1. Create a fork of parrot.git on
  2. Perform all the necessary code and/or documentation changes in a branch.
  3. Build parrot and run its test suite (make fulltest) to verify that things still work
  4. Create a Github pull request (button on the upper right of your fork) to have your changes incorporated into the master repository


  1. C coding ability

Additional Links