by xixixao · 6y ago · 0 comments
It’s 2020, if you’re really serious about building a new language, shouldn’t you at least pick a reasonable naming case convention? (allOf, AllOf, all_of, all-of would all work)
(Not talking about the fact that allOf doesn’t seem very consistent with other languages...)
The documentation doesn’t appear to explain when to use one over the other, or perhaps . is a typo.
If you have something clear you break tokens on, like whitespace (except within quotes), then you should have no problems allowing arbitrary symbols inside an identifier.
[1] https://docs.raku.org/syntax/identifiers#Ordinary_identifier...