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

Move front-end code files to new directory

completed by: rfw

mentors: whiteknight

Task Description: The Parrot repository has an src/ directory to hold most C source code files. We would like to separate out code files which belong inside libparrot itself and the files which create front-end applications that link to libparrot. One example of this is the Parrot executable program, which is a thin wrapper around libparrot to handle commandline interaction.

Create a new directory in the root of the repository called "frontend". Move the following files to subdirectories:

  1. src/main.c -> frontend/parrot/main.c
  2. src/pbc_merge.c -> frontend/pbc_merge/main.c
  3. src/pbc_dump.c -> frontend/pbc_dump/main.c
  4. src/parrot_debugger.c -> frontend/parrot_debugger/main.c

Steps to Complete:

  1. Create a fork of parrot/parrot on Github
  2. Move the files to the new locations as specified above. Make sure to use the "git mv" command so that git properly handles history and other things
  3. Update the makefile at config/gen/makefiles/root.in, and replace the old file names with the new file names
  4. Build and test parrot to verify that nothing has broken
  5. Open a pull request at Github to have your changes merged in

Links: parrot at github