C language stats
$30-250 USD
Оплачується при отриманні
Maximum delivery 3 days, price up to $150. Testing files are attached.
Make a Python script parsing c and h files of c language.
Input parameters:
--help - prints help - this parameter can't be combined with any other
--input=[url removed, login to view] - input file or directory with source code of C with coding in ASCII, ISO 8859-2 or CP1250. When the directory is entered, script analyzes C source codes in it and then proceeds with subdirectories. If this parameter is missing, script analyzes current directory and its subdirectories.
--output=[url removed, login to view] - output file in ASCII coding
-k - prints amount of key words (not in comments and strings) in each file and overall
-o - prints amount of simple operators and strings in each file and overall. Simple operator is definited as known and fixed sequence of non letter characters.
-ik - prints amount of all identificators (not in comments and strings) in each file and overall - includes keywords
-i - prints amount of all identificators (not in comments and strings) in each file and overall - does not include keywords
-w=<pattern> - counts all strings pattern in files and prints amount of it in each file and overall. Searches in comments too.
-c - prints amount of comments characters including //,/* and */ per file and overall. Count end of line symbols too.
-p - output will print only file names without full path. Can be combined with any parameter but --help
Parameters -k, -o, -ik, -i, -w, -c can't be combined with each other.
Commenting:
Each routine has to contain a description of what's its function, input and output.
Documentation:
1 page documentation describing how the script is working is required
ID Проекту: #671062
Про проект
Доручено:
6 фрілансерів(-и) готові виконати цю роботу у середньому за $163
I have delivered similar project in perl for a User on this site...I can convert the same to python also
Dear Sir, I can do this for you. Please check my profile at http://www.freelancer.com/users/1045240.html