Abstract: Abstract Syntax Tree (AST) and Control Flow Graph (CFG) are program code representations widely used for static analysis. One of the uses of static analysis is for automated grading ...
Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.
The library pyre-ast is another OCaml library for parsing Python files using the Python interpreter itself. However, pyast emphasizes compability between Python versions, enabling OCaml programs to be ...