comment_parser icon indicating copy to clipboard operation
comment_parser copied to clipboard

Python module to extract comments from source code files of various types.

Results 16 comment_parser issues
Sort by recently updated
recently updated
newest added

I faced a Unicode error while using the comment_parser module. So tried opening a file(java) with "utf-8" encoding and it worked fine with that particular java file and all other...

Hi, this tool works well in many cases. But I found two problems. 1. Encoding problem If a file contains other encoding characters, e.g., Chinese characters and ½, an exception...

Assembly source code usually starts comment by ";" Also it is suggested to add simple customized comment rule (starting from a specified char, which could be set by caller".

This pull request adds support for Haskell comment parsing. Libmagic does not support haskell (at least on the machines I have access to), so uses must supply `'text/x-haskell'` as the...

This adds comment parsing for the Lisp family of languages. Libmagic unfortunately does not recognize racket, scheme, and clojure, so users _must_ supply the correct mime type for this to...