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

m
→‎{{header|Raku}}: Fix comments: Perl 6 --> Raku
(→‎{{header|AWK}}: fix the code)
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 Perl 6Raku. Here's some counting rods and some cuneiform:
<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 Perl 6Raku, even the insane ones. <tt>:-)</tt>
 
=={{header|REXX}}==
2,392

edits