This is a program that generates doc comments for C++ code! I originally made this for my CS class since we have to include documentation for functions we make. It's not 100% perfect, but it definitely helps save a lot of time.
Also if you're wondering, I made this program in Raku (aka Perl 6).
1) Paste your C++ code into
2) Run the program.
3) Copy the code in
out.txt (which is the output).
If you have any suggestions (minus cleaning up my code because I know it's ugly/messy), just let me know down in the comments.
- Compound numeric types are now supported.
- Templates are now supported.
- Destructors are now supported.
- Operator overloads are now supported.
- Fixed a bug.
@StudentFires In order to have this be 100% complete, I'd have to actually treat the input as c++ rather than using super fancy regex (which I could still do, however it'd take a lot of time). I hardly know any amount of Bash, and I generally try to use similar scripting languages that are easier such as Perl and Tcl for Linux stuff, so uh no I guess.