matthias-Q / rusqlls

A WIP Language Server implementation for SQL written in Rust
MIT License
8 stars 1 forks source link

Create SQL Parser #1

Open matthias-Q opened 1 year ago

matthias-Q commented 1 year ago

We need to be able to parse SQL statements.

Chumsky seems to be a good library, as it allows for very good error handling.

Not sure how to structure the process at the moment so I will just go ahead and create a list of statement that need to be parse-able:

atcol commented 1 year ago

Hello I saw your post on reddit and thought I'd see if I can help.

Have you thought about using https://github.com/sqlparser-rs/sqlparser-rs?

matthias-Q commented 1 year ago

Yes, we did take a brief look into it. I would like to use it, in order to re-implement a parser, but it looks like it is not "error resilient"