Just thinking here... (AAAAAAAAAAAhhhhhhhhhhhhhh)
A community project for b4x to scan / modify b4x source code. Stay with me as it has been a long day.
What I am seeing is a b4j application... Open source... Community driven... And a Erel smile.
Brain DUMP!
--- Frame work
1. GUI that reads all files in a b4x project and displays them with a check box. A button to select all or select none or click and select what you want. Maybe even drilling down per sub. Contents stored in a list. (or map or what ever)
2. A class to save the GUI checked items. (Lets call it a 'insert name' project)
3. A class that parses a single file and returns a list of subs.
4. A class that does backup of original b4x files. (pass in a file name or list of file names and get a backup written)
5. A class that writes back out the new code or even just a sub.
6. Anything else I have missed.
--- End frame work
--- functionality (the fun part.)
1. A class that takes the object of subs and adds TRY CATCH blocks.
2. A class counts lines of code, comments, metrics or what ever.
3. A class that inserts debug logging information. (IE: #if DEBUG log("SUB name") #end if)
4. A class that inserts logs to show all values of parameters passed.
5. A class that inserts code to calculates the speed of a sub.
6. More ideas... ????
--- End functionality
Generic classes.
1. Compress a list of files.
2. A class to remove our added code.
3. ????
You get the idea.
I do not know but I think if we divide this up it... it could come together pretty quick. I will volunteer as project manager, build master, code tweaker and GIT manager as well as writing some classes myself. Thoughts? Ideas? Tell me to get bent? Too busy?
In the end blame Erel, it is all his fault!!!!