canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
16 stars 8 forks source link

feat: parse slice expressions #114

Closed letFunny closed 6 months ago

letFunny commented 9 months ago

Introduces the parsing scaffolding that will eventually allow SQLair to support slices as input expressions. This PR adds support for parsing slice expressions via a range of the form 'Slice[:]'.

manadart commented 7 months ago

Can we get this one rebased?

The description could do with more details, including the kind of statements it enables support for.

letFunny commented 7 months ago

Can we get this one rebased?

The description could do with more details, including the kind of statements it enables support for.

@manadart I rebased the PR and also added some more comments in the description for the long term goal of supporting slices as input expressions. Let me know if that is enough detail.

letFunny commented 7 months ago

Status update: we have changed the spec to reflect the fact that we want the implementation to be simpler initially. We can always support the extended syntax in the future when the need arises.

Additionally, we will put this PR on hold until the pipeline redesign is completed.