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:
- src/main.c -> frontend/parrot/main.c
- src/pbc_merge.c -> frontend/pbc_merge/main.c
- src/pbc_dump.c -> frontend/pbc_dump/main.c
- src/parrot_debugger.c -> frontend/parrot_debugger/main.c
Steps to Complete:
- Create a fork of parrot/parrot on Github
- 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
- Update the makefile at config/gen/makefiles/root.in, and replace the old file names with the new file names
- Build and test parrot to verify that nothing has broken
- Open a pull request at Github to have your changes merged in
Links: parrot at github