uncomment 3.3.0

A CLI tool to remove comments from code using tree-sitter for accurate parsing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

#pragma once

// This line comment should be removed

/* This block comment should be removed */

int main() {
    char *url = "http://example.com//path";
    char *msg = "Hello // world";
    // TODO: check return value
    printf("%s\n", msg);
    return 0;
}