Any code counters that count AST size?

yujiri8 profile image Ryan Westlund ・1 min read

Paul Graham's article Succinctness is Power makes the point that when measuring how complex source code is, both line count and character count have serious issues and the ideal measure is the size of the syntax tree. I know several tools that count lines, but are there any that count this? If not, I would consider trying to write one.


Editor guide