Skip to main content
9 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Dec 10, 2018 at 15:18 comment added Kevin Cruijssen I know it's been over 5 years, but you can golf 5 bytes by changing the label S to label (empty) (LSSSL becomes LSSL and LTTSL becomes LTTL) and remove the exit at the end (the three LLL). Try it online raw 52 bytes or here with highlighting and explanation.
S Jun 14, 2014 at 21:14 history suggested user344 CC BY-SA 3.0
removed code block which was messed up anyway
Jun 14, 2014 at 20:52 review Suggested edits
S Jun 14, 2014 at 21:14
Aug 26, 2013 at 3:14 history edited DPenner1 CC BY-SA 3.0
Correction + golfing
Aug 25, 2013 at 19:39 comment added r.e.s. Also, the program length can be reduced to 57 using nearly the same program but with the three pushed numbers -94, 127, 126 changed to 32, 1, 126, respectively: SSSTSSSSSL LSSSL SSSTL TSSS SLS SLS TLSS SSSTTTTTTSL TSST LTTSL LLL.
Aug 25, 2013 at 16:24 comment added r.e.s. This doesn't work as-is, but can be fixed by inserting a duplicate-top-of-stack (SLS) immediately before the conditional branch (LTTSL) -- it's needed because the conditional branch command removes the top-of-stack. The resulting 64-character program works as advertised. (If the program is stored in a file with .ws extension, it can be tested online at golf.shinh.org/checker.html)
Aug 24, 2013 at 6:39 review First posts
Aug 24, 2013 at 11:16
Aug 24, 2013 at 6:24 history answered DPenner1 CC BY-SA 3.0