Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

¶ /prog/ Challenge Vol. B ¶ Fibonacci Buttsort ¶

Name: Anonymous 2018-01-05 11:35

***************************************************
* - Implement a Fibonacci Butt Sort.† *
* - Don't forget the surrounding b and i tags! *
* - Spaces and newlines must be skipped. *
* - Any frequently-used language may be used. *
* - Output markup is either BBCode or SEXPcode. *
* - Lowest bytesize wins. *
***************************************************


A Fibonacci Buttsort is an operation that can be performed on a string which outputs the string with alternating underline and overline tags, starting with underline. The resulting string is also bold and italicised. Whitespace characters are skipped.

SICP -> SICP
HAX ANUS -> HAX ANUS

Name: Anonymous 2018-01-10 1:57

: FBS
." [b][i]"
0 DO
DUP
I 1+ 2 MOD IF
." [o]"
I + 1 TYPE
." [/o]"
ELSE
." [u]"
I + 1 TYPE
." [/u]"
THEN
LOOP ;

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List