flowr-analysis / flowr

A program slicer and dataflow analyzer for the R programming language.
https://github.com/flowr-analysis/flowr/wiki
GNU General Public License v3.0
16 stars 2 forks source link

The New Query Api (aka [1]007 with the license to kill redundant frontend boilerplate) #1007

Open EagleoutIce opened 2 hours ago

EagleoutIce commented 2 hours ago

Alongside #980 i am creating a new query API which should be used to consume the following features:

This should be part of 2.1 which will start to deprecate the other messages. Comments are open until #980 is stable and in main, for now, you may refer to https://github.com/flowr-analysis/flowr/blob/980-context-sensitive-call-pattern-queries/wiki/Query%20API.md for the evolving documentation of the Query API.

As a benefit this would provide server/cli/... integration for new queries with just one definition, drastically reducing the boiler plate. Additionally, this allows the (re-) use of virtual queries like the compound query to group and pre-determine arguments!

EagleoutIce commented 2 hours ago

Feel free to comment @SunVal, @LukasPietzschmann, @Ellpeck, @allaboutmeme.

LukasPietzschmann commented 1 hour ago

I only have one question: did you intentionally wait until the issue could be #[1]007?