Show HW: LiteParser – An embeddable SQLite parser
LiteParser는 완전한 SQLite SQL 파서를 C 언어로 구현한 임베디드 라이브러리로, 외부 의존성 없이 단일 정적 또는 공유 라이브러리로 제공된다. SQLite의 모든 SQL 문법을 지원하며, AST를 JSON으로 직렬화하거나 다시 SQL로 변환하는 기능을 갖추고 있어 IDE 통합, 린터, 코드 분석 등에 적합하다. 메모리 관리는 아레나 할당 방식을 사용해 빠르고 메모리 누수 없이 처리하며, Apple Silicon에서 초당 약 42만 건의 구문 분석 성능을 보인다. 또한, 광범위한 SQLite 테스트 스위트와 퍼즈 테스트를 통과해 안정성과 완성도를 입증했다. WebAssembly 빌드도 지원해 브라우저 및 Node.js 환경에서도 활용 가능하다.

GitHub - sqliteai/liteparser: A lightweight, embeddable SQL parser designed for SQLite-based applications. It parses SQL statements into a structured representation that can be inspected, analyzed, or transformed programmatically.
A lightweight, embeddable SQL parser designed for SQLite-based applications. It parses SQL statements into a structured representation that can be inspected, analyzed, or transformed programmatical...