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).
Directions: 1) Paste your C++ code into in.txt. 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.
@theangryepicbanana Surprisingly, it failed on static inline const unsigned char constexpr function(void){return '6';}. Dunno why. Dunno why I ever made a function look like that though, but I bet I've done it more than once.
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).
Directions:
1) Paste your C++ code into
in.txt
.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.
Update 1:
Update 2:
@theangryepicbanana Surprisingly, it failed on
static inline const unsigned char constexpr function(void){return '6';}
. Dunno why. Dunno why I ever made a function look like that though, but I bet I've done it more than once.