Skip to content

xjtu-enre/ENRE-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ENRE-x(PyCType_tree-sitter)

It's tree-sitter implementation of pyctype.

✔ PyCType_tree-sitter is no longer need to config C head files that used in the project.
✔ PyCType_tree-sitter improves the original analysis process, such as analyzing the return statement in the C implementation. if return statement What is returned is a variable, and only the types of all assignment statements (Assign) for this variable will be extracted. According to the correct analysis logic, the assignment statement before and closest to the return statement should be analyzed. This study improved the analysis process and made the analysis results more accurate.
✔ PyCType_tree-sitter drastically reduces runtime.

usage

run PyCType_tree-sitter with:

# 1. enter /enrex
# 2. run evaluation
python evaluate.py path-to-project

path-to-project is the path of the project (or a file) to be analyzed and should be replaced with absolute path.

output

likes pyctype.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published