Skip to content

Build a Generic AST Builder #4

Description

@stifskere

Sub-issue of #3

Objective

Create a reusable and extensible Abstract Syntax Tree (AST) layer to represent SQL constructs (tables, columns, constraints, etc.) across multiple SQL dialects.

Tasks

Stage 1: PostgreSQL + CREATE TABLE (priority)

Stage 2: Full MVP / Other Dialects

  • Extend AST to support additional node types (indexes, triggers, etc.).
  • Generalize node definitions for MySQL, MariaDB, SQLite.
  • Enhance traversal utilities for complex queries.

Note: Stage 2 is lower priority; focus first on Stage 1 to enable usage within Flaky.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions