Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 410 Bytes

comment-zapper.md

File metadata and controls

14 lines (10 loc) · 410 Bytes

comment zapper.md

code cleanup tool that:

  1. looks for comments (AST parser?)
  2. classifies the commented text as either code of natural language
  • simple knn classifier
  • some small test corpus vs surrounding code fragments
  1. if a contiguous comment block contains only code, delete it
  • need to avoid markdown
  • how to prompt user approval?