27.5KB language-agnostic WebGPU syntax highlighter
- Then a tiny WebGPU model combines local and whole-file context to label each part.
- It is designed for any language: instead of choosing a grammar, it guesses each part's type from the surrounding source, even when it never saw that language or syntax during training.
Unverified
- Then a tiny WebGPU model combines local and whole-file context to label each part.
- It is designed for any language: instead of choosing a grammar, it guesses each part's type from the surrounding source, even when it never saw that language or syntax during training.
Sources: Vercel