agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
876 stars 47 forks source link

Allow quoting RelVarName and AttributeName, including any operator chars. Resolves #299 #322

Closed farzadbekran closed 2 years ago

agentm commented 2 years ago

I chose to use backticks instead of double-quotes for quoted identifiers in order to disambiguate them from strings. Please take it for a spin and let me know what you think.

TutorialD (master/main): `سلام`:=relation{tuple{`دوست` "friend"}}
TutorialD (master/main): :showexpr `سلام`
┌──────────┐
│دوست::Text│
├──────────┤
│"friend"  │
└──────────┘
farzadbekran commented 2 years ago

Using backticks was a good idea. All seems fine on my end. Thanks!