OData / OData.Neo

111 stars 18 forks source link

Tokenization #16

Closed TehWardy closed 2 years ago

TehWardy commented 2 years ago

I'm creating this as a matter of good practice to allow us also add key discussion points from our live sessions and the discord discussion that takes place around the sessions.

Long story short, we already agree that the first step in the process is to implement tokenization to allow further pieces of the "lake house pipeline" to process OData protocol questions and ultimately translate those in to useable business cases ...

Tokenization

The general concept discussed here involves taking the raw "character stream" (string from URI's query) and breaking that out in to something that identifies key pieces of the protocol question asked.

Key points to clarify ...

Hassan has also introduced the idea that would solve this with Regular Expressions ... should we?

josuave commented 2 years ago

I wonder if it makes more sense to detect this token as an OTokenType.StringLiteral and include the ' in its value.