Idiomatically determine all the characters that can be used for symbols: Difference between revisions
Idiomatically determine all the characters that can be used for symbols (view source)
Revision as of 14:17, 18 March 2020
, 4 years ago→{{header|Raku}}: Fix comments: Perl 6 --> Raku
(→{{header|AWK}}: fix the code) |
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: Fix comments: Perl 6 --> Raku) |
||
Line 509:
=={{header|Raku}}==
(formerly Perl 6)
Any Unicode character or combination of characters can be used for symbols in
<lang perl6>sub postfix:<𒋦>($n) { say "$n trilobites" }
Line 554:
3000 IDEOGRAPHIC SPACE</pre>
We enforce the whitespace restriction to prevent insanity in the readers of programs.
That being said, even the whitespace restriction is arbitrary, and can be bypassed by deriving a new grammar and switching to it. We view all other languages as dialects of
=={{header|REXX}}==
|