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

Reorganize packfile-related files

completed by: Nagato Yuki

mentors: whiteknight

Task Description: Parrot organizes it's source code files in the src/ directory, and further separates out code for particular subsystems into subdirectories. "Packfile" is the internal name for Parrot's bytecode files. Several files implement routines for loading in, writing out, or manipulating these packfiles. Those files should all be moved to their own directory "src/packfile/"

The following files should be moved:

  1. src/packfile.c -> src/packfile/api.c
  2. src/packout.c -> src/packfile/output.c
  3. src/pmc_freeze.c -> src/packfile/object_serialization.c

Steps to Complete:

  1. Create a fork of parrot/parrot on Github
  2. Create the src/packfile directory
  3. Move the files as specified above
  4. Update the makefile template in config/gen/makefiles/root.in
  5. Build and test parrot to verify everything still works
  6. Open a pull request on Github

Links: parrot at github