[RFC] Shorter alternative representation for `of'
jpl
jpl.algol68@gmail.com
Sun Jan 18 17:34:54 GMT 2026
Resend, first sending failed to reach the list.
Greetings,
There appear to be two themes in the thread: shortening "of" for
"left-to-right" selection, and also shortening "of" for the
"right-to-left" selection.
Suppose "bar" is a field of record "foo", using the apostrophe we'd have:
bar OF foo ----------> bar'foo (looks
great, maintains the classic Algol68 ordering.)
considering the other ordering (found in more recent languages), this
may be possible:
bar OF foo ----------> foo.bar (looks great,
familiar to many).
There is a subtle visual elegance to this as well. Notice how the
"classic" ordering has a symbol "up top" of the line, while the
"modern" ordering has the symbol "down low". Kinda neat, IMO.
Regards, James
More information about the Algol68
mailing list