Reverse words in a string: Difference between revisions

Content added Content deleted
m (→‎{{header|Tailspin}}: syntax update)
Line 3,149: Line 3,149:
'Frost Robert -----------------------']
'Frost Robert -----------------------']
;
;

composer words
composer words
[ <word>* ]
[ <word>* ]
word: <~WS> <WS>?
word: <~WS> <WS>?
end words
end words

$input... -> '$($it -> words -> $it(-1..1:-1)...)
$input... -> '$ -> words -> $(-1..1:-1)...;
' -> !OUT::write
' -> !OUT::write
</lang>
</lang>