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

Improve csar query language #11

Open
dozmus opened this issue Jul 20, 2018 · 0 comments
Open

Improve csar query language #11

dozmus opened this issue Jul 20, 2018 · 0 comments
Labels
csar-api enhancement A non-functional change

Comments

@dozmus
Copy link
Owner

dozmus commented Jul 20, 2018

Some comments from our paper submission, which are worth considering:

Query Languages for program comprehesion is not a new topic and there are several interesting papers. Many commercial tools now integrate the work done earlier. I think comparison witth these tools is a critical missing piece of information from the paper. Here are some tools/approaches that authors would like to have a look at: CPPDepend [1], QL for source code analyis [2] and Moose[3]. Another point is that query language appears to be language-specific: final doesn't exist in C++, there are const and constexpr. So, may be a generic meta-model representing code entities and their qualifiers will be a better approach. Integrating syntax of all languages in the query language require too much work, IMO.

All the csar examples in the paper starts with the SELECT keyword. This suggests me that SELECT is redundant and not used, for me e.g. REFACTOR something TO something would be more logical than the current SELECT something REFACTOR something. It is also unclear where are the limitations of the language.

I think a more powerful solution would involve writing a query language which targets object-oriented languages in general, and then implementing that.

@dozmus dozmus added enhancement A non-functional change csar-api labels Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
csar-api enhancement A non-functional change
Projects
None yet
Development

No branches or pull requests

1 participant