Skip to content

parser: AST validator #140

@tsatke

Description

@tsatke

The validator should reside in internal/parser/ast/validate. The tool should provide a validation method for every Statement of the ast. Upon calling, the tool shall validate, if the ast is a valid production of the SQLite grammar. This validation shall go beyond parsing, i.e. validating token values, validating escape sequences inside string literals, checking bounds on numeric literals etc. The highest priority for this tool is a minimalistic API. The second highest priority is performance, as this will be used before compiling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/parserThis is regarding the SQL parserfeatureNew feature or enhancementgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions