Idiomatically determine all the characters that can be used for symbols: Difference between revisions

Line 229:
operator symbol and, if numeric, if it is not the first letter of a symbol name.
 
For example, x2 is a valid identifier, but 2x is not-- it is interpreted as 2 times the identifier x. In Julia, the Symbol() function turns a string into a symbolic token. So
 
So,
<lang julia>
for i in 1:0x200000 - 1
Line 237 ⟶ 235:
end
</lang>
workswhen run, this loop runs without error up to 0x200000 but not at Unicode symbol numbered 0x200000.
 
 
=={{header|Kotlin}}==
4,105

edits