Documentation generator for C++
theangryepicbanana (1403)

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.

You are viewing a single comment. View All
theangryepicbanana (1403)

@StudentFires I'm not sure what the tldr is for, but I thought it'd be easier to do it in Raku since Raku's regexes can do way more than normal regex (e.g. they can: be recursive, nest inside one another, have inline expressions). Also for the highlighting thing, my program should have highlighting unless you're on mobile. As for the other thing, I keep forgetting that other storage qualifiers exist for functions so stuff like static, inline, and constexpr don't work yet :/