tree-hugger icon indicating copy to clipboard operation
tree-hugger copied to clipboard

A light-weight, extendable, high level, universal code parser built on top of tree-sitter

Results 10 tree-hugger issues
Sort by recently updated
recently updated
newest added

Well, the title of the issue tells it all, but just to clarify, we may need a better documentation (something in the read the docs or something like that, or...

documentation
good first issue

## Motivation As discussed, given a .py file, can we get an overall mapping of the given code file. As of now, added the skeleton in the Parser Class as...

Following scripts have been updated - - [x] download_libs.py - [x] create_libs.py Both of these files belong to the tree_hugger package and hence updation in the module is necessary on...

The `pip install` works for Windows however, even if the `create_libs` works it seems that the generated library is not the right one. We need to figure that out and...

enhancement

Right now Parser objects are stateful (in a sense that each obejct keep the parse tree internally and also the raw code and all, of the file / code string...

question
discussion

As an alternative to doing this ``` from tree_hugger.core import PythonParser pp = PythonParser() ``` We also suggest having something like this ``` from tree_hugger.language_factory import get_parser pp = get_parser('Python')...

enhancement

Despite trying hard, the Primary API of tree-hugger is yet not normalized. We need to make a detailed description of the standard method names and normalize it across language implementations.

enhancement

We may also want to make the .so files a part of the core code (I am not sure about it, let's discuss) Hold on on this one

The documentation says that PHP parser has a get_all_class_method_bodies method, but there is no such method. How do I get the body of class methods?