You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This umbrella is part of our efforts to implementing a Grit runtime.
The first goal of this issue is to get to a point where biome search can make use of the bindings. Not all subtasks necessarily need to be completed to get to that point, though most probably will. We can always continue working on the remaining tasks in parallel to other plugin-related efforts.
Binding status
To use the Grit pattern engine in Biome, we need to make sure the bindings to the engine are implemented. These are effectively traits defined by Grit that need implementation on the Biome side. These are:
Padding still needs implementation. See todo!()s in grit_target_language.rs.
We need to provide TreeSitter-compatible node and field (slot) names. Probably need to investigate how to generate these definitions from TreeSitter grammar files, together with our .ungram files. See TODO comments in js_target_language.rs.
✅ File binding
✅ Tree binding
Feature status
Apart from the bindings, we can also identify which features still need implementation:
✅ Integrate Biome parsers into Grit bindings (only JS/TS so far)
Everyone is welcome to contribute pieces here! If you'd like to tackle something, please leave a comment below this issue for which item(s) of the checklist below you'd like to pick up. We will create a separate issue and assign it to you to simplify tracking.
If you need any help or have any questions about our plugin efforts in Biome, feel free to ask in the #plugins channel in Discord.
We decide not to fund this issue with Polar.sh because it is a long term effort. Polar.sh is designed for short and medium term efforts. It sets a deadline of 6 months to complete a task.
The text was updated successfully, but these errors were encountered:
Description
This umbrella is part of our efforts to implementing a Grit runtime.
The first goal of this issue is to get to a point where
biome search
can make use of the bindings. Not all subtasks necessarily need to be completed to get to that point, though most probably will. We can always continue working on the remaining tasks in parallel to other plugin-related efforts.Binding status
To use the Grit pattern engine in Biome, we need to make sure the bindings to the engine are implemented. These are effectively traits defined by Grit that need implementation on the Biome side. These are:
Node
binding: chore: implement Grit node bindings #2697NodePattern
andLeafNodePattern
bindings: chore(grit): implement Grit snippet bindings #3162ExecContext
bindingBinding
binding (no pun intended :))todo!()
s left. However, there are still dummy implementations related to specific features that are listed below.CodeSnippet
binding: fix(grit): add code snippet bindings #3601ResolvedPattern
bindingtodo!
()s ingrit_resolved_pattern.rs
#3603, there are no moretodo!()
s left. However, there are still dummy implementations related to specific features that are listed below.Language
bindingtodo!()
s ingrit_target_language.rs
..ungram
files. SeeTODO
comments injs_target_language.rs
.File
bindingTree
bindingFeature status
Apart from the bindings, we can also identify which features still need implementation:
grit_context.rs
multifile
pattern handlingsequential
pattern handlingLegend
How to Contribute
Everyone is welcome to contribute pieces here! If you'd like to tackle something, please leave a comment below this issue for which item(s) of the checklist below you'd like to pick up. We will create a separate issue and assign it to you to simplify tracking.
If you need any help or have any questions about our plugin efforts in Biome, feel free to ask in the
#plugins
channel in Discord.Funding
To support this effort, please consider sponsoring Biome within our Open Collective or GitHub sponsorship.
We decide not to fund this issue with Polar.sh because it is a long term effort. Polar.sh is designed for short and medium term efforts. It sets a deadline of 6 months to complete a task.
The text was updated successfully, but these errors were encountered: