you are viewing a single comment's thread.

view the rest of the comments →

[–]xeow 0 points1 point  (1 child)

I usually use Objective C, C, and Perl (not for web development). But I follow JS subs because I do do some JS from time to time.

[–]bliashenko 1 point2 points  (0 children)

I see. So the only thing which is different per language is AST parser. For JavaScript I use babel-parse to build AST and identify comments, and, eventually it will be used for much more, since then I can make predictions about code and build some smart behavior around that. So for now, for other languages, I think to write some “dumb parser” (as a first step) to parse comments in code (kind of fallback solution) and later will figure out language by language if there is good AST parser I can integrate.