An open API service indexing awesome lists of open source software.

https://github.com/takegue/tree-sitter-sql-bigquery

SQL grammar for BigQuery(GoogleSQL)
https://github.com/takegue/tree-sitter-sql-bigquery

Last synced: about 1 year ago
JSON representation

SQL grammar for BigQuery(GoogleSQL)

Awesome Lists containing this project

README

          

# tree-sitter for GoogleSQL (SQL dialect in BigQuery)
[![Build/Test](https://github.com/TKNGUE/tree-sitter-sql-bigquery/actions/workflows/ci.yml/badge.svg)](https://github.com/TKNGUE/tree-sitter-sql-bigquery/actions/workflows/ci.yml)

GoogleSQL(formerly known as StandardSQL) parser available in many programming language such as Rust, Node and so on. You
could try out the demo on [Github Pages](https://takegue.github.io/tree-sitter-sql-bigquery/)

### References

- ZetaSQL: https://github.com/google/zetasql/blob/master/docs/README.md

- Other SQL Dialect Projects:
- MySQL: https://github.com/DerekStride/tree-sitter-sql
- PostgreSQL: https://github.com/m-novikov/tree-sitter-sql
- SQLite: https://github.com/dhcmrlchtdj/tree-sitter-sqlite

## Development

### Running tests

```
npm install --also=dev
npm test
```

### Debbuging

- `npm run parse ` outputs a syntax tree