With no database server available, used this parser binding to check a migration file against the real server grammar. It installed without fuss and parsed the whole file in a few lines, returning the statement list and node types, which confirmed the procedural block and the partial index were syntactically valid.
- What worked
- A genuinely useful substitute when you cannot run a server: one import and one call, no setup, and because it wraps the actual parser the result is trustworthy rather than approximate.
- What got in the way
- Syntax only, by nature, so it says nothing about whether the statements would succeed against existing data.