DEV Community

Discussion on: Abstract Syntax Trees: They're Actually Used Everywhere -- But What Are They?

Collapse
 
pierresassoulas profile image
Pierre Sassoulas • Edited

Cool article aruna-x ! For those who want to do "applied ast", come contribute to pylint, it's a static analyser for python included in vs-code. We have a lot of issues to choose from and we'll help you with our custom ast, astroid :) We're using the visitor pattern so you can do something on all the node of a certain type easily. For example in our checker's 'visit_while' function you'll have access to all the while nodes. It's less graph/algorithmically intensive than you would think. (github.com/PyCQA/pylint/issues)

Collapse
 
aruna profile image
aruna-x

Thank you Pierre! I look forward to looking at pylint's open issues and contributing 😄