Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a dynamic integration of srcML into the add_srcML function #50

Open
nalmadi opened this issue Dec 20, 2021 · 2 comments
Open

Add a dynamic integration of srcML into the add_srcML function #50

nalmadi opened this issue Dec 20, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@nalmadi
Copy link
Owner

nalmadi commented Dec 20, 2021

The add_srcML currently uses pre-generated files for the EMIP dataset code. It does not generate srcML tags for any piece of code.

It would be great to integrate srcML into the tool so it is called automatically (behind the scene) to generate the srcML tags for any code, then add the tags to the dataframe.

This means that we will add srcML as a dependency, so let's see if we can do this in an easy way. Not sure if srcML is downloadable through pip or similar. This might create problems for our automated Action testing, if srcML is not downloadable through pip.

A good start would be at srcML website to understand the tool and how it works: https://www.srcml.org/

@nalmadi nalmadi added the enhancement New feature or request label Dec 20, 2021
@quanphan2906
Copy link
Collaborator

I don't think it can be downloaded via pip, because there is no search result for srcml on PyPi: https://pypi.org/search/?q=srcml. There is a package called srcml on one of Anaconda's channels, but there was no documentation or even any introduction to what the package tries to do. You can take a look: https://anaconda.org/yijunyu/srcml.

How should we proceed in this situation?

@nalmadi
Copy link
Owner Author

nalmadi commented Feb 17, 2022

Good questions, I think pip is mostly for Python packages so I doubt it will be there.

Maybe you should ask here: https://github.com/srcML/srcML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants