warrah 0.1.0

Warrah: A command-line utility and Rust library that sloppily removes code comments from a text file, supporting 60+ programming languages.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This is a single line comment in JavaScript

// This is another single line comment
// with multiple lines
// of comments

/* This is a multi-line comment
   that spans multiple lines
   and should be removed */
function example() {
    // This is a comment inside a function
    console.log("Hello, world!");
    /* This is another multi-line comment
       inside the function */
}

// This is a comment after the function