agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
901 stars 48 forks source link

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

Closed farzadbekran closed 3 years ago

agentm commented 3 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 3 years ago

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