observablehq / observablehq/notebook-kit
Syntax highlighting for SQL
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 371
- Forks
- 27
- Avg merge
- 3h 52m
- Merged PRs (30d)
- 1
Description
There’s no @lezer/sql so the built-in Lezer-based highlighting doesn’t support SQL (yet). There is somewhat of a Lezer grammar in @codemirror/lang-sql, but it’s fairly primitive, and not easily usable as a standalone grammar. We should perhaps write our own?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining how the built-in Lezer-based highlighting is wired in notebook-kit and compare the existing grammar in @codemirror/lang-sql. Determine whether a standalone SQL grammar is feasible; done would mean SQL receives built-in syntax highlighting through a supported @lezer/sql-equivalent grammar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100