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

Split of Topiary's builtin query files into their own crate #609

Merged
merged 5 commits into from Sep 19, 2023

Conversation

ErinvanderVeen
Copy link
Member

@ErinvanderVeen ErinvanderVeen commented Aug 29, 2023

This is related to #606.

This PR can only be merged after #583

TODO:

@ErinvanderVeen ErinvanderVeen added the Pblocked This issue is blocked, we cannot resolve it at the moment. label Aug 29, 2023
@ErinvanderVeen ErinvanderVeen self-assigned this Aug 29, 2023
Copy link
Member

@Xophmeister Xophmeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like the idea of enabling language support (or, at least, queries1) behind feature flags. I was a little dubious, at first, about baking the queries into the binary, but it works -- and I guess it's necessary for the feature flags -- so ¯\_(ツ)_/¯

Footnotes

  1. I wonder if it would be useful to extend the features to the included grammars, as well? However, this is probably not worthwhile if "languages" are eventually going to be completely decoupled from the library...

README.md Outdated Show resolved Hide resolved
topiary-cli/src/io.rs Outdated Show resolved Hide resolved
topiary-queries/Cargo.toml Show resolved Hide resolved
@Xophmeister Xophmeister mentioned this pull request Sep 4, 2023
26 tasks
Also renames languages to queries because that is arguably what it contains. Also, this aligns more with the internal naming of language/query. (We still need to get rid of "grammar").
@ErinvanderVeen ErinvanderVeen marked this pull request as ready for review September 19, 2023 12:50
@ErinvanderVeen ErinvanderVeen merged commit 63a794c into main Sep 19, 2023
4 checks passed
@ErinvanderVeen ErinvanderVeen deleted the topiary-query-files-crate branch September 19, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pblocked This issue is blocked, we cannot resolve it at the moment.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants