DQ

Results 13 issues of DQ

Following a discussion in Discord about "extending" syntax kinds when the parsed language has an extensive plugin system that allows language modifications, I looked at the green tree structs that...

Make `Send` and `Sync` impls for `SyntaxXY` a feature and see which parts of the implementation can be simplified for the single threaded case. From the top of my head,...

You mentioned that you wanted to take some stabs at performance. While I am not familiar enough with the codebase to suggest any _structural_ changes (and sadly don't have the...

**Describe the bug** Plotting a small sine wave over a bit more than 10 seconds: ![image](https://user-images.githubusercontent.com/28535538/116858517-c8923500-abfe-11eb-9423-429dbada7540.png) When I update the signal with data for up to 100 seconds, sometimes the...

bug

Finding one's way around `with_interner` and `from_interner` (between both `GreenNodeBuilder` and `NodeCache`) is very much not trivial. Over the past few weeks I've had several discussions with folks trying to...

Currently, `cstree` hard requires a `Spur` as our interning key, because our `GreenToken` cannot be generic (due to the type erasure that is happening). This means that we cannot integrate...

Currently, going from `SyntaxKind` to its `#[repr(u16)]` can be done with a cast (`as u16`), but the reverse direction requires `unsafe`: ```rs fn kind_from_raw(raw: cstree::SyntaxKind) -> Self::Kind { assert!(raw.0

When running clippy on this code ```rust fn foo() -> Option { todo!() } fn main() { loop { let x = match foo() { Some(n) => n, None =>...

C-bug