It seems we have a notational paucity of context-free delimiters. {} for blocks/sets/dictionaries, [] for lists/indexes/intervals/type params, <> for type params/vectors, () for tuples/precendence/AST nodes. They're so useful, maybe we need more?
-
-
I suppose we do have a number of composite delimiters, like /* */, (* *), [[ ]], --[[ ]]--, and custom delimiters with Heredoc. Seems like that shifts the work to the lexer though. And I'm sure we could come up with prettier delimiters if we tried.
Show this thread -
I want a team of mathematicians, artists, educations, and cognitive psychologists to revisit math/programming symbols. What's a notation for sets/arithmetic expressions/etc. that most meaningfully conveys their semantics?
Show this thread
End of conversation
New conversation -
-
-
yeah at some point random weird symbols is too confusing. use the type system (ECOOP 2014) or explicit macro names (ICFP 2018) to disambiguate!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD