Image: github.com · GitHub repository card for justjake/sqlite3-parser-js
Worked Proof shown
SQLite's parser ported to JavaScript, 2x to 200x faster
A small, fast SQLite parser built for use in Notion's interface.
—
Credits
Earliest dated source:
The full story
The author needed a SQLite SQL parser small and fast enough to run in Notion's interface thread and trustworthy with modern syntax. The most-downloaded one on npm is unmaintained and slow. sqlite3-parser is a pure JavaScript port of SQLite's own LALR(1) grammar with better error messages. Benchmarks show it 2× to 200× faster than other JavaScript SQL parsers.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- Hacker News: Show HN: JavaScript port of SQLite's parser, 2x-200x faster than othersRepository account: justjake
The parser, benchmarks and usage.
- Hacker News discussion (2 points)HN submitter: jitlPosted
The Show HN post.