[sc34wg3] TMQL - Short vs. formal syntax

Lars Heuer heuer at semagia.com
Fri Sep 4 09:14:35 EDT 2009


Hi Inge,

> 4. generation query languages like SQL also has this, ex. "LEFT
> JOIN", "RIGHT JOIN", "INNER JOIN", "WHERE" etc. It's not that
> different, all programming languages have some reserved words, so
> don't be afraid or the words :)

That's right. But there is a difference between having keywords and
having *reserved* keywords. In TMQL we have keywords, but no reserved
keywords. That means, you can use the keywords in other contexts
without trouble.

Aside from the keyword-issue, LEFT, RIGHT and REIFIED LEFT and REIFIED
RIGHT are suboptimal keywords. The arrow < > indicates a direction
to/from a topic/statement. RIGHT and LEFT don't provide that kind of
direction. Users will have more trouble to remember when to use
LEFT/RIGHT vs. <~ / ~>.

I think dropping one tilde (~) would just be fine.

And replacing '<<' '>>' with '/' name-of-an-axis may solve your other issue
as well.

Best regards,
Lars
-- 
Semagia 
<http://www.semagia.com>



More information about the sc34wg3 mailing list