parlot icon indicating copy to clipboard operation
parlot copied to clipboard

Added possibility to read non escapable sequences

Open npenin opened this issue 3 years ago • 3 comments

Hi Seb,

I was missing the possibility to read string like in SQL where you escape using a double single quote (or as in C# when using the @string notation)

Please let me know if you need more that just the implementation.

PS: sorry for all the other changes, I have automated formatting when saving.

npenin avatar Mar 11 '21 09:03 npenin

Coucou!

At least a little unit tests?

sebastienros avatar Mar 12 '21 06:03 sebastienros

If you are actually working on a SQL parser, we need to migrate this one to Parlot. https://github.com/OrchardCMS/OrchardCore/blob/dev/src/OrchardCore.Modules/OrchardCore.Queries/Sql/SqlGrammar.cs

sebastienros avatar Mar 13 '21 19:03 sebastienros

I'm actually working on a usql-like parser, so a mix a sql and c#

npenin avatar Mar 13 '21 21:03 npenin