Skip to main content

parse

Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.

소스 정보

저장소
LalitMaganti/syntaqlite
최근 소스 활동
2026년 8월 15일 16:28
감지된 SKILL.md 언어
영어
스타
823
포크
16

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
parse
description
Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.
# Parse SQL Parse SQLite SQL and display the abstract syntax tree (AST) using the syntaqlite CLI. ## Usage ```bash # Print AST from a file syntaqlite parse query.sql # Print AST from stdin echo "SELECT 1 + 2 FROM t" | syntaqlite parse # Parse an inline expression syntaqlite parse -e "SELECT 1" # Output as JSON syntaqlite parse -o json query.sql ``` ## Options - `-e, --expression <SQL>`: parse an inline SQL expression instead of files - `-o, --output <FORMAT>`: output format (default: text) ## Output modes - `text`: Human-readable indented AST tree (default) - `json`: Machine-readable JSON AST ## Notes - Use the default `text` output for quick inspection and `json` for programmatic use.
GitHub에서 보기