Due to past obfuscation, everything was merges into one file.
Goal of this task is to determine which method is suited best to modularize the code again. Metric to determine success would be the LOC in the main file - goal is to reduce them as much as possible.
Ideas:
Preprocessor based: Have directives in the files like "globals start" , "globals end", etc and then just merge the files
Use a parser to properly parse all files and then do proper arangement of things like variables, functions, etc
Due to past obfuscation, everything was merges into one file.
Goal of this task is to determine which method is suited best to modularize the code again. Metric to determine success would be the LOC in the main file - goal is to reduce them as much as possible.
Ideas: