File:  [NetBSD Developer Wiki] / wikisrc / projects / project / c_refactoring_aid.mdwn
Revision 1.4: download - view: text, annotated - select for diffs
Mon Feb 16 07:17:54 2015 UTC (7 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: HEAD
This project is "hard". it's not even clearly specified

[[!template id=project

title="Refactoring Aid for C"


[David Young](

duration="3 months"

Write a script that aids refactoring C programs by extracting
subroutines from fragments of C code.

Do not reinvent the wheel:
wherever possible, use existing technology for the parsing and
comprehension of C code. Look at projects such as sparse and

Your script should work as a filter that puts the free
variables at the top, encloses the rest in curly braces, does
something helpful with break, continue, and return statements.

That's just a start.

This project is tagged "hard" because it's not clearly specified.
The first step (like with many projects) is to work out the
specification in more detail.


CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb