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

feature request: support gritql for writing plugins #39

Open
james2doyle opened this issue Jan 13, 2025 · 1 comment
Open

feature request: support gritql for writing plugins #39

james2doyle opened this issue Jan 13, 2025 · 1 comment
Labels
Experimental This feature or issue is experimental and may change or be removed in future versions. Priority: Low Can be picked up by anyone looking to contribute; a good entry-level fix. Status: Available No one has claimed responsibility for this issue yet. Type: Enhancement Request for additions or changes that improve existing functionality.

Comments

@james2doyle
Copy link

https://biomejs.dev/reference/gritql/
https://docs.grit.io/language/syntax

GritQL is a querying tool for source code that can be used to refactor, lint, or format the input.

It seems like Biome is looking to use it to allow plugins to be written in Grit instead of just in Rust. Given the overlap between Biome and Mag (formatting and linting code), I thought this might be worth looking at doing in Mago as well?

@azjezz
Copy link
Member

azjezz commented Jan 16, 2025

I have spent a bit of time looking at Grit, and it looks quite interesting. I think it would be great to have a "simpler" langauge be used to write linter rules.

However, this is not a simple feature to add, and i do not see it as a priority right now.

I'll keep this issue open for future reference, but I can't promise this anytime soon, espically not before 1.0.

@azjezz azjezz added enhancement Experimental This feature or issue is experimental and may change or be removed in future versions. Priority: Low Can be picked up by anyone looking to contribute; a good entry-level fix. Status: Available No one has claimed responsibility for this issue yet. Type: Enhancement Request for additions or changes that improve existing functionality. and removed enhancement labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experimental This feature or issue is experimental and may change or be removed in future versions. Priority: Low Can be picked up by anyone looking to contribute; a good entry-level fix. Status: Available No one has claimed responsibility for this issue yet. Type: Enhancement Request for additions or changes that improve existing functionality.
Projects
None yet
Development

No branches or pull requests

2 participants