fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.04k stars 711 forks source link

Upgrade sql-parser-cst from 0.5.1 to 0.10.0 #681

Open nene opened 1 year ago

nene commented 1 year ago

This version brings BigQuery support, so I also added the new language to the dropdown in settings. Plus the syntax tree produced by sql-parser-cst has had some major changes between 0.5 and 0.8 versions.

Normally I would avoid throwing PR-s to AstExplorer for every little upgrade, but this one completely changes how table and column names are represented, making the syntax tree in 0.5 largely incompatible with the one in 0.8.

vsviridov commented 9 months ago

It's on 0.17.1 with even more dialects supported.