Skip to main content

Timeline for Draw my downslashes

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Sep 14, 2017 at 21:50 comment added Jonathan S. @QuertyKeyboard That's weird... I actually used gsub exactly like this in the first version of this code, but then switched to gmatch instead because it somehow turned out shorter. I don't know what I did different though, the file is overwritten unfortunately.
Sep 14, 2017 at 21:23 comment added QuertyKeyboard Well, not that it matters. You could've easily saved two bytes by changing gmatch(".") to gmatch"." like you did in your next answer.
Sep 14, 2017 at 21:03 comment added QuertyKeyboard I was able to save two bytes by using gsub instead of using gmatch. c=0(...):gsub(".",function(s)c=c+(p==s and(s=="/"and-1or 1)or 0)p=s print((" "):rep(c)..s)end)
Sep 14, 2017 at 0:05 history answered Jonathan S. CC BY-SA 3.0